Your message dated Thu, 23 Feb 2023 07:49:40 +0000
with message-id <e1pv6mg-00hl4u...@fasolo.debian.org>
and subject line Bug#1031451: fixed in poliastro 0.17.0-2
has caused the Debian Bug report #1031451,
regarding poliastro: FTBFS: make[1]: *** [debian/rules:9:
override_dh_auto_test] Error 1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1031451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031451
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source: poliastro
Source-Version: 0.17.0-2
Done: Ole Streicher <oleb...@debian.org>
We believe that the bug you reported is fixed in the latest version of
poliastro, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1031...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated poliastro package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 23 Feb 2023 08:22:49 +0100
Source: poliastro
Architecture: source
Version: 0.17.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1025395 1031451
Changes:
poliastro (0.17.0-2) unstable; urgency=medium
.
* Fix test failures (Closes: #1031451)
* Push Standards-Version to 4.6.2, no changes
* Build using the generic pyproject pybuild plugin (Closes: #1025395)
Checksums-Sha1:
ae959ccd09a75a10f5a23fff5b055c0dac23ee0a 2378 poliastro_0.17.0-2.dsc
22452e047dbefb549d88ab4f6df8620402275b4f 4196 poliastro_0.17.0-2.debian.tar.xz
Checksums-Sha256:
f412866f6733cdf57b1a51efe3f76d1ff3fa33630c871b96fbb8ca8912ac7d81 2378
poliastro_0.17.0-2.dsc
17b9978d80bf0cec1fad7fa863939ffe321bd96a6209bd91f9d7839a42e73dba 4196
poliastro_0.17.0-2.debian.tar.xz
Files:
5078e66f578d43f8789393c936ff51fa 2378 python optional poliastro_0.17.0-2.dsc
0d94cfd9b66f64d526dddf8da6421189 4196 python optional
poliastro_0.17.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmP3FTgACgkQcRWv0HcQ
3Pd9TRAAgXhuLlC6r9rhLh1Nr3Gi+YA12KhVBFUNDDSlQruXp3KB7q6yb7UWz8yz
EcIMS4MByzNRUaE5bkxD/iD04Ti6ak8WjaRjfR2AFLxNuJg0oPKAC5x5ekXjTMkL
nKkcn1rtMgNFFGbSx3mXC/aX3XspYIdIx4/sBCZkIKWGpOsAxG3w7u652hwuSCGa
ke6AQxrZtd9dhHHa1UzmVcby9BazosRIBJNLcZ2T12xnZJIiOs9hmZBERUUm43uQ
tYkaunsjjUKYdCem9Fn7ktS9XvLB1qWF/UVTkX+IX04aNEHRBzCkIBX4kVu2iGTR
iQMnDGzKunDG0J/G+wEcvorY/uKyfxom0KA/o8FQ5caZuevilldsNQS4Volfp/m4
Kh7QLP9hcdUhcp+VqEwthn0pw5VlXnU7/OtYFFof4g0muxe/MEKR270iXFL1gKsG
I4DjiDHXnlnxkvKEmkOxC5f5DAqBL3FhNerz/HSbWH2d1UwcNyN5EPulpOgkk7YR
vtFsjsR+AikDdWL+DvKBedtWyws7jWEdGxHArwfgwCZZc7SLoR9vm9/5bRl/yGOy
9XV+2Czvtw/jIXVsyuw1DGxMHFOQp5i8EuJw/RJkUoH4iIargEd46dAXs5eoFxks
18ATgRWX6v8xQ4h1FOayQE2aERTPj36ePWY33OFjMPKLaAI8qkU=
=u5hT
-----END PGP SIGNATURE-----
--- End Message ---