Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Ray incompatibility with pydantic #3

Closed
kclambi1 opened this issue Aug 24, 2023 · 3 comments
Closed

Bug: Ray incompatibility with pydantic #3

kclambi1 opened this issue Aug 24, 2023 · 3 comments

Comments

@kclambi1
Copy link

Most up to date version of pydantic has conflict with Ray; pydantic has to be downgraded below version 2. Bug in ray has been documented, but has not been fixed as of yet.

Workaround is to reinstall a lower version of pydantic with: pip3 install "pydantic<2"

@raw-lab
Copy link
Owner

raw-lab commented Aug 25, 2023

When is this an issue? We havent seen this in Mac or Linux.

@kclambi1
Copy link
Author

MacOS Ventura, 13.5.1. Occurs directly following step 5a, removing N's from contig files.

Command ran was: metacerberus.py --prodigal /Users/xxxx/Downloads/ATCC.fna --hmm "VOG, PHROG" --dir_out /Users/xxxx/Downloads/lambda_vir-only_dir

This bug has been documented while initializing Ray: ray-project/ray#37019

Downgrading pydantic to below version 2 corrects this error.

@raw-lab
Copy link
Owner

raw-lab commented Jan 20, 2024

This line during install will fix the Mac Issue for OSX-ARM (M1/M2) Macs.
conda install -y -c conda-forge mamba python=3.10 "pydantic<2"

Close for now. Let us know if it doesn't fix it.

thank you for using MetaCerberus!
Raw lab.

@raw-lab raw-lab closed this as completed Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants