[Python-modules-team] Bug#825900: Bug#825900: Bug#825900: python-numpy: version number breaks distutils.version.StrictVersion

Sandro Tosi morph at debian.org
Tue May 31 09:53:38 UTC 2016


control: reassign 825900 spectral-cube

On Tue, May 31, 2016 at 10:50 AM, Ole Streicher <olebole at debian.org> wrote:
> On 31.05.2016 11:41, Sandro Tosi wrote:
>>> 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.
>>
>> then use LooseVersion instead of StrictVersion?
>
> In that specific case LooseVersion would work; however LooseVersion is
> wrong for prereleases:
>
>>>> from distutils.version import LooseVersion
>>>> LooseVersion("1.11rc1") < LooseVersion("1.11")
> False
>
> I am going to discuss that with upstream.

seems the right course of action, reassigning this bug to
spectral-cube as there's nothing broken in numpy

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



More information about the Python-modules-team mailing list