Source: poliastro Version: 0.17.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230216 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > =================================== FAILURES > =================================== > __________ test_maneuver_constructor_raises_error_if_invalid_delta_v > ___________ > > def test_maneuver_constructor_raises_error_if_invalid_delta_v(): > dv1 = np.zeros(3) * u.km / u.s > dv2 = np.ones(2) * u.km / u.s # Incorrect dv > with pytest.raises(ValueError) as excinfo: > with warnings.catch_warnings(): > # Different length numpy arrays generate a deprecation > warning. > warnings.simplefilter( > "ignore", category=np.VisibleDeprecationWarning > ) > Maneuver((0 * u.s, dv1), (2 * u.s, dv2)) > > assert "Delta-V must be three dimensions vectors" in excinfo.exconly() > E AssertionError: assert 'Delta-V must be three dimensions vectors' in > 'ValueError: setting an array element with a sequence. The requested array > has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + > inhomogeneous part.' > E + where 'ValueError: setting an array element with a sequence. The > requested array has an inhomogeneous shape after 1 dimensions. The detected > shape was (2,) + inhomogeneous part.' = <bound method ExceptionInfo.exconly > of <ExceptionInfo ValueError('setting an array element with a sequence. The > requested array has an inhomogeneous shape after 1 dimensions. The detected > shape was (2,) + inhomogeneous part.') tblen=4>>() > E + where <bound method ExceptionInfo.exconly of <ExceptionInfo > ValueError('setting an array element with a sequence. The requested array has > an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + > inhomogeneous part.') tblen=4>> = <ExceptionInfo ValueError('setting an array > element with a sequence. The requested array has an inhomogeneous shape after > 1 dimensions. The detected shape was (2,) + inhomogeneous part.') > tblen=4>.exconly > > tests/test_maneuver.py:26: AssertionError > ______________________ test_stumpff_functions_above_zero > _______________________ > > def test_stumpff_functions_above_zero(): > psi = 3.0 > expected_c2 = (1 - cos(psi**0.5)) / psi > expected_c3 = (psi**0.5 - sin(psi**0.5)) / psi**1.5 > > assert_equal(c2(psi), expected_c2) > > assert_equal(c3(psi), expected_c3) > E AssertionError: > E Items are not equal: > E ACTUAL: 0.143379966939162 > E DESIRED: 0.14337996693916197 > > tests/test_stumpff.py:22: AssertionError > ______________________ test_stumpff_functions_under_zero > _______________________ > > def test_stumpff_functions_under_zero(): > psi = -3.0 > expected_c2 = (cosh((-psi) ** 0.5) - 1) / (-psi) > expected_c3 = (sinh((-psi) ** 0.5) - (-psi) ** 0.5) / (-psi) ** 1.5 > > > assert_equal(c2(psi), expected_c2) > E AssertionError: > E Items are not equal: > E ACTUAL: 0.6381924800586426 > E DESIRED: 0.6381924800586427 > > tests/test_stumpff.py:30: AssertionError > =============================== warnings summary > =============================== > ../../../usr/lib/python3/dist-packages/llvmlite/binding/ffi.py:159 > /usr/lib/python3/dist-packages/llvmlite/binding/ffi.py:159: > DeprecationWarning: path is deprecated. Use files() instead. Refer to > https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy > for migration advice. > _lib_handle = importlib.resources.path(pkgname, _lib_name) > > tests/test_frames.py::test_round_trip_from_GeocentricSolarEcliptic_gives_same_results > tests/test_frames.py::test_GeocentricSolarEcliptic_against_data > /<<PKGBUILDDIR>>/src/poliastro/frames/ecliptic.py:78: > AstropyDeprecationWarning: The matrix_product function is deprecated and may > be removed in a future version. > Use @ instead. > return matrix_product(rot_matrix, _earth_detilt_matrix) > > tests/test_maneuver.py::test_hohmann_maneuver[nu0] > /<<PKGBUILDDIR>>/src/poliastro/core/maneuver.py:49: > NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on > (array(float64, 1d, A), array(float64, 1d, A)) > r_i = norm(r_i) > > tests/tests_plotting/test_gabbard.py::test_static_gabbard_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_gabbard.py::test_static_gabbard_plotting returned > <Figure size 1440x480 with 1 Axes>, which will be an error in a future > version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_misc.py::test_plot_inner_solar_system_static > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_misc.py::test_plot_inner_solar_system_static > returned <Figure size 1400x600 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_misc.py::test_plot_outer_solar_system_static > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_misc.py::test_plot_outer_solar_system_static > returned <Figure size 1400x600 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_porkchop.py::test_porkchop_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_porkchop.py::test_porkchop_plotting returned > <Figure size 640x480 with 2 Axes>, which will be an error in a future version > of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_basic_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but tests/tests_plotting/test_static.py::test_basic_plotting > returned <Figure size 1440x480 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_basic_trajectory_plotting > /<<PKGBUILDDIR>>/tests/tests_plotting/test_static.py:151: RuntimeWarning: > > More than 20 figures have been opened. Figures created through the pyplot > interface (`matplotlib.pyplot.figure`) are retained until explicitly closed > and may consume too much memory. (To control this warning, see the rcParam > `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`. > > tests/tests_plotting/test_static.py::test_basic_trajectory_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_static.py::test_basic_trajectory_plotting returned > <Figure size 640x480 with 1 Axes>, which will be an error in a future version > of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_basic_orbit_and_trajectory_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_static.py::test_basic_orbit_and_trajectory_plotting > returned <Figure size 1440x480 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_trail_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but tests/tests_plotting/test_static.py::test_trail_plotting > returned <Figure size 1440x480 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_plot_different_planes > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_static.py::test_plot_different_planes returned > <Figure size 1440x480 with 1 Axes>, which will be an error in a future > version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_body_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but tests/tests_plotting/test_static.py::test_body_plotting > returned <Figure size 1400x600 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_static.py::test_plot_maneuver > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but tests/tests_plotting/test_static.py::test_plot_maneuver > returned <Figure size 1440x480 with 1 Axes>, which will be an error in a > future version of pytest. Did you mean to use `assert` instead of `return`? > > tests/tests_plotting/test_tisserand.py::test_tisserand_plotting > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: > > Expected None, but > tests/tests_plotting/test_tisserand.py::test_tisserand_plotting returned > <Figure size 1500x700 with 1 Axes>, which will be an error in a future > version of pytest. Did you mean to use `assert` instead of `return`? > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > tests/test_maneuver.py::test_maneuver_constructor_raises_error_if_invalid_delta_v > FAILED tests/test_stumpff.py::test_stumpff_functions_above_zero - > AssertionEr... > FAILED tests/test_stumpff.py::test_stumpff_functions_under_zero - > AssertionEr... > = 3 failed, 956 passed, 52 skipped, 20 deselected, 4 xfailed, 1 xpassed, 17 > warnings in 115.75s (0:01:55) = > make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1 The full build log is available from: http://qa-logs.debian.net/2023/02/16/poliastro_0.17.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&fusertaguser=lu...@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.