[Debian-astro-maintainers] Bug#1058360: specreduce: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Tue Dec 12 08:25:06 GMT 2023
Source: specreduce
Version: 1.3.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for specreduce [unknown version] (/<<PKGBUILDDIR>>)
> pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
> I: pybuild base:310: python3.11 setup.py config
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for specreduce [unknown version] (/<<PKGBUILDDIR>>)
> pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for specreduce [unknown version] (/<<PKGBUILDDIR>>)
> pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/table_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/tracing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/calibration_data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/fluxcal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/background.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> copying specreduce/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_extinction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_synth_data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_background.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_image_parsing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_specphot_stds.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_tracing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> copying specreduce/tests/test_get_reference_file_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/utils
> copying specreduce/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/utils
> copying specreduce/utils/synth_data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/specreduce/utils
> I: pybuild base:310: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for specreduce [unknown version] (/<<PKGBUILDDIR>>)
> pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
> !!
> parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/table_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/tracing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/calibration_data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/fluxcal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/background.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> copying specreduce/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_extinction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_synth_data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_background.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_image_parsing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_specphot_stds.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_tracing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> copying specreduce/tests/test_get_reference_file_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/utils
> copying specreduce/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/utils
> copying specreduce/utils/synth_data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/specreduce/utils
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest
> ============================= test session starts ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> Running tests in .pybuild/cpython3_3.12/build.
>
> Date: 2023-12-11T19:24:24
>
> Platform: Linux-6.1.0-13-cloud-amd64-x86_64-with-glibc2.37
>
> Executable: /usr/bin/python3.12
>
> Full Python Version:
> 3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]
>
> encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
> byteorder: little
> float info: dig: 15, mant_dig: 15
>
> Package versions:
> Numpy: 1.24.2
> Scipy: 1.10.1
> Matplotlib: 3.6.3
> h5py: not available
> Pandas: not available
>
> Using Astropy options: remote_data: none.
>
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0, asdf-3.0.1, filter-subpackage-0.1.2, remotedata-0.4.1, astropy-header-0.2.2, hypothesis-6.91.0, astropy-0.11.0, doctestplus-1.0.0, arraydiff-0.6.1, mock-3.12.0
> collected 0 items / 1 error
>
> ==================================== ERRORS ====================================
> ________________________ ERROR collecting test session _________________________
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:641: in _importconftest
> mod = import_path(conftestpath, mode=importmode, root=rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
> importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
> ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
> ???
> <frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
> ???
> <frozen importlib._bootstrap>:488: in _call_with_frames_removed
> ???
> <frozen importlib._bootstrap>:1387: in _gcd_import
> ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
> ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
> ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
> ???
> <frozen importlib._bootstrap_external>:994: in exec_module
> ???
> <frozen importlib._bootstrap>:488: in _call_with_frames_removed
> ???
> specreduce/__init__.py:9: in <module>
> from specreduce.core import * # noqa
> specreduce/core.py:9: in <module>
> from specutils import Spectrum1D
> /usr/lib/python3/dist-packages/specutils/__init__.py:23: in <module>
> from .spectra import * # noqa
> /usr/lib/python3/dist-packages/specutils/spectra/__init__.py:5: in <module>
> from .spectrum1d import * # noqa
> /usr/lib/python3/dist-packages/specutils/spectra/spectrum1d.py:15: in <module>
> from ndcube import NDCube
> /usr/lib/python3/dist-packages/ndcube/__init__.py:30: in <module>
> from .ndcube import NDCube
> /usr/lib/python3/dist-packages/ndcube/ndcube.py:712: in <module>
> class NDCube(NDCubeBase):
> <frozen abc>:106: in __new__
> ???
> /usr/lib/python3/dist-packages/ndcube/visualization/descriptor.py:23: in __set_name__
> plotter = self._resolve_default_type(raise_error=False)
> /usr/lib/python3/dist-packages/ndcube/visualization/descriptor.py:34: in _resolve_default_type
> from ndcube.visualization.mpl_plotter import MatplotlibPlotter
> /usr/lib/python3/dist-packages/ndcube/visualization/mpl_plotter.py:4: in <module>
> import matplotlib.pyplot as plt
> /usr/lib/python3/dist-packages/matplotlib/pyplot.py:60: in <module>
> from matplotlib.figure import Figure, FigureBase, figaspect
> /usr/lib/python3/dist-packages/matplotlib/figure.py:26: in <module>
> from matplotlib import _blocking_input, backend_bases, _docstring, projections
> /usr/lib/python3/dist-packages/matplotlib/projections/__init__.py:55: in <module>
> from .. import axes, _docstring
> /usr/lib/python3/dist-packages/matplotlib/axes/__init__.py:1: in <module>
> from ._subplots import *
> /usr/lib/python3/dist-packages/matplotlib/axes/_subplots.py:3: in <module>
> from matplotlib.axes._axes import Axes
> /usr/lib/python3/dist-packages/matplotlib/axes/_axes.py:11: in <module>
> import matplotlib.category # Register category unit converter as side-effect.
> /usr/lib/python3/dist-packages/matplotlib/category.py:14: in <module>
> import dateutil.parser
> /usr/lib/python3/dist-packages/dateutil/parser/__init__.py:2: in <module>
> from ._parser import parse, parser, parserinfo, ParserError
> /usr/lib/python3/dist-packages/dateutil/parser/_parser.py:50: in <module>
> from .. import tz
> /usr/lib/python3/dist-packages/dateutil/tz/__init__.py:2: in <module>
> from .tz import *
> /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: in <module>
> EPOCH = datetime.datetime.utcfromtimestamp(0)
> E DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
> E Error calling __set_name__ on 'PlotterDescriptor' instance 'plotter' in 'NDCube'
> =========================== short test summary info ============================
> ERROR ../../.. - DeprecationWarning: datetime.datetime.utcfromtimestamp() is ...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 1.28s ===============================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> Running tests in .pybuild/cpython3_3.11/build.
>
> Date: 2023-12-11T19:24:26
>
> Platform: Linux-6.1.0-13-cloud-amd64-x86_64-with-glibc2.37
>
> Executable: /usr/bin/python3.11
>
> Full Python Version:
> 3.11.7 (main, Dec 8 2023, 14:22:46) [GCC 13.2.0]
>
> encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
> byteorder: little
> float info: dig: 15, mant_dig: 15
>
> Package versions:
> Numpy: 1.24.2
> Scipy: 1.10.1
> Matplotlib: 3.6.3
> h5py: not available
> Pandas: not available
>
> Using Astropy options: remote_data: none.
>
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0, asdf-3.0.1, filter-subpackage-0.1.2, remotedata-0.4.1, astropy-header-0.2.2, hypothesis-6.91.0, astropy-0.11.0, doctestplus-1.0.0, arraydiff-0.6.1, mock-3.12.0
> collected 27 items
>
> specreduce/calibration_data.py . [ 3%]
> specreduce/fluxcal.py s [ 7%]
> specreduce/tests/test_background.py .. [ 14%]
> specreduce/tests/test_extinction.py ...... [ 37%]
> specreduce/tests/test_extract.py ...... [ 59%]
> specreduce/tests/test_get_reference_file_path.py . [ 62%]
> specreduce/tests/test_image_parsing.py ss [ 70%]
> specreduce/tests/test_specphot_stds.py sss [ 81%]
> specreduce/tests/test_synth_data.py . [ 85%]
> specreduce/tests/test_tracing.py .... [100%]
>
> ======================== 21 passed, 6 skipped in 3.74s =========================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/specreduce_1.3.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark 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.
More information about the Debian-astro-maintainers
mailing list