[Debian-astro-maintainers] Bug#963431: specutils: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Jun 21 21:11:30 BST 2020


Source: specutils
Version: 1.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

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:217: python3.8 setup.py config 
> Downloading 'astropy-helpers'; run setup.py with the --offline option to force offline installation.
> Freezing version number to ./specutils/version.py
> running config
> /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/astropy_helpers/git_helpers.py:114: UserWarning: Error running git: [Errno 2] No such file or directory: 'git'
>   warnings.warn('Error running git: ' + str(e))
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build --use-system-astropy-helpers
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils
> copying specutils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils
> copying specutils/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils
> copying specutils/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils
> copying specutils/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/width.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/template_comparison.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/uncertainty.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/flux.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/location.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> copying specutils/analysis/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/analysis
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/utils
> copying specutils/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/utils
> copying specutils/utils/quantity_model.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/utils
> copying specutils/utils/wcs_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/spectral_cube_test_spectral_axis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_loaders.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_analysis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_manipulation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_region_extract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_slicing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_regions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_continuum.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_spectrum_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_spectrum1d.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_spectral_coord.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/spectral_examples.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_fitting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_smoothing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_arithmetic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_resample.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_unc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> copying specutils/tests/test_template_comparison.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/spectrum_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/spectrum_list.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/spectral_region.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/spectrum1d.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/spectral_coordinate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> copying specutils/spectra/spectrum_mixin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/spectra
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/extract_spectral_region.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/smoothing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/estimate_uncertainty.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/manipulation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/resample.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> copying specutils/manipulation/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/manipulation
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io
> copying specutils/io/parsing_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io
> copying specutils/io/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io
> copying specutils/io/registers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/fitting
> copying specutils/fitting/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/fitting
> copying specutils/fitting/fitmodels.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/fitting
> copying specutils/fitting/continuum.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/fitting
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/hst_stis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/wcs_fits.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/muscles_sed.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/ascii.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/apogee.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/tabular_fits.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/generic_ecsv_reader.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/generic_cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/jwst_reader.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/sdss.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/hst_cos.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> copying specutils/io/default_loaders/subaru_pfs_spec.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf
> copying specutils/io/asdf/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf
> copying specutils/io/asdf/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf
> copying specutils/io/asdf/extension.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders/tests
> copying specutils/io/default_loaders/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders/tests
> copying specutils/io/default_loaders/tests/test_jwst_reader.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders/tests
> copying specutils/io/default_loaders/tests/test_apogee.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/default_loaders/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf/tags
> copying specutils/io/asdf/tags/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf/tags
> copying specutils/io/asdf/tags/spectra.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf/tags
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf/tags/tests
> copying specutils/io/asdf/tags/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf/tags/tests
> copying specutils/io/asdf/tags/tests/test_spectra.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/io/asdf/tags/tests
> copying specutils/tests/coveragerc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/specutils/tests
> /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" '
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest --remote-data=none --doctest-rst
> ============================= test session starts ==============================
> platform linux -- Python 3.8.3, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
> plugins: openfiles-0.5.0, astropy-header-0.1.2, arraydiff-0.3, hypothesis-5.16.0, asdf-2.6.0, remotedata-0.3.2, doctestplus-0.7.0
> collected 284 items / 1 errors / 283 selected
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.8/build/specutils/tests/spectral_cube_test_spectral_axis.py _
> specutils/tests/spectral_cube_test_spectral_axis.py:10: in <module>
>     from .helpers import assert_allclose
> E   ModuleNotFoundError: No module named 'specutils.tests.helpers'
> =============================== warnings summary ===============================
> /usr/lib/python3/dist-packages/astropy/tests/plugins/display.py:16
>   /usr/lib/python3/dist-packages/astropy/tests/plugins/display.py:16: AstropyDeprecationWarning: The astropy.tests.plugins.display plugin has been deprecated. See the pytest-astropy-header documentation for information on migrating to using pytest-astropy-header to customize the pytest header.
>     warnings.warn('The astropy.tests.plugins.display plugin has been deprecated. '
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
> ===================== 1 warnings, 1 error in 1.52 seconds ======================
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest --remote-data=none --doctest-rst
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/specutils_1.0-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-astro-maintainers mailing list