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

Add python_requires and relax numpy requirements #109

Closed
wants to merge 1 commit into from

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Apr 1, 2021

Add the python_requires key to the setup.json which will inform
pip what minimum version of Python is supported. The upper requirement
of numpy is removed, since pip should automatically prevent
installing a version of numpy that requires a higher version of Python
than is installed.

Finally, the requirement for aiida-core is simplified by using the
compatibility operator aiida-core~=1.3 which means exactly the same as
aiida-core>=1.3,<2.0 but is more succinct and readable.

Add the `python_requires` key to the `setup.json` which will inform
`pip` what minimum version of Python is supported. The upper requirement
of `numpy` is removed, since `pip` should automatically prevent
installing a version of `numpy` that requires a higher version of Python
than is installed.

Finally, the requirement for `aiida-core` is simplified by using the
compatibility operator `aiida-core~=1.3` which means exactly the same as
`aiida-core>=1.3,<2.0` but is more succinct and readable.
@sphuber
Copy link
Contributor Author

sphuber commented Apr 1, 2021

@broeder-j and @Tseplyaev I think these changes should fix the issue that we have in installing aiida-fleur with aiida-common-workflows in the Quantum Mobile. Do you think it would be ok to merge these changes and make a release? Or did I misunderstand your reasoning for putting an upper limit on numpy? I see that Vasily set the upper limit in this commit d3a64d0 but the message didn't specify why.

@sphuber
Copy link
Contributor Author

sphuber commented Apr 1, 2021

Superseded by #110

@sphuber sphuber closed this Apr 1, 2021
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 this pull request may close these issues.

1 participant