-
Hello, The title is pretty self explanatory. Node.js Yarn/Npm use a compatible save strategy for example. I was wondering about the reasons for using Thanks ;) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick answer and the super interesting read. I did not have time to go through now but I'll definitively go over it. This is pretty clear to me now why we should avoid using the However, in the case of an application (so not a Python library that will be distributed), could it make sense to switch for |
Beta Was this translation helpful? Give feedback.
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.