Skip to content

Installing from conda-envs results in upsupported python (3.13) #400

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

Closed
williambdean opened this issue Dec 7, 2024 · 9 comments · Fixed by #403
Closed

Installing from conda-envs results in upsupported python (3.13) #400

williambdean opened this issue Dec 7, 2024 · 9 comments · Fixed by #403

Comments

@williambdean
Copy link
Contributor

Installing from yaml will result in dependency resolution error

conda env create -f conda-envs/environement-test.yml

Notes: I am using micromamba

Pinning will likely cause issues with the CI/CD:

https://github.com/wd60622/pymc-experimental/blob/5055262868473b61f487f42d82542f9d0fc0e273/.github/workflows/test.yml#L35-L42

Maybe some note about dev installation would be useful and sufficient

@williambdean williambdean changed the title Installing from conda-envs results in upsupported python 3.13 Installing from conda-envs results in upsupported python (3.13) Dec 7, 2024
@ricardoV94
Copy link
Member

Pinning will likely cause issues with the CI/CD:

Why?

CC @maresb

@williambdean
Copy link
Contributor Author

Why?

Not sure if the duplicate key for python will be an issue or if the CI/CD lines that I linked will cause an issue if there is already a python key in env file

@ricardoV94
Copy link
Member

Can we just do upper/lower pin in the yml?

@maresb
Copy link
Collaborator

maresb commented Dec 11, 2024

I don't understand the formulation of this issue. Like what is even the expected vs actual behavior? What is the "dependency resolution error"?

@williambdean
Copy link
Contributor Author

williambdean commented Dec 11, 2024

Putting lower and upper bounds in environment.yml will work.

I don't understand the formulation of this issue. Like what is even the expected vs actual behavior? What is the "dependency resolution error"?

I tried to install from yaml but python 3.13 was used didn't work with pymc versions

@maresb
Copy link
Collaborator

maresb commented Dec 11, 2024

I think #403 should fix it since this should never happen on conda-forge

@williambdean
Copy link
Contributor Author

I think #403 should fix it since this should never happen on conda-forge

Alright. I will give it a try after merge

@williambdean
Copy link
Contributor Author

Thanks for making the adjustment.

Can confirm that

gh repo fork pymc-devs/pymc-extras
cd pymc-extras
conda env create -f conda-envs/environment-test.yml

Builds an environment with compatible python version (3.12)

@maresb
Copy link
Collaborator

maresb commented Dec 11, 2024

Excellent, thanks @wd60622 !

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

Successfully merging a pull request may close this issue.

3 participants