On 11/20/2015 11:56 AM, Antonio Trande wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi all, > > latest 'numpy' release (1.10.2-0.1rc1) seems prevent the building of a > new python package in rawhide > (https://bugzilla.redhat.com/show_bug.cgi?id=1215354): > >> [1/1] Cythonizing assimulo/lib/sundials_kinsol_core.pyx Traceback >> (most recent call last): File "setup.py", line 509, in <module> >> ext_list += prepare.fortran_extensionlists() File "setup.py", line >> 427, in fortran_extensionlists if StrictVersion(np.version.version) >>> StrictVersion("1.6.1"): 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.10.2rc1' error: Bad exit >> status from /var/tmp/rpm-tmp.s0lRAq (%build) Bad exit status from >> /var/tmp/rpm-tmp.s0lRAq (%build) >> >> I don't know yet from where '1.10.2rc1' comes. I'm trying to >> contact upstream maintainer. >> > > https://kojipkgs.fedoraproject.org//work/tasks/8811/11838811/build.log > > Maybe this type of caption (0.1rc1) is not swallowed by the code. > 'assimulo' is rebuilt successfully in a mock rawhide-tree by > downgrading 'numpy' to the 1.10.1-6 release. > > Any suggestion? (upstream has already been contacted, uselessly) My comments in the bug: assimulo is using StrictVersion(np.version.version). StrictVersion does not allow for "rc" suffixes - see http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html But I think this in entirely assimulo's problem for using StrictVersion - obviously numpy isn't following those rules. Maybe they should or might like to, but I don't know. I've asked: https://mail.scipy.org/pipermail/numpy-discussion/2015-November/074233.html -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@xxxxxxxx Boulder, CO 80301 http://www.nwra.com -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct