[Debian-pan-maintainers] Bug#1056438: pyfai's autopkg tests fail with Python 3.12

Matthias Klose doko at debian.org
Wed Nov 22 12:35:14 GMT 2023


Package: src:pyfai
Version: 2023.9.0-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

pyfai's autopkg tests fail with Python 3.12:

[...]
1324s ======================================================================
1324s ERROR: test_copy (pyFAI.test.test_calibrant.TestCalibrant.test_copy)
1324s ----------------------------------------------------------------------
1324s Traceback (most recent call last):
1324s   File 
"/usr/lib/python3/dist-packages/pyFAI/test/test_calibrant.py", line 163, 
in test_copy
1324s     self.assertNotEquals(c1, c2)
1324s     ^^^^^^^^^^^^^^^^^^^^
1324s AttributeError: 'TestCalibrant' object has no attribute 
'assertNotEquals'. Did you mean: 'assertNotEqual'?
1324s
1324s ======================================================================
1324s ERROR: test_not_same_dspace 
(pyFAI.test.test_calibrant.TestCalibrant.test_not_same_dspace)
1324s ----------------------------------------------------------------------
1324s Traceback (most recent call last):
1324s   File 
"/usr/lib/python3/dist-packages/pyFAI/test/test_calibrant.py", line 149, 
in test_not_same_dspace
1324s     self.assertNotEquals(c1, c2)
1324s     ^^^^^^^^^^^^^^^^^^^^
1324s AttributeError: 'TestCalibrant' object has no attribute 
'assertNotEquals'. Did you mean: 'assertNotEqual'?
1324s
1324s ======================================================================
1324s ERROR: test_not_same_wavelength 
(pyFAI.test.test_calibrant.TestCalibrant.test_not_same_wavelength)
1324s ----------------------------------------------------------------------
1324s Traceback (most recent call last):
1324s   File 
"/usr/lib/python3/dist-packages/pyFAI/test/test_calibrant.py", line 155, 
in test_not_same_wavelength
1324s     self.assertNotEquals(c1, c2)
1324s     ^^^^^^^^^^^^^^^^^^^^
1324s AttributeError: 'TestCalibrant' object has no attribute 
'assertNotEquals'. Did you mean: 'assertNotEqual'?
1324s
1324s ----------------------------------------------------------------------
1324s Ran 448 tests in 287.330s
1324s
1324s FAILED (errors=3, skipped=16)



More information about the Debian-pan-maintainers mailing list