[Debian-astro-maintainers] Bug#1020121: ndcube: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:38:52 BST 2022


Source: ndcube
Version: 2.0.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
>   warnings.warn(msg, warning_class)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/ndcube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/ndcube_sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/global_coords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> copying ndcube/ndcollection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> copying ndcube/visualization/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> copying ndcube/visualization/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> copying ndcube/visualization/plotting_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> copying ndcube/visualization/mpl_sequence_plotter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> copying ndcube/visualization/mpl_plotter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> copying ndcube/visualization/descriptor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/cube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/misc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> copying ndcube/utils/wcs_high_level_conversion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs
> copying ndcube/wcs/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/test_sequence_plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/test_ndcube.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/test_ndcollection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/test_ndcubesequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> copying ndcube/tests/test_global_coords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords
> copying ndcube/extra_coords/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords
> copying ndcube/extra_coords/extra_coords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords
> copying ndcube/extra_coords/table_coord.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/mixins
> copying ndcube/mixins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/mixins
> copying ndcube/mixins/ndslicing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/mixins
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/tests
> copying ndcube/utils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/tests
> copying ndcube/utils/tests/test_utils_sequence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/tests
> copying ndcube/utils/tests/test_utils_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/tests
> copying ndcube/utils/tests/test_utils_collection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers
> copying ndcube/wcs/wrappers/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers
> copying ndcube/wcs/wrappers/resampled_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers
> copying ndcube/wcs/wrappers/compound_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers
> copying ndcube/wcs/wrappers/reordered_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers/tests
> copying ndcube/wcs/wrappers/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers/tests
> copying ndcube/wcs/wrappers/tests/test_resampled_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers/tests
> copying ndcube/wcs/wrappers/tests/test_compound_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers/tests
> copying ndcube/wcs/wrappers/tests/test_reordered_wcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers/tests
> copying ndcube/wcs/wrappers/tests/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/wcs/wrappers/tests
> running egg_info
> writing ndcube.egg-info/PKG-INFO
> writing dependency_links to ndcube.egg-info/dependency_links.txt
> writing requirements to ndcube.egg-info/requires.txt
> writing top-level names to ndcube.egg-info/top_level.txt
> reading manifest file 'ndcube.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching '.codecov.yaml'
> warning: no previously-included files found matching '.mailmap'
> warning: no previously-included files found matching '.editorconfig'
> warning: no previously-included files found matching '.gitattributes'
> warning: no previously-included files found matching '.gitignore'
> warning: no previously-included files found matching '.pep8speaks.yml'
> warning: no previously-included files found matching '.pre-commit-config.yaml'
> warning: no previously-included files found matching '.test_package_pins.txt'
> warning: no previously-included files found matching 'azure-pipelines.yml'
> warning: no previously-included files found matching '.readthedocs.yml'
> no previously-included directories found matching '.circleci'
> no previously-included directories found matching '.github'
> no previously-included directories found matching 'changelog'
> no previously-included directories found matching 'ndcube/_dev'
> adding license file 'LICENSE.rst'
> writing manifest file 'ndcube.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'ndcube.extra_coords.tests' as data is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'ndcube.extra_coords.tests' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'ndcube.extra_coords.tests' has been automatically added to the distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'ndcube.extra_coords.tests' is included as a package by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'ndcube.utils.sphinx' as data is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'ndcube.utils.sphinx' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'ndcube.utils.sphinx' has been automatically added to the distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'ndcube.utils.sphinx' is included as a package by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'ndcube.visualization.tests' as data is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'ndcube.visualization.tests' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'ndcube.visualization.tests' has been automatically added to the distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'ndcube.visualization.tests' is included as a package by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization/tests
> copying ndcube/visualization/tests/figure_hashes_mpl_332_ft_261_astropy_421_animators_100.json -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization/tests
> copying ndcube/visualization/tests/figure_hashes_mpl_332_ft_261_astropy_dev_animators_dev.json -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization/tests
> copying ndcube/visualization/tests/test_plotting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization/tests
> copying ndcube/visualization/tests/test_plotting_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/visualization/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/sphinx
> copying ndcube/utils/sphinx/code_context.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/utils/sphinx
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords/tests
> copying ndcube/extra_coords/tests/test_extra_coords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords/tests
> copying ndcube/extra_coords/tests/test_lookup_table_coord.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build/ndcube/extra_coords/tests
> PYTHONPATH=. sphinx-build -D html_last_updated_fmt="August 23, 2022" -D html_show_copyright=0 -N -bhtml docs/ build/html # HTML generator
> Running Sphinx v4.5.0
> making output directory... done
> loading intersphinx inventory from https://docs.python.org/3/objects.inv...
> loading intersphinx inventory from https://docs.scipy.org/doc/numpy/objects.inv...
> loading intersphinx inventory from https://matplotlib.org/objects.inv...
> loading intersphinx inventory from http://docs.astropy.org/en/stable/objects.inv...
> loading intersphinx inventory from https://docs.sunpy.org/en/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.astropy.org/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://docs.astropy.org/en/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f528c775930>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://docs.sunpy.org/projects/mpl-animators/en/stable/objects.inv...
> loading intersphinx inventory from https://gwcs.readthedocs.io/en/stable/objects.inv...
> intersphinx inventory has moved: https://matplotlib.org/objects.inv -> https://matplotlib.org/stable/objects.inv
> intersphinx inventory has moved: https://docs.scipy.org/doc/numpy/objects.inv -> https://numpy.org/doc/stable/objects.inv
> [autosummary] generating autosummary for: api.rst, coordinates.rst, data_classes.rst, extending_ndcube.rst, index.rst, installation.rst, introduction.rst, reproject.rst, slicing.rst, tabular_coordinates.rst, visualization.rst, whatsnew/changelog.rst, whatsnew/index.rst
> [automodsumm] api.rst: found 36 automodsumm entries to generate
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 13 source files that are out of date
> updating environment: [new config] 48 added, 0 changed, 0 removed
> reading sources... [  2%] api
> reading sources... [  4%] api/ndcube.ExtraCoords
> reading sources... [  6%] api/ndcube.GlobalCoords
> reading sources... [  8%] api/ndcube.NDCollection
> reading sources... [ 10%] api/ndcube.NDCube
> reading sources... [ 12%] api/ndcube.NDCubeSequence
> reading sources... [ 14%] api/ndcube.extra_coords.table_coord.QuantityTableCoordinate
> reading sources... [ 16%] api/ndcube.extra_coords.table_coord.SkyCoordTableCoordinate
> reading sources... [ 18%] api/ndcube.extra_coords.table_coord.TimeTableCoordinate
> reading sources... [ 20%] api/ndcube.mixins.NDCubeSlicingMixin
> reading sources... [ 22%] api/ndcube.tests.helpers.assert_cubes_equal
> reading sources... [ 25%] api/ndcube.tests.helpers.assert_cubesequences_equal
> reading sources... [ 27%] api/ndcube.tests.helpers.assert_extra_coords_equal
> reading sources... [ 29%] api/ndcube.tests.helpers.assert_metas_equal
> reading sources... [ 31%] api/ndcube.tests.helpers.assert_wcs_are_equal
> reading sources... [ 33%] api/ndcube.tests.helpers.figure_test
> reading sources... [ 35%] api/ndcube.tests.helpers.get_hash_library_name
> reading sources... [ 37%] api/ndcube.utils.misc.unique_sorted
> reading sources... [ 39%] api/ndcube.utils.sequence.SequenceItem
> reading sources... [ 41%] api/ndcube.utils.sequence.cube_like_index_to_sequence_and_common_axis_indices
> reading sources... [ 43%] api/ndcube.utils.sequence.cube_like_tuple_item_to_sequence_items
> reading sources... [ 45%] api/ndcube.utils.wcs.array_indices_for_world_objects
> reading sources... [ 47%] api/ndcube.utils.wcs.calculate_world_indices_from_axes
> reading sources... [ 50%] api/ndcube.utils.wcs.convert_between_array_and_pixel_axes
> reading sources... [ 52%] api/ndcube.utils.wcs.get_dependent_array_axes
> reading sources... [ 54%] api/ndcube.utils.wcs.get_dependent_physical_types
> reading sources... [ 56%] api/ndcube.utils.wcs.get_dependent_pixel_axes
> reading sources... [ 58%] api/ndcube.utils.wcs.get_dependent_world_axes
> reading sources... [ 60%] api/ndcube.utils.wcs.physical_type_to_pixel_axes
> reading sources... [ 62%] api/ndcube.utils.wcs.physical_type_to_world_axis
> reading sources... [ 64%] api/ndcube.utils.wcs.pixel_axis_to_physical_types
> reading sources... [ 66%] api/ndcube.utils.wcs.pixel_axis_to_world_axes
> reading sources... [ 68%] api/ndcube.utils.wcs.validate_physical_types
> reading sources... [ 70%] api/ndcube.utils.wcs.world_axis_to_pixel_axes
> reading sources... [ 72%] api/ndcube.visualization.BasePlotter
> reading sources... [ 75%] api/ndcube.visualization.mpl_plotter.MatplotlibPlotter
> reading sources... [ 77%] coordinates
> reading sources... [ 79%] data_classes
> reading sources... [ 81%] extending_ndcube
> reading sources... [ 83%] index
> reading sources... [ 85%] installation
> reading sources... [ 87%] introduction
> reading sources... [ 89%] reproject
> reading sources... [ 91%] slicing
> reading sources... [ 93%] tabular_coordinates
> reading sources... [ 95%] visualization
> /<<PKGBUILDDIR>>/ndcube/visualization/mpl_plotter.py:246: UserWarning: Animating a NDCube does not support transposing the array. The world axes may not display as expected because the array will not be transposed.
>   warnings.warn(
> WARNING: target cannot be converted to ICRS, so will not be set on SpectralCoord [astropy.wcs.wcsapi.fitswcs]
> reading sources... [ 97%] whatsnew/changelog
> reading sources... [100%] whatsnew/index
> 
> /<<PKGBUILDDIR>>/docs/whatsnew/changelog.rst:7: ERROR: Unknown directive type "changelog".
> 
> .. changelog::
>    :towncrier: ../../
>    :towncrier-skip-if-empty:
>    :changelog_file: ../../CHANGELOG.rst
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  2%] api
> writing output... [  4%] api/ndcube.ExtraCoords
> writing output... [  6%] api/ndcube.GlobalCoords
> writing output... [  8%] api/ndcube.NDCollection
> writing output... [ 10%] api/ndcube.NDCube
> writing output... [ 12%] api/ndcube.NDCubeSequence
> writing output... [ 14%] api/ndcube.extra_coords.table_coord.QuantityTableCoordinate
> writing output... [ 16%] api/ndcube.extra_coords.table_coord.SkyCoordTableCoordinate
> writing output... [ 18%] api/ndcube.extra_coords.table_coord.TimeTableCoordinate
> writing output... [ 20%] api/ndcube.mixins.NDCubeSlicingMixin
> writing output... [ 22%] api/ndcube.tests.helpers.assert_cubes_equal
> writing output... [ 25%] api/ndcube.tests.helpers.assert_cubesequences_equal
> writing output... [ 27%] api/ndcube.tests.helpers.assert_extra_coords_equal
> writing output... [ 29%] api/ndcube.tests.helpers.assert_metas_equal
> writing output... [ 31%] api/ndcube.tests.helpers.assert_wcs_are_equal
> writing output... [ 33%] api/ndcube.tests.helpers.figure_test
> writing output... [ 35%] api/ndcube.tests.helpers.get_hash_library_name
> writing output... [ 37%] api/ndcube.utils.misc.unique_sorted
> writing output... [ 39%] api/ndcube.utils.sequence.SequenceItem
> writing output... [ 41%] api/ndcube.utils.sequence.cube_like_index_to_sequence_and_common_axis_indices
> writing output... [ 43%] api/ndcube.utils.sequence.cube_like_tuple_item_to_sequence_items
> writing output... [ 45%] api/ndcube.utils.wcs.array_indices_for_world_objects
> writing output... [ 47%] api/ndcube.utils.wcs.calculate_world_indices_from_axes
> writing output... [ 50%] api/ndcube.utils.wcs.convert_between_array_and_pixel_axes
> writing output... [ 52%] api/ndcube.utils.wcs.get_dependent_array_axes
> writing output... [ 54%] api/ndcube.utils.wcs.get_dependent_physical_types
> writing output... [ 56%] api/ndcube.utils.wcs.get_dependent_pixel_axes
> writing output... [ 58%] api/ndcube.utils.wcs.get_dependent_world_axes
> writing output... [ 60%] api/ndcube.utils.wcs.physical_type_to_pixel_axes
> writing output... [ 62%] api/ndcube.utils.wcs.physical_type_to_world_axis
> writing output... [ 64%] api/ndcube.utils.wcs.pixel_axis_to_physical_types
> writing output... [ 66%] api/ndcube.utils.wcs.pixel_axis_to_world_axes
> writing output... [ 68%] api/ndcube.utils.wcs.validate_physical_types
> writing output... [ 70%] api/ndcube.utils.wcs.world_axis_to_pixel_axes
> writing output... [ 72%] api/ndcube.visualization.BasePlotter
> writing output... [ 75%] api/ndcube.visualization.mpl_plotter.MatplotlibPlotter
> writing output... [ 77%] coordinates
> writing output... [ 79%] data_classes
> writing output... [ 81%] extending_ndcube
> writing output... [ 83%] index
> writing output... [ 85%] installation
> writing output... [ 87%] introduction
> writing output... [ 89%] reproject
> writing output... [ 91%] slicing
> writing output... [ 93%] tabular_coordinates
> writing output... [ 95%] visualization
> writing output... [ 97%] whatsnew/changelog
> writing output... [100%] whatsnew/index
> 
> generating indices... genindex py-modindex done
> highlighting module code... [  7%] ndcube.extra_coords.extra_coords
> highlighting module code... [ 15%] ndcube.extra_coords.table_coord
> highlighting module code... [ 23%] ndcube.global_coords
> highlighting module code... [ 30%] ndcube.mixins.ndslicing
> highlighting module code... [ 38%] ndcube.ndcollection
> highlighting module code... [ 46%] ndcube.ndcube
> highlighting module code... [ 53%] ndcube.ndcube_sequence
> highlighting module code... [ 61%] ndcube.tests.helpers
> highlighting module code... [ 69%] ndcube.utils.misc
> highlighting module code... [ 76%] ndcube.utils.sequence
> highlighting module code... [ 84%] ndcube.utils.wcs
> highlighting module code... [ 92%] ndcube.visualization.base
> highlighting module code... [100%] ndcube.visualization.mpl_plotter
> 
> writing additional pages... search done
> copying images... [  7%] images/ndcube_diagram.png
> copying images... [ 15%] images/ndcubesequence_diagram.png
> copying images... [ 23%] images/ndcube_sliced_diagram.png
> copying images... [ 30%] images/ndcubesequence_sliced_diagram.png
> copying images... [ 38%] ../build/html/plot_directive/visualization-2.png
> copying images... [ 46%] ../build/html/plot_directive/visualization-3.png
> copying images... [ 53%] ../build/html/plot_directive/visualization-4.png
> copying images... [ 61%] ../build/html/plot_directive/visualization-5.png
> copying images... [ 69%] ../build/html/plot_directive/visualization-7.png
> copying images... [ 76%] ../build/html/plot_directive/visualization-9.png
> copying images... [ 84%] ../build/html/plot_directive/visualization-11.png
> copying images... [ 92%] ../build/html/plot_directive/visualization-13.png
> copying images... [100%] ../build/html/plot_directive/visualization-15.png
> 
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 2 warnings.
> 
> The HTML pages are in build/html.
> # Replace static files with symlinks when possible
> for file in $(find build/html/_static/ -name jquery-*.min.js); do rm $file; ln -s /usr/share/javascript/jquery/jquery.min.js $file; done
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build; python3.10 -m pytest ../../../ndcube
> ============================= test session starts ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: astropy-header-0.2.2, asdf-2.12.0, mock-3.8.2, hypothesis-6.36.0, filter-subpackage-0.1.1, arraydiff-0.5.0, astropy-0.10.0, doctestplus-0.12.0, openfiles-0.5.0, cov-3.0.0, remotedata-0.3.3
> collected 317 items / 25 deselected / 292 selected
> 
> ../../../ndcube/ndcollection.py s                                        [  0%]
> ../../../ndcube/ndcube.py ss                                             [  1%]
> ../../../ndcube/ndcube_sequence.py s                                     [  1%]
> ../../../ndcube/extra_coords/tests/test_extra_coords.py ............x... [  6%]
> ........                                                                 [  9%]
> ../../../ndcube/extra_coords/tests/test_lookup_table_coord.py ...x...x.. [ 13%]
> .x..x....x.XX......x.x...                                                [ 21%]
> ../../../ndcube/mixins/ndslicing.py .                                    [ 21%]
> ../../../ndcube/tests/test_global_coords.py ................             [ 27%]
> ../../../ndcube/tests/test_ndcollection.py ....................          [ 34%]
> ../../../ndcube/tests/test_ndcube.py ................................... [ 46%]
> .....x..........................................................F..F..   [ 70%]
> ../../../ndcube/tests/test_ndcubesequence.py ........................... [ 79%]
>                                                                          [ 79%]
> ../../../ndcube/utils/tests/test_utils_collection.py ...                 [ 80%]
> ../../../ndcube/utils/tests/test_utils_sequence.py .......               [ 82%]
> ../../../ndcube/utils/tests/test_utils_wcs.py ...............            [ 88%]
> ../../../ndcube/visualization/tests/test_plotting.py ..                  [ 88%]
> ../../../ndcube/visualization/tests/test_plotting_utils.py ............. [ 93%]
>                                                                          [ 93%]
> ../../../ndcube/wcs/wrappers/tests/test_compound_wcs.py ......           [ 95%]
> ../../../ndcube/wcs/wrappers/tests/test_reordered_wcs.py ....            [ 96%]
> ../../../ndcube/wcs/wrappers/tests/test_resampled_wcs.py ..........      [100%]
> 
> =================================== FAILURES ===================================
> ___________________________ test_reproject_adaptive ____________________________
> 
> ndcube_2d_ln_lt = <ndcube.ndcube.NDCube object at 0x7f9f63d69390>
> NDCube
> ------
> Dimensions: [10. 12.] pix
> Physical Types of Axes: [('cus...elioprojective.lon'), ('custom:pos.helioprojective.lat', 'custom:pos.helioprojective.lon')]
> Unit: None
> Data Type: int64
> wcs_2d_lt_ln = WCS Keywords
> 
> Number of WCS axes: 2
> CTYPE : 'HPLT-TAN'  'HPLN-TAN'  
> CRVAL : 0.0  0.0  
> CRPIX : 5.0  5.0  
> PC1_1 PC1_2  : 1.0  0.0  
> PC2_1 PC2_2  : 0.0  1.0  
> CDELT : 0.0005555555555555556  0.0011111111111111111  
> NAXIS : 0  0
> 
>     def test_reproject_adaptive(ndcube_2d_ln_lt, wcs_2d_lt_ln):
>         shape_out = (10, 12)
> >       resampled_cube = ndcube_2d_ln_lt.reproject_to(wcs_2d_lt_ln, algorithm='adaptive',
>                                                       shape_out=shape_out)
> 
> ../../../ndcube/tests/test_ndcube.py:788: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../ndcube/ndcube.py:711: in reproject_to
>     data = reproject_adaptive(self, output_projection=target_wcs, shape_out=shape_out,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> args = (<ndcube.ndcube.NDCube object at 0x7f9f63d69390>
> NDCube
> ------
> Dimensions: [10. 12.] pix
> Physical Types of Axes: [('cu...ioprojective.lon'), ('custom:pos.helioprojective.lat', 'custom:pos.helioprojective.lon')]
> Unit: None
> Data Type: int64,)
> kwargs = {'output_projection': WCS Keywords
> 
> Number of WCS axes: 2
> CTYPE : 'HPLT-TAN'  'HPLN-TAN'  
> CRVAL : 0.0  0.0  
> CRPIX : ...
> CDELT : 0.0005555555555555556  0.0011111111111111111  
> NAXIS : 0  0, 'return_footprint': False, 'shape_out': (10, 12)}
> i = 0
> msg = '"order" was deprecated in version 0.9 and will be removed in a future version. '
> value = 'bilinear'
> 
>     @functools.wraps(function)
>     def wrapper(*args, **kwargs):
>         for i in range(n):
>             msg = message[i] or (f'"{old_name[i]}" was deprecated in '
>                                  f'version {since[i]} and will be removed '
>                                  'in a future version. ')
>             # The only way to have oldkeyword inside the function is
>             # that it is passed as kwarg because the oldkeyword
>             # parameter was renamed to newkeyword.
>             if old_name[i] in kwargs:
>                 value = kwargs.pop(old_name[i])
>                 # Display the deprecation warning only when it's not
>                 # pending.
>                 if not pending[i]:
>                     if not message[i]:
>                         if new_name[i] is not None:
>                             msg += f'Use argument "{new_name[i]}" instead.'
>                         elif alternative:
>                             msg += f'\n        Use {alternative} instead.'
> >                   warnings.warn(msg, warning_type, stacklevel=2)
> E                   astropy.utils.exceptions.AstropyDeprecationWarning: "order" was deprecated in version 0.9 and will be removed in a future version.
> 
> /usr/lib/python3/dist-packages/astropy/utils/decorators.py:507: AstropyDeprecationWarning
> _________________________ test_reproject_invalid_order _________________________
> 
> ndcube_2d_ln_lt = <ndcube.ndcube.NDCube object at 0x7f9f63b4e7a0>
> NDCube
> ------
> Dimensions: [10. 12.] pix
> Physical Types of Axes: [('cus...elioprojective.lon'), ('custom:pos.helioprojective.lat', 'custom:pos.helioprojective.lon')]
> Unit: None
> Data Type: int64
> wcs_2d_lt_ln = WCS Keywords
> 
> Number of WCS axes: 2
> CTYPE : 'HPLT-TAN'  'HPLN-TAN'  
> CRVAL : 0.0  0.0  
> CRPIX : 5.0  5.0  
> PC1_1 PC1_2  : 1.0  0.0  
> PC2_1 PC2_2  : 0.0  1.0  
> CDELT : 0.0005555555555555556  0.0011111111111111111  
> NAXIS : 0  0
> 
>     def test_reproject_invalid_order(ndcube_2d_ln_lt, wcs_2d_lt_ln):
>         shape_out = (10, 12)
>     
>         # Supported for interpolation
>         for order in ['nearest-neighbor', 'bilinear', 'biquadratic', 'bicubic']:
>             _ = ndcube_2d_ln_lt.reproject_to(wcs_2d_lt_ln, algorithm='interpolation',
>                                              shape_out=shape_out, order=order)
>     
>         # Supported for adaptive
>         for order in ['nearest-neighbor', 'bilinear']:
> >           _ = ndcube_2d_ln_lt.reproject_to(wcs_2d_lt_ln, algorithm='adaptive',
>                                              shape_out=shape_out, order=order)
> 
> ../../../ndcube/tests/test_ndcube.py:820: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../ndcube/ndcube.py:711: in reproject_to
>     data = reproject_adaptive(self, output_projection=target_wcs, shape_out=shape_out,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> args = (<ndcube.ndcube.NDCube object at 0x7f9f63b4e7a0>
> NDCube
> ------
> Dimensions: [10. 12.] pix
> Physical Types of Axes: [('cu...ioprojective.lon'), ('custom:pos.helioprojective.lat', 'custom:pos.helioprojective.lon')]
> Unit: None
> Data Type: int64,)
> kwargs = {'output_projection': WCS Keywords
> 
> Number of WCS axes: 2
> CTYPE : 'HPLT-TAN'  'HPLN-TAN'  
> CRVAL : 0.0  0.0  
> CRPIX : ...
> CDELT : 0.0005555555555555556  0.0011111111111111111  
> NAXIS : 0  0, 'return_footprint': False, 'shape_out': (10, 12)}
> i = 0
> msg = '"order" was deprecated in version 0.9 and will be removed in a future version. '
> value = 'nearest-neighbor'
> 
>     @functools.wraps(function)
>     def wrapper(*args, **kwargs):
>         for i in range(n):
>             msg = message[i] or (f'"{old_name[i]}" was deprecated in '
>                                  f'version {since[i]} and will be removed '
>                                  'in a future version. ')
>             # The only way to have oldkeyword inside the function is
>             # that it is passed as kwarg because the oldkeyword
>             # parameter was renamed to newkeyword.
>             if old_name[i] in kwargs:
>                 value = kwargs.pop(old_name[i])
>                 # Display the deprecation warning only when it's not
>                 # pending.
>                 if not pending[i]:
>                     if not message[i]:
>                         if new_name[i] is not None:
>                             msg += f'Use argument "{new_name[i]}" instead.'
>                         elif alternative:
>                             msg += f'\n        Use {alternative} instead.'
> >                   warnings.warn(msg, warning_type, stacklevel=2)
> E                   astropy.utils.exceptions.AstropyDeprecationWarning: "order" was deprecated in version 0.9 and will be removed in a future version.
> 
> /usr/lib/python3/dist-packages/astropy/utils/decorators.py:507: AstropyDeprecationWarning
> =========================== short test summary info ============================
> FAILED ../../../ndcube/tests/test_ndcube.py::test_reproject_adaptive - astrop...
> FAILED ../../../ndcube/tests/test_ndcube.py::test_reproject_invalid_order - a...
> = 2 failed, 275 passed, 4 skipped, 25 deselected, 9 xfailed, 2 xpassed in 6.09s =
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ndcube/build; python3.10 -m pytest ../../../ndcube
> dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/ndcube_2.0.2-1_unstable.log

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



More information about the Debian-astro-maintainers mailing list