unittest2 doesn't work on python3.10

Bug #1949778 reported by Chris MacNaughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitinspector (Ubuntu)
Fix Released
Undecided
Unassigned
python-cloudkittyclient (Ubuntu)
Fix Released
Undecided
Unassigned
python-cyborgclient (Ubuntu)
Fix Released
Undecided
Unassigned
python-deprecation (Ubuntu)
Fix Released
Undecided
Unassigned
python-freezerclient (Ubuntu)
Fix Released
Undecided
Unassigned
python-futurist (Ubuntu)
Invalid
Undecided
Unassigned
python-jenkins (Ubuntu)
Fix Released
Undecided
Unassigned
python-launchpadlib (Ubuntu)
Invalid
Undecided
Unassigned
python-pyghmi (Ubuntu)
Fix Released
Undecided
Unassigned
python-pykmip (Ubuntu)
Fix Released
Undecided
Unassigned
python-requests-mock (Ubuntu)
Fix Released
Undecided
Unassigned
python-sphinx-feature-classification (Ubuntu)
Fix Released
Undecided
Unassigned
python-sushy-cli (Ubuntu)
Fix Released
Undecided
Unassigned
python-testtools (Ubuntu)
Invalid
Undecided
Unassigned
python-tosca-parser (Ubuntu)
Fix Released
Undecided
Unassigned
python-yaql (Ubuntu)
Fix Released
Undecided
Unassigned
tempest (Ubuntu)
Fix Released
Undecided
Unassigned
unittest2 (Debian)
Fix Released
Unknown
unittest2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Since Python 3.3, using or importing ABCs from 'collections' instead of 'collections.abc' has been deprecated, and it's finally removed in python 3.10. Because unittest2 relies on these collections in it's compatibility helpers, it fails to run on 3.10

Tags: ftbfs
Changed in unittest2 (Debian):
status: Unknown → New
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
tags: added: ftbfs
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unittest2 - 1.1.0-8

---------------
unittest2 (1.1.0-8) unstable; urgency=medium

  * Team upload.

  [ Ondřej Nový ]
  * d/control: Update Maintainer field with new Debian Python Team
    contact address.
  * d/control: Update Vcs-* fields with new Debian Python Team Salsa
    layout.

  [ Athos Ribeiro ]
  * d/p/python3.10-support.patch: Fix collections call for python 3.10 support
    (Closes: #998473) (LP: #1949778)

  [ Scott Talbert ]
  * Update debhelper-compat level to 13

 -- Scott Talbert <email address hidden> Tue, 09 Nov 2021 19:37:46 -0500

Changed in unittest2 (Ubuntu):
status: New → Fix Released
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Changed in python-deprecation (Ubuntu):
status: New → Fix Released
Changed in python-tosca-parser (Ubuntu):
status: New → Fix Released
Changed in python-launchpadlib (Ubuntu):
status: New → Invalid
Changed in python-yaql (Ubuntu):
status: New → Fix Released
Changed in python-testtools (Ubuntu):
status: New → Invalid
Changed in python-futurist (Ubuntu):
status: New → Invalid
Changed in gitinspector (Ubuntu):
status: New → Fix Released
Changed in python-cloudkittyclient (Ubuntu):
status: New → Fix Released
Changed in python-cyborgclient (Ubuntu):
status: New → Fix Released
Changed in python-freezerclient (Ubuntu):
status: New → Fix Released
Changed in python-jenkins (Ubuntu):
status: New → Fix Released
Changed in python-pyghmi (Ubuntu):
status: New → Fix Released
Changed in python-pykmip (Ubuntu):
status: New → Fix Released
Changed in python-requests-mock (Ubuntu):
status: New → Fix Released
Changed in python-sphinx-feature-classification (Ubuntu):
status: New → Fix Released
Changed in python-sushy-cli (Ubuntu):
status: New → Fix Released
Changed in tempest (Ubuntu):
status: New → Fix Released
Changed in unittest2 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.