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

fix(setup.py): use ~= to constrain major version #565

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

Artoria2e5
Copy link
Contributor

package ~= x.y.z is the same as (package >= x.y.z, package == x.*). This prevents the wrong numpy version (2.x) from being installed, such as in #467 (which is not yet properly fixed and should NOT have been closed).

See: https://peps.python.org/pep-0440/#compatible-release

package ~= x.y.z is the same as (package >= x.y.z, package == x.*). This prevents the wrong numpy version (2.x) from being installed, such as in Ecogenomics#467 (which is not yet properly fixed and should NOT have been closed).

See: https://peps.python.org/pep-0440/#compatible-release
@Artoria2e5 Artoria2e5 changed the title setup.py: use ~= to constrain major version fix(setup.py): use ~= to constrain major version Dec 10, 2023
@Artoria2e5
Copy link
Contributor Author

Artoria2e5 commented Dec 10, 2023

oh no, commit message formats! oh well, at least I can change the PR title in here.

Well, it's not like we are following the contributing guide anyways. staging is 7 commits behind. I have plenty of excuses, I always do... I should go to bed.

@pchaumeil pchaumeil changed the base branch from master to staging April 1, 2024 23:26
@pchaumeil pchaumeil merged commit 0eb07f1 into Ecogenomics:staging Apr 1, 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

Successfully merging this pull request may close these issues.

2 participants