[Debian-astro-maintainers] Bug#896481: aplpy: FTBFS and Debci failure with python3-astropy 3.0

Adrian Bunk bunk at debian.org
Sat Apr 21 14:50:45 BST 2018


Source: aplpy
Version: 1.1.1-1
Severity: serious
Tags: buster sid

https://ci.debian.net/packages/a/aplpy/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/aplpy.html

...
running install_scripts
/usr/lib/python3/dist-packages/astropy/config/configuration.py:536: ConfigurationMissingWarning: Configuration defaults will be used due to FileNotFoundError:2 on None
  warn(ConfigurationMissingWarning(msg))
/usr/lib/python3/dist-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
WARNING: AstropyDeprecationWarning: The module `astropy.tests.pytest_plugins has been deprecated. The variables `PYTEST_HEADER_MODULES` and `TESTED_VERSIONS`should now be imported from `astropy.tests.plugins.display`. The function `enable_deprecations_as_exceptions` should be imported from `astropy.tests.helper` [astropy.tests.pytest_plugins]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/config.py", line 328, in _getconftestmodules
    return self._path2confmods[path]
KeyError: local('/tmp/aplpy-test-hf5tsseg/lib/python3.6/site-packages/aplpy')

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/config.py", line 359, in _importconftest
    return self._conftestpath2mod[conftestpath]
KeyError: local('/tmp/aplpy-test-hf5tsseg/lib/python3.6/site-packages/aplpy/conftest.py')

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/config.py", line 365, in _importconftest
    mod = conftestpath.pyimport()
  File "/usr/lib/python3/dist-packages/py/_path/local.py", line 668, in pyimport
    __import__(modname)
  File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line 213, in load_module
    py.builtin.exec_(co, mod.__dict__)
  File "/tmp/aplpy-test-hf5tsseg/lib/python3.6/site-packages/aplpy/conftest.py", line 6, in <module>
    from astropy.tests.pytest_plugins import pytest_addoption as astropy_pytest_addoption
ImportError: cannot import name 'pytest_addoption'
ERROR: could not load /tmp/aplpy-test-hf5tsseg/lib/python3.6/site-packages/aplpy/conftest.py

/usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:90: AstropyDeprecationWarning: Direct use of the adjust_compiler function in setup.py is deprecated and can be removed from your setup.py.  This functionality is now incorporated directly into the build_ext command.
  'command.', AstropyDeprecationWarning)
make[1]: *** [debian/rules:14: test-python3.6] Error 4



More information about the Debian-astro-maintainers mailing list