Bug#1061603: openturns: FTBFS with Python 3.12 as default

Graham Inggs ginggs at debian.org
Sat Jan 27 07:36:09 GMT 2024


Source: openturns
Version: 1.21.1-4
Severity: important
Tags: ftbfs patch
User: debian-python at lists.debian.org
Usertags: python3.12

Hi Maintainer

openturns FTBFS with Python 3.12 as the default version (i.e. with
python3-defaults/3.12.1-1 from experimental).  I've copied what I hope
is the relevant part of the log below.

The first failure is due to a change in Python 3.12, and fixed
upstream [1].  The second failure is due to a change in SWIG 4.2.0,
landing in unstable soon, see #1061392, and also fixed upstream [2].

Regards
Graham


[1] https://github.com/openturns/openturns/commit/fe388ec3e7a8e23ba1a3f7eada320165cba86fca
[2] https://github.com/openturns/openturns/commit/077b6d9d788ec6c4bbd972024ce0f94d3557f5c1



 46/597 Test  #576: pyinstallcheck_SpecFunc_std
............................................***Failed    0.53 sec
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/python/test/t_SpecFunc_std.py", line 45, in <module>
    assert s1 == 0.0, "sum(x) nonzero"
AssertionError: sum(x) nonzero


305/597 Test  #837: pyinstallcheck_DiscreteCompoundDistribution_std
........................***Failed    0.31 sec
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/python/test/t_DiscreteCompoundDistribution_std.py",
line 18, in <module>
    ott.assert_almost_equal(
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/openturns/testing.py",
line 174, in assert_almost_equal
    return _testing.assert_almost_equal(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Value 0.00128141 is not close enough to 0.00128136



More information about the debian-science-maintainers mailing list