Post #2286931
2026-05-04 18:06 UTC
@djc@hachyderm.io yeah, if one of your dependencies (transitive or not) places an upper bound. in practice this ends up not being a huge problem though, since Python packaging as a whole tends to be very good about compatibility.
(this does cause issues though! Pydantic v1 -> v2 was a pretty painful upgrade for a lot of people because every leaf's constraint of Pydantic also needed to be explicitly broadened)
Replies (1)
-
@djc@hachyderm.io 2026-05-04 18:38
@yossarian@infosec.exchange I think this would be very challenging in the Rust ecosystem, where type safety means that evolving your API in a semver-compatible way is harder.