[Debian-astro-maintainers] Bug#1094690: astropy: FTBFS against numpy 2: test failures

Emilio Pozuelo Monfort pochu at debian.org
Thu Jan 30 09:16:44 GMT 2025


Source: astropy
Version: 7.0.0-1
Severity: serious
Tags: ftbfs

Hi,

On a rebuild against numpy 2, astropy failed to build with test
failures. From the amd64 build log:

=================================== FAILURES ===================================
_______________________ test_basic_testing_completeness ________________________

    def test_basic_testing_completeness():
>       assert all_wrapped_functions == (
            tested_functions
            | IGNORED_FUNCTIONS
            | UNSUPPORTED_FUNCTIONS
            | SUPPORTED_NEP35_FUNCTIONS
        )
E       AssertionError: assert {<function vs...a8d80b0>, ...} == {<function vs...a97e0b0>, ...}
E         
E         Extra items in the left set:
E         <function identity at 0x7f91aa98b880>
E         <built-in function asarray>
E         <function eye at 0x7f91aa85c0e0>
E         <function loadtxt at 0x7f91aa8280e0>
E         <built-in function ascontiguousarray>...
E         
E         ...Full output truncated (17 lines hidden), use '-vv' to show

astropy/utils/masked/tests/test_function_helpers.py:1757: AssertionError
______________ TestFunctionHelpersCompleteness.test_all_included _______________

self = <astropy.utils.masked.tests.test_function_helpers.TestFunctionHelpersCompleteness object at 0x7f9197aece20>

    def test_all_included(self):
        included_in_helpers = (
            MASKED_SAFE_FUNCTIONS
            | UNSUPPORTED_FUNCTIONS
            | set(APPLY_TO_BOTH_FUNCTIONS.keys())
            | set(DISPATCHED_FUNCTIONS.keys())
        )
>       assert all_wrapped_functions == included_in_helpers
E       AssertionError: assert {<function vs...a8d80b0>, ...} == {<function vs...a94a0b0>, ...}
E         
E         Extra items in the left set:
E         <function identity at 0x7f91aa98b880>
E         <built-in function asarray>
E         <function eye at 0x7f91aa85c0e0>
E         <function loadtxt at 0x7f91aa8280e0>
E         <built-in function ascontiguousarray>...
E         
E         ...Full output truncated (17 lines hidden), use '-vv' to show

astropy/utils/masked/tests/test_function_helpers.py:1794: AssertionError
=========================== short test summary info ============================
FAILED astropy/utils/masked/tests/test_function_helpers.py::test_basic_testing_completeness
FAILED astropy/utils/masked/tests/test_function_helpers.py::TestFunctionHelpersCompleteness::test_all_included
= 2 failed, 28412 passed, 540 skipped, 72 deselected, 234 xfailed, 373 xpassed in 230.86s (0:03:50) =

Full build logs at:

  https://buildd.debian.org/status/package.php?p=astropy&suite=sid

Cheers,
Emilio



More information about the Debian-astro-maintainers mailing list