Re:Uv's killer feature is pulling in local dependencies
by o11c on Sunday January 12, 2025 @04:41PM
(#42677225)
Much of the Python ecosystem blatantly violates semantic versioning. Most new tooling is designed to work around the bugs introduced by this.
[ Parent
| on HN ]
Re:Uv's killer feature is pulling in local dependencies
by sgarland on Sunday January 12, 2025 @05:08PM
(#42677451)
To be fair, Python itself doesn’t follow SemVer.
Not in a “they break things they shouldn’t,” but in a “they never claim to be using SemVer.”
Re:Uv's killer feature is pulling in local dependencies
by zahlman on Monday January 13, 2025 @01:26AM
(#42680633)
Relevant: https://iscinumpy.dev/post/bound-version-constraints/
Semver is hard; you never know what will break at least one of your users (see Hyrum's law), but on the other hand, clear backwards-compatibility breaks will often not affect a large fraction of users - if they preemptively declare that they won't support your next version, they may prevent Pip from finding a set of versions that would actually work just fine.