-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unable to install aiida-core in python 3.9 conda environment #56
Comments
@astamminger any ideas? |
@ltalirz Please feel free to assign this issue to me for the time being. |
It seems to be suggesting that aiida-core cannot be python 3.9. |
It’s of note that before v1.4 aiida-core indeed has not python3.9 dist: https://anaconda.org/conda-forge/aiida-core/files I believe it is trying to install an older version of aiida-core to meet the aio-pika requirement |
It fails with: $ conda create -n test python=3.9 aiida-core==1.6.4
# [...]
Package python conflicts for:
python=3.9
aiida-core==1.6.4 -> aio-pika~=6.6 -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.6|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3|>=3.5,<3.6.0a0|=2.7|>=3.5|>=2.7']
aiida-core==1.6.4 -> python~=3.7 This is a bit cryptic to me since aio-pika is available for Python 3.9 in version 6.8 which should be compatible with
Maybe, but even when I explicitly request the latest version, it still fails with a weird error (see above). As another data point, I ran a few tests and was able to create an environment based on the diff environment.yml environment.py39.yml
8c8
< - python~=3.7
---
> - python~=3.9
19c19
< - django~=2.2
---
> #- django~=2.2
28,30c28,30
< - plumpy~=0.19.0
< - pgsu~=0.2.0
< - psutil~=5.6
---
> #- plumpy~=0.19.0
> #- pgsu~=0.2.0
> #- psutil~=5.6 |
I'll take care of that conda-forge/pgsu-feedstock#8 |
PR is merged conda-forge/pgsu-feedstock#8 |
@ltalirz Thank you very much. That has improved the situation. The two remaining issues are:
I understand we can fix plumpy ourselves, but django might be an issue, since we are currently constrained to |
For plumpy there's a PR open conda-forge/plumpy-feedstock#47 For django, I think the easiest might be to get them to do a python3.9 release for the 2.2.x line I'm not sure whether there is now an established route for adding a build for previous versions - @chrisjsewell @astamminger do you know? |
For plumpy, I think the issue is the outdated pyyaml 5.1.2 dependency conda-forge/plumpy-feedstock#47 (comment): https://github.com/aiidateam/plumpy/blob/77e38202a1763fcf61fb67664542715c83351bc6/setup.py#L33 Opened aiidateam/plumpy#220 (also has links to previous discussion on this) |
There are separate branches to also support updating of older versions. Maybe re-rendering on that branch would do the trick? |
Thanks @astamminger , that makes sense - I'll give it a go |
django should be taken care of now as well conda-forge/django-feedstock#124 - just plumpy remains |
Can we make a new aiida-core release to resolve this issue? |
@ltalirz With version 1.6.5, aiida-core can now be installed with conda and Python 3.9. The issue is therefore resolved. |
fantastic, thanks to everyone involved! |
From aiidateam/aiida-core#5037 by @csadorf
It is currently not possible to install aiida-core with Python 3.9, see minimal example:
This is odd, because the package is no-arch as of 6.7.1 which would be compatible with our constraint. Installing aio-pika in isolation works flawlessly:
and will install version 6.8.
The text was updated successfully, but these errors were encountered: