Bug#1074518: dolfin: autopkgtest failure with Python 3.12

Graham Inggs ginggs at debian.org
Sun Jun 30 11:45:59 BST 2024


Source: dolfin
Version: 2019.2.0~legacy20240219.1c52e83-5
Severity: serious
User: debian-python at lists.debian.org
Usertags: python3.12

Hi Maintainer

dolfin's autopkgtests fail with Python 3.12 [1].  I've copied what I
hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/d/dolfin/testing/amd64/


326s ==================================== ERRORS
====================================
326s _______________ ERROR collecting test/unit/common/test_timer.py
________________
326s python/test/unit/common/test_timer.py:64: in <module>
326s fun2_task = get_random_task_name()
326s python/test/unit/common/test_timer.py:38: in get_random_task_name
326s return hex(random.randint(0, 1e32))
326s /usr/lib/python3.12/random.py:336: in randint
326s return self.randrange(a, b+1)
326s /usr/lib/python3.12/random.py:312: in randrange
326s istop = _index(stop)
326s E TypeError: 'float' object cannot be interpreted as an integer



More information about the debian-science-maintainers mailing list