This bug was fixed in the package cracklib2 - 2.9.6-5ubuntu1

---------------
cracklib2 (2.9.6-5ubuntu1) noble; urgency=medium

  * Fix build against Python 3.12. (LP: #2045290)

 -- Olivier Gayot <[email protected]>  Thu, 30 Nov 2023
17:46:13 +0100

** Changed in: cracklib2 (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, 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:
  Fix Released
Status in cracklib2 package in Debian:
  Fix Released

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to