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

Loosen strict dependency versions #502

Closed
TLCFEM opened this issue Dec 16, 2024 · 0 comments · Fixed by #503
Closed

Loosen strict dependency versions #502

TLCFEM opened this issue Dec 16, 2024 · 0 comments · Fixed by #503
Labels
enhancement New feature or request

Comments

@TLCFEM
Copy link
Contributor

TLCFEM commented Dec 16, 2024

Due to the strict prescribed dependency versions, downstream projects may not be able to bump up dependency versions.
See, for example, a failed build: https://app.readthedocs.org/projects/suanpan-manual/builds/26602362/

It is typically considered a good practice to set lower bound only, not upper bound, especially in libraries.
See, for example, this article: https://iscinumpy.dev/post/bound-version-constraints/

It is thus preferable to replace ~= with >=, or even remove version tags, given that there is no compatibility issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant