[Python-modules-team] Bug#825900: Bug#825900: python-numpy: version number breaks distutils.version.StrictVersion
Ole Streicher
olebole at debian.org
Tue May 31 09:44:36 UTC 2016
Hi Sandro,
On 31.05.2016 11:28, Sandro Tosi wrote:
> do you have any solution to suggest?
Still not; after numpy upstream pointed me to PEP-440, I forwarded this
to the spectral-cube upstream [1]. We will probably find a solution for
spectral-cube.
[1] https://github.com/radio-astro-tools/spectral-cube/issues/308
> numpy releases RC version as
> 1.11.1rc1 and the correct debian versioning was used for the deb
> package (and the same pattern was used for years in case of RC
> releases), so maybe the right solution is to fix the downstream
> packages and not use StrictVersion (which, btw, what do they use it
> for?)
They try to catch changes in numpy over the years to be compliant to
older numpy versions as well. The source code in question is here:
https://github.com/radio-astro-tools/spectral-cube/blob/master/spectral_cube/np_compat.py
This is still useful to allow backporting to Debian Jessie, so I
wouldn't like to remove it.
More information about the Python-modules-team
mailing list