crmsh orderedset.py does not support python 3.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crmsh (Ubuntu) |
Fix Released
|
Undecided
|
Athos Ribeiro |
Bug Description
orderedset.py uses collections.
This has been fixed upstream in
https:/
This blocks the python 3.10 migration, with:
crm cluster init --yes --name=autopkgtest --unicast
Traceback (most recent call last):
File "/usr/sbin/crm", line 29, in <module>
from crmsh import main
File "/usr/lib/
from . import ui_root
File "/usr/lib/
from . import ui_cib
File "/usr/lib/
from .cibconfig import cib_factory
File "/usr/lib/
from . import orderedset
File "/usr/lib/
class OrderedSet(
AttributeError: module 'collections' has no attribute 'MutableSet'
autopkgtest [06:36:57]: test pacemaker-
autopkgtest [06:36:58]: test pacemaker-
pacemaker-
autopkgtest [06:36:58]: @@@@@@@
command1 FAIL non-zero exit status 1
command2 FAIL non-zero exit status 1
command3 FAIL non-zero exit status 1
utils.sh PASS
testsuite.sh FAIL non-zero exit status 2
pacemaker-
pacemaker-
pacemaker-
As shown in https:/
Related branches
- Sergio Durigan Junior (community): Approve
- Canonical Server: Pending requested
- Canonical Server packageset reviewers: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 267 lines (+187/-2)6 files modifieddebian/changelog (+97/-0)
debian/control (+2/-1)
debian/patches/0020-Use-crmsh-hb_report.patch (+32/-0)
debian/patches/0021-Support-python-310.patch (+53/-0)
debian/patches/series (+2/-0)
debian/tests/pacemaker-node-status.sh (+1/-1)
Changed in crmsh (Ubuntu): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
Forwarded to Debian in https:/ /salsa. debian. org/ha- team/crmsh/ -/merge_ requests/ 5