[Python-apps-team] Bug#683133: xpra: robustify cython version parsing: otherwise would fail to build against beta releases of cython

Yaroslav Halchenko yoh at onerussian.com
Sun Jul 29 00:22:03 UTC 2012


Package: xpra
Version: 0.3.4+dfsg-1
Severity: normal

Testing the build against beta release of cython in experimental, and it fails with

Traceback (most recent call last):
  File "setup.py", line 225, in <module>
    "xtst", "xfixes", "xcomposite", "xdamage", "xrandr")
  File "setup.py", line 215, in cython_add
    cython_version_check()
  File "setup.py", line 203, in cython_version_check
    cython_version = [int(part) for part in cython_version_string.split(".")]
ValueError: invalid literal for int() with base 10: 'beta1'
dh_auto_clean: python2.6 setup.py clean -a returned exit code 1
make: *** [clean] Error 1


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



More information about the Python-apps-team mailing list