Your message dated Fri, 15 Nov 2024 08:47:07 +0000
with message-id <20241115084707.yzidv33sassio...@satie.tumbleweed.org.za>
and subject line Re: Bug#1082325: transforms3d FTBFS with Python 3.13
has caused the Debian Bug report #1082325,
regarding transforms3d FTBFS with Python 3.13
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.)


-- 
1082325: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082325
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 += vec
>       assert 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

--- End Message ---
--- Begin Message ---
Version: 0.4.1+ds-1

> 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:
> 
> So my best guess is that it was a problem with the numpy version you used?

Sounds very likely, yes.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

--- End Message ---

Reply via email to