Source: aplpy Version: 2.0.3-2 Severity: important Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-matplotlib35
Hi, During a rebuild of all packages in sid, your package failed to build on amd64, using matplotlib 3.5 currently in experimental. This version will soon be uploaded to unstable. If you have questions about this, please contact Sandro Tosi <mo...@debian.org>. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > py3versions: no X-Python3-Version in control file, using supported versions > xvfb-run --server-args="-screen 0 1024x768x24" python3.9 setup.py test -vv > --args -v > Matplotlib created a temporary config/cache directory at > /tmp/matplotlib-08xrsd5v because the default path > (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is > highly recommended to set the MPLCONFIGDIR environment variable to a writable > directory, in particular to speed up the import of Matplotlib and to better > support multiprocessing. > /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:161: > AstropyDeprecationWarning: The package argument to generate_version_py has > been deprecated and will be removed in future. Specify the package name in > setup.cfg instead > warnings.warn('The package argument to generate_version_py has ' > /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:166: > AstropyDeprecationWarning: The version argument to generate_version_py has > been deprecated and will be removed in future. Specify the version number in > setup.cfg instead > warnings.warn('The version argument to generate_version_py has ' > /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:171: > AstropyDeprecationWarning: The release argument to generate_version_py has > been deprecated and will be removed in future. We now use the presence of the > "dev" string in the version to determine whether this is a release > warnings.warn('The release argument to generate_version_py has ' > /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:186: > AstropyDeprecationWarning: Specifying the package name using the > "package_name" option in setup.cfg is deprecated - use the "name" option > instead. > warnings.warn('Specifying the package name using the "package_name" ' > /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:239: > AstropyDeprecationWarning: The packagename argument to generate_version_py > has been deprecated and will be removed in future. Specify the package name > in setup.cfg instead > warnings.warn('The packagename argument to generate_version_py has ' > /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:244: > AstropyDeprecationWarning: The version argument to generate_version_py has > been deprecated and will be removed in future. Specify the version number in > setup.cfg instead > warnings.warn('The version argument to generate_version_py has ' > /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:249: > AstropyDeprecationWarning: The release argument to generate_version_py has > been deprecated and will be removed in future. We now use the presence of the > "dev" string in the version to determine whether this is a release > warnings.warn('The release argument to generate_version_py has ' > /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:264: > AstropyDeprecationWarning: Specifying the package name using the > "package_name" option in setup.cfg is deprecated - use the "name" option > instead. > warnings.warn('Specifying the package name using the "package_name" ' > /usr/lib/python3/dist-packages/setuptools/dist.py:294: > DistDeprecationWarning: use_2to3 is ignored. > warnings.warn(f"{attr} is ignored.", DistDeprecationWarning) > running test > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "/tmp/aplpy-test-2x7pqawd/lib/python3.9/site-packages/aplpy/__init__.py", > line 14, in <module> > from .core import FITSFigure # noqa > File "/tmp/aplpy-test-2x7pqawd/lib/python3.9/site-packages/aplpy/core.py", > line 10, in <module> > import matplotlib.pyplot as plt > File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 2226, in > <module> > switch_backend(rcParams["backend"]) > File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 267, in > switch_backend > class backend_mod(matplotlib.backend_bases._Backend): > File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 268, in > backend_mod > locals().update(vars(importlib.import_module(backend_name))) > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", > line 1, in <module> > from . import _backend_tk > File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", > line 14, in <module> > from PIL import Image, ImageTk > ImportError: cannot import name 'ImageTk' from 'PIL' > (/usr/lib/python3/dist-packages/PIL/__init__.py) > INFO: installing to temporary directory: /tmp/aplpy-test-2x7pqawd > [astropy.tests.command] > make[1]: *** [debian/rules:12: test-python3.9] Error 1 The full build log is available from: http://qa-logs.debian.net/http://qa-logs.debian.net/2021/11/numpy-matplotlib/matplotlib-exp/aplpy_2.0.3-2_unstable_matplotlib-exp.log If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.