[Bug 2045290] [NEW] cracklib2 FTBFS against python 3.12
Olivier Gayot
2045290 at bugs.launchpad.net
Thu Nov 30 16:53:34 UTC 2023
Public bug reported:
Build against Python 3.12 is red. The build-time test-suite uses the
obsolete function unittest.TestCase.assertEquals - which was dropped
from Python 3.12.
.......EEEEE
======================================================================
ERROR: test_simple_combinations (test_cracklib.TestModuleFunctions.test_simple_combinations)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 122, in test_simple_combinations
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_digit (test_cracklib.TestModuleFunctions.test_simple_digit)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 99, in test_simple_digit
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_lower (test_cracklib.TestModuleFunctions.test_simple_lower)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 79, in test_simple_lower
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_other (test_cracklib.TestModuleFunctions.test_simple_other)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 109, in test_simple_other
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_upper (test_cracklib.TestModuleFunctions.test_simple_upper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 89, in test_simple_upper
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
** Affects: cracklib2 (Ubuntu)
Importance: Undecided
Status: New
** Affects: cracklib2 (Debian)
Importance: Unknown
Status: Unknown
** Bug watch added: Debian Bug tracker #1055571
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055571
** Also affects: cracklib2 (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055571
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cracklib2 in Ubuntu.
https://bugs.launchpad.net/bugs/2045290
Title:
cracklib2 FTBFS against python 3.12
Status in cracklib2 package in Ubuntu:
New
Status in cracklib2 package in Debian:
Unknown
Bug description:
Build against Python 3.12 is red. The build-time test-suite uses the
obsolete function unittest.TestCase.assertEquals - which was dropped
from Python 3.12.
.......EEEEE
======================================================================
ERROR: test_simple_combinations (test_cracklib.TestModuleFunctions.test_simple_combinations)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 122, in test_simple_combinations
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_digit (test_cracklib.TestModuleFunctions.test_simple_digit)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 99, in test_simple_digit
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_lower (test_cracklib.TestModuleFunctions.test_simple_lower)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 79, in test_simple_lower
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_other (test_cracklib.TestModuleFunctions.test_simple_other)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 109, in test_simple_other
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: test_simple_upper (test_cracklib.TestModuleFunctions.test_simple_upper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/debian/buildtmp/python3.12/python/build/lib.linux-x86_64-cpython-312/test_cracklib.py", line 89, in test_simple_upper
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestModuleFunctions' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cracklib2/+bug/2045290/+subscriptions
More information about the foundations-bugs
mailing list