[Pkg-ime-devel] Bug#742690: please make robust against ad-hoc (pre/post released) versions of cython

Yaroslav Halchenko debian at onerussian.com
Wed Mar 26 12:45:37 UTC 2014


On Wed, 26 Mar 2014, Yaroslav Halchenko wrote:

> Package: python3-pycangjie
> Version: 1.1-1
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)

> ATM (after yesterday's fresh upload of cython) it woulf FTBFS due to

> checking for cython3... /usr/bin/cython3
> checking for cython version... 0.20.1post0
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python3.3/distutils/version.py", line 40, in __init__
>     self.parse(vstring)
>   File "/usr/lib/python3.3/distutils/version.py", line 143, in parse
>     raise ValueError("invalid version number '%s'" % vstring)
> ValueError: invalid version number '0.20.1post0'
> configure: error: Please use cython >= 0.14
>         "tail -v -n +0 config.log"


> upload of fresh cython snapshot was critical to get compatibility with
> python3.4

could probably be achieved through using LooseVersion if
StrictVersion check pukes

-- 
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 Pkg-ime-devel mailing list