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

Yaroslav Halchenko debian at onerussian.com
Wed Mar 26 14:32:13 UTC 2014


ok -- will do

meanwhile to share the load:

$> debcheckout python-biom-format                          
declared svn repository at svn://anonscm.debian.org/debian-med/trunk/packages/python-biom-format/trunk/
svn co svn://anonscm.debian.org/debian-med/trunk/packages/python-biom-format/trunk/ python-biom-format ...
svn: E210005: Unable to connect to a repository at URL 'svn://anonscm.debian.org/debian-med/trunk/packages/python-biom-format/trunk'
svn: E210005: No repository found in 'svn://anonscm.debian.org/debian-med/trunk/packages/python-biom-format/trunk'
checkout failed (the command above returned a non-zero exit code)


On Wed, 26 Mar 2014, Andreas Tille wrote:

> 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
-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate,     Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Debian-med-packaging mailing list