Bug#734293: python-astropy fails to build with python3.4 (and then fails some tests)

Matthias Klose doko at debian.org
Sun Jan 5 17:30:28 UTC 2014


Package: python-astropy
Version: 0.3-4
Severity: important
Tags: sid, jessie
User: debian-python at lists.debian.org
Usertag: python3.4

uses logging internals, patch at
http://launchpadlibrarian.net/161653497/python-astropy_0.3-4build1_0.3-4ubuntu1.diff.gz

python3.4 setup.py test -vv --args -v
running test
running build
running build_py
running build_ext
regenerating default astropy.cfg file
copying astropy/astropy.cfg -> build/lib.linux-x86_64-3.4/astropy
running build_scripts
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/astropy-test-uwidgr5w/lib.linux-x86_64-3.4/astropy/__init__.py",
line 233, in <module>
    log = _init_log()
  File "/tmp/astropy-test-uwidgr5w/lib.linux-x86_64-3.4/astropy/logger.py", line
88, in _init_log
    log._set_defaults()
  File "/tmp/astropy-test-uwidgr5w/lib.linux-x86_64-3.4/astropy/logger.py", line
497, in _set_defaults
    self.setLevel(LOG_LEVEL())
  File "/tmp/astropy-test-uwidgr5w/lib.linux-x86_64-3.4/astropy/logger.py", line
479, in setLevel
    self.level = _checkLevel(level)
  File "/tmp/astropy-test-uwidgr5w/lib.linux-x86_64-3.4/astropy/logger.py", line
554, in _checkLevel
    if level not in logging._levelNames:
AttributeError: 'module' object has no attribute '_levelNames'
make[1]: *** [test-python3.4] Error 1


however, then some of the tests fail:
https://launchpadlibrarian.net/161654270/buildlog_ubuntu-trusty-amd64.python-astropy_0.3-4ubuntu1_FAILEDTOBUILD.txt.gz

= 4 failed, 4691 passed, 237 skipped, 11 xfailed, 14 xpassed in 181.55 seconds =



More information about the debian-science-maintainers mailing list