Skip to content

Why default save strategy is minimum instead of compatible? #2100

Closed Answered by pawamoy
g0di asked this question in Q&A
Discussion options

You must be logged in to vote

For this reason: https://iscinumpy.dev/post/bound-version-constraints/.

Upper bounds do more harm than good within the Python ecosystem. Only use them when you know the upper version does not work with your project.

Python uses flat dependencies, meaning only one version of each dependency can be installed in a given environment, meaning dependencies resolution is harder, and the more constraints there are within the dependencies, the harder it is to resolve. Constraints contaminate dependents.

In other ecosystems, where dependencies can be installed in a nested manner, this is less problematic.

Replies: 2 comments 7 replies

Comment options

pawamoy
Jul 12, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by g0di
Comment options

You must be logged in to vote
7 replies
@pawamoy
Comment options

pawamoy Jul 12, 2023
Maintainer Sponsor

@g0di
Comment options

@pawamoy
Comment options

pawamoy Jul 12, 2023
Maintainer Sponsor

@g0di
Comment options

@pawamoy
Comment options

pawamoy Jul 12, 2023
Maintainer Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants