Skip to content

Version number of 1.11RC1 breaks distutils.version.StrictVersion #7697

@olebole

Description

@olebole

The latest RC1 package uses a version number (1.11.1rc1) that causes an exception in distutils.version.StrictVersion:

>>> from distutils.version import StrictVersion
>>> import numpy
>>> StrictVersion(numpy.__version__)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '1.11.1rc1'

This cause failures on packages (like spectral-cube) that use StrictVersion in their build/run time tests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions