[Debian-med-packaging] Bug#742691: please make robust against ad-hoc (pre/post released) versions of cython

Andreas Tille andreas at an3as.eu
Wed Mar 26 14:29:00 UTC 2014


Hi Yaroslav,

thanks for your bug report.  While I have a vague idea what you might
mean with your proposed solution I wonder if you might be kind enought /
find the time to prepare a working patch to make me really sure what
you mean.

This would be really helpful

        Andreas.

On Wed, Mar 26, 2014 at 08:43:39AM -0400, Yaroslav Halchenko wrote:
> Package: python-biom-format
> Version: 1.2.0-1
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> With yesterday's upload of snapshot of cython package (was needed to take care
> about compatibility with python3.4) python-biom-format would fail to build:
> 
> dh_auto_clean
> Traceback (most recent call last):
>   File "setup.py", line 34, in <module>
>     cy_version = tuple(map(int, Cython.__version__.split('.')))
> ValueError: invalid literal for int() with base 10: '1post0'
> dh_auto_clean: python setup.py clean -a returned exit code 1
> make[1]: *** [override_dh_auto_clean] Error 1
> make[1]: Leaving directory `/tmp/buildd/python-biom-format-1.2.0'
> make: *** [clean] Error 2
> 
> 
> you could probably simply use standard means such as LooseVersion to compare
> 
> python -c 'from distutils.version import LooseVersion as LV; print LV("0.20.1post0") >= LV("0.20.1")'
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list