version comparisons need to be made more robust (may be just use LooseVersion) #264

Closed
yarikoptic opened this Issue May 14, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

yarikoptic commented May 14, 2012

debian sid currently carries numpy 1.6.2rc1 and distutils' StrictVersion does not support anything besides suffixes a b (c?), so such version string is illegal and comparison fails thus forbidding installation

  File "setup.py", line 195, in <module>
    check_dependency_versions(min_versions)
  File "setup.py", line 49, in check_dependency_versions
    assert StrictVersion(npversion) >= min_versions['numpy']
  File "/usr/lib/python2.6/distutils/version.py", line 40, in __init__
    self.parse(vstring)
  File "/usr/lib/python2.6/distutils/version.py", line 107, in parse
    raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '1.6.2rc1'
dh_auto_clean: python2.6 setup.py clean -a returned exit code 1
Owner

josef-pkt commented May 14, 2012

does this fix it
45ee896

Owner

josef-pkt commented Jun 25, 2013

I assume this is fixed, I didn't have problems with the last rc of scipy

closing

josef-pkt closed this Jun 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment