[Debian-astro-maintainers] Bug#1028789: ccdproc: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:33:11 GMT 2023


Source: ccdproc
Version: 2.4.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --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:240: python3.10 setup.py config 
> running config
> I: pybuild base:240: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/image_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/log_meta.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/ccddata.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> copying ccdproc/combiner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/extern
> copying ccdproc/extern/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/extern
> copying ccdproc/extern/bitfield.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/extern
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils
> copying ccdproc/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils
> copying ccdproc/utils/sample_directory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils
> copying ccdproc/utils/slices.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_ccdproc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_ccdmask.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_cosmicray.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_rebin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/run_for_memory_profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_bitfield.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_memory_use.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_ccdproc_logging.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/run_with_file_number_limit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_gain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_combiner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/pytest_fixtures.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_image_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_wrapped_external_funcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_combine_open_files.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_keyword.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/make_mef.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils/tests
> copying ccdproc/utils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils/tests
> copying ccdproc/utils/tests/test_slices.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/utils/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/sip-wcs.fit -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/flat-mef.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/a8280271.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/science-mef.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/expected_ifc_file_properties.csv -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/README.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/data
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/image_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/log_meta.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/ccddata.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> copying ccdproc/combiner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/extern
> copying ccdproc/extern/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/extern
> copying ccdproc/extern/bitfield.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/extern
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils
> copying ccdproc/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils
> copying ccdproc/utils/sample_directory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils
> copying ccdproc/utils/slices.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_ccdproc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_ccdmask.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_cosmicray.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_rebin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/run_for_memory_profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_bitfield.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_memory_use.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_ccdproc_logging.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/run_with_file_number_limit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_gain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_combiner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/pytest_fixtures.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_image_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_wrapped_external_funcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_combine_open_files.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/test_keyword.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> copying ccdproc/tests/make_mef.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils/tests
> copying ccdproc/utils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils/tests
> copying ccdproc/utils/tests/test_slices.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/utils/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/sip-wcs.fit -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/flat-mef.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/a8280271.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/science-mef.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/expected_ifc_file_properties.csv -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
> copying ccdproc/tests/data/README.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/data
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build; python3.10 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: astropy-header-0.2.2, doctestplus-0.12.1, mock-3.8.2, hypothesis-6.61.0, cov-4.0.0, arraydiff-0.5.0, astropy-0.10.0, filter-subpackage-0.1.2, remotedata-0.4.0, openfiles-0.5.0
> collected 265 items / 2 errors
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/test_ccdproc.py _
> ccdproc/tests/test_ccdproc.py:16: in <module>
>     import skimage
> /usr/lib/python3/dist-packages/skimage/__init__.py:157: in <module>
>     from .util.dtype import (img_as_float32,
> /usr/lib/python3/dist-packages/skimage/util/__init__.py:4: in <module>
>     from .dtype import (img_as_float32, img_as_float64, img_as_float,
> /usr/lib/python3/dist-packages/skimage/util/dtype.py:27: in <module>
>     np.bool8: (False, True),
> /usr/lib/python3/dist-packages/numpy/__init__.py:260: in __getattr__
>     warnings.warn(msg, DeprecationWarning, stacklevel=2)
> E   DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
> _ ERROR collecting .pybuild/cpython3_3.10_ccdproc/build/ccdproc/tests/test_ccdproc.py _
> ccdproc/tests/test_ccdproc.py:16: in <module>
>     import skimage
> /usr/lib/python3/dist-packages/skimage/__init__.py:157: in <module>
>     from .util.dtype import (img_as_float32,
> /usr/lib/python3/dist-packages/skimage/util/__init__.py:4: in <module>
>     from .dtype import (img_as_float32, img_as_float64, img_as_float,
> /usr/lib/python3/dist-packages/skimage/util/dtype.py:27: in <module>
>     np.bool8: (False, True),
> /usr/lib/python3/dist-packages/numpy/__init__.py:260: in __getattr__
>     warnings.warn(msg, DeprecationWarning, stacklevel=2)
> E   DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
> =========================== short test summary info ============================
> ERROR ccdproc/tests/test_ccdproc.py - DeprecationWarning: `np.bool8` is a dep...
> ERROR ccdproc/tests/test_ccdproc.py - DeprecationWarning: `np.bool8` is a dep...
> !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
> ============================== 2 errors in 1.07s ===============================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ccdproc/build; python3.10 -m pytest 
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build; python3.11 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: astropy-header-0.2.2, doctestplus-0.12.1, mock-3.8.2, hypothesis-6.61.0, cov-4.0.0, arraydiff-0.5.0, astropy-0.10.0, filter-subpackage-0.1.2, remotedata-0.4.0, openfiles-0.5.0
> collected 265 items / 2 errors
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/test_ccdproc.py _
> ccdproc/tests/test_ccdproc.py:16: in <module>
>     import skimage
> /usr/lib/python3/dist-packages/skimage/__init__.py:157: in <module>
>     from .util.dtype import (img_as_float32,
> /usr/lib/python3/dist-packages/skimage/util/__init__.py:4: in <module>
>     from .dtype import (img_as_float32, img_as_float64, img_as_float,
> /usr/lib/python3/dist-packages/skimage/util/dtype.py:27: in <module>
>     np.bool8: (False, True),
> /usr/lib/python3/dist-packages/numpy/__init__.py:260: in __getattr__
>     warnings.warn(msg, DeprecationWarning, stacklevel=2)
> E   DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
> _ ERROR collecting .pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/test_ccdproc.py _
> ccdproc/tests/test_ccdproc.py:16: in <module>
>     import skimage
> /usr/lib/python3/dist-packages/skimage/__init__.py:157: in <module>
>     from .util.dtype import (img_as_float32,
> /usr/lib/python3/dist-packages/skimage/util/__init__.py:4: in <module>
>     from .dtype import (img_as_float32, img_as_float64, img_as_float,
> /usr/lib/python3/dist-packages/skimage/util/dtype.py:27: in <module>
>     np.bool8: (False, True),
> /usr/lib/python3/dist-packages/numpy/__init__.py:260: in __getattr__
>     warnings.warn(msg, DeprecationWarning, stacklevel=2)
> E   DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
> =========================== short test summary info ============================
> ERROR ccdproc/tests/test_ccdproc.py - DeprecationWarning: `np.bool8` is a dep...
> ERROR ccdproc/tests/test_ccdproc.py - DeprecationWarning: `np.bool8` is a dep...
> !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
> ============================== 2 errors in 1.01s ===============================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build; python3.11 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/ccdproc_2.4.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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