Bug 2026354
Summary: | python-spake2 fails to build with Python 3.11: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-spake2 | Assignee: | Fabio Valentini <decathorpe> |
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 36 | CC: | decathorpe, hugovk+redhatbugzilla, mhroncok, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-10 08:56:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2016048 |
Description
Tomáš Hrnčiar
2021-11-24 12:38:34 UTC
Updating the bundled versioneer should fix this. Sorry for the late response. My E-Mail inbox is overflowing these days. I didn't know that this package bundled versioneer (whatever that is), so I'm not even sure how to start with updating it for this package. The versioneer python module on GitHub seems to be much different than the single file that's bundled with spake2. Any help would be much appreciated. Try following https://github.com/python-versioneer/python-versioneer#updating-versioneer (I do not appreciate the way versioneer is designed.) I will try that. Thanks for the pointer. This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. Changes in configparser module were reverted in Python 3.11 and will be part of Python 3.12, thus I am closing this bugzilla. However, I highly encourage you to work with the upstream to fix it so we won't have to deal with it next year. Upstream issue: https://github.com/warner/python-spake2/issues/13 |