Hi Stefano,I tried ten times but was not able to reproduce this with the 3.13 packages that are in unstable now. It also works on debusine:
https://debusine.debian.net/debusine/work-request/43081/So my best guess is that it was a problem with the numpy version you used?
Do you have any other idea or can close it otherwise? Cheers Jochen * Stefano Rivera <stefa...@debian.org> [2024-09-19 22:35]:
Source: transforms3d Version: 0.4.1+ds-1 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python3.13 This package failed build from source when test-built against a version of python3-defaults that includes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.3.0 collected 52 items transforms3d/tests/test_affines.py .... [ 7%] transforms3d/tests/test_axangles.py .... [ 15%] transforms3d/tests/test_euler.py ...... [ 26%] transforms3d/tests/test_implementations.py ..... [ 36%] transforms3d/tests/test_quaternions.py .................. [ 71%] transforms3d/tests/test_reflections.py .... [ 78%] transforms3d/tests/test_taitbryan.py ..... [ 88%] transforms3d/tests/test_utils.py F [ 90%] transforms3d/tests/test_zooms_shears.py ..... [100%] =================================== FAILURES =================================== ___________________________ test_random_unit_vector ____________________________ def test_random_unit_vector(): vec_sum = np.zeros(3) n = 1000 for i in range(n): vec = random_unit_vector() np.all(np.abs(vec) <= 1) assert np.isclose(np.sqrt(np.sum(vec @ vec)), 1) vec_sum += vecassert np.all(np.abs(vec_sum / n) < 0.05)E AssertionError: assert False E + where False = <function all at 0xffff85d65bb0>(array([0.01451757, 0.01598247, 0.05074171]) < 0.05) E + where <function all at 0xffff85d65bb0> = np.all E + and array([0.01451757, 0.01598247, 0.05074171]) = <ufunc 'absolute'>((array([-14.51756981, 15.98246584, 50.74171482]) / 1000)) E + where <ufunc 'absolute'> = np.abs transforms3d/tests/test_utils.py:17: AssertionError =============================== warnings summary =============================== transforms3d/conftest.py:4 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/transforms3d/conftest.py:4: PytestRemovedIn9Warning: The (path: py.path.local) argument is deprecated, please use (collection_path: pathlib.Path) see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path def pytest_ignore_collect(path, config): .pybuild/cpython3_3.13/build/transforms3d/tests/test_quaternions.py::test_quat2axangle /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/transforms3d/quaternions.py:573: RuntimeWarning: overflow encountered in square Nq = np.sum(quat ** 2) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED transforms3d/tests/test_utils.py::test_random_unit_vector - AssertionE... ================== 1 failed, 51 passed, 2 warnings in 10.56s =================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.3.0 collected 52 items transforms3d/tests/test_affines.py .... [ 7%] transforms3d/tests/test_axangles.py .... [ 15%] transforms3d/tests/test_euler.py ...... [ 26%] transforms3d/tests/test_implementations.py ..... [ 36%] transforms3d/tests/test_quaternions.py .................. [ 71%] transforms3d/tests/test_reflections.py .... [ 78%] transforms3d/tests/test_taitbryan.py ..... [ 88%] transforms3d/tests/test_utils.py . [ 90%] transforms3d/tests/test_zooms_shears.py ..... [100%] =============================== warnings summary =============================== transforms3d/conftest.py:4 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/transforms3d/conftest.py:4: PytestRemovedIn9Warning: The (path: py.path.local) argument is deprecated, please use (collection_path: pathlib.Path) see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path def pytest_ignore_collect(path, config): .pybuild/cpython3_3.12/build/transforms3d/tests/test_quaternions.py::test_quat2axangle /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/transforms3d/quaternions.py:573: RuntimeWarning: overflow encountered in square Nq = np.sum(quat ** 2) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 52 passed, 2 warnings in 10.44s ======================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-19T14:42:55Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/795054/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as a supported version, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano
signature.asc
Description: PGP signature