On vie, 2024-04-12 at 14:44 +0000, Atri Bhattacharya wrote:
Hi, With numpy 2.0 ostensibly releasing soon [1] and breaking backward compatibility with numpy 1.2X [2], I wonder what the plan for numpy packages will be for openSUSE. Will we maintain two different series of numpy as, for instance, `python-numpy` and `python-numpy2`? This will perhaps be the least breaking path to take for packages dependent on `numpy` — which will probably take a while to catch up — but I understand if the additional maintenance efforts this will require compel otherwise.
Also, as someone who maintains a few packages in d:l:p:numeric, I would be happy to help out if needed (maintaining the 1.x branch or any other way).
Thanks for the great work you folks do maintaining the seemingly infinite number of python modules as RPM packages.
Cheers,
[1] https://github.com/numpy/numpy/releases/tag/v2.0.0rc1 [2] https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-abi-handling
-- Atri
I would go for keeping python-numpy as the latest version (in this case, 2.0) and create a new package called python-numpy_1. Any package that depends on old numpy can just add the version limit to the spec file like: Requires: python-numpy < 2 And we can keep the old package around for some time, for packages that depends on it or even if there are people using version 1 directly, until upstream drop maintenance support completely. We're doing this for python-urllib3 with python-urllib3_1 [1], so it's a similar pattern. [1] https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1 -- Daniel García Moreno Python Packager