Hacker News new | ask | show | jobs
by hexane360 945 days ago
It's worth noting that numpy and scipy have a consistent policy now, although it's not semver. Deprecations will always happen at least 2 minor versions before removal:

https://numpy.org/neps/nep-0023-backwards-compatibility.html

https://numpy.org/doc/stable/dev/depending_on_numpy.html#run...

So, when using numpy in a package, and you've tested e.g. versions 1.12 to 1.22, you should require 'numpy>=1.12,<1.25', because something deprecated in version 1.23 could be removed in 1.25.