Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1926090
Summary: | python-tabulate fails to build with Python 3.10: ImportError: cannot import name 'Iterable' from 'collections' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-tabulate | Assignee: | Igor Raits <igor.raits> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | igor.raits, mhroncok, neuro-sig, projects.rg, python-sig, rbean, steve.traylen, 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: | 2021-02-23 11:24:02 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: | 1890881, 1926075, 1926078, 1926079, 1926080, 1926092 |
Description
Tomáš Hrnčiar
2021-02-08 07:45:43 UTC
So, tabulate already "fixed" this many years ago, but they do: if python_version_tuple() >= ("3", "3", "0"): from collections.abc import Iterable else: from collections import Iterable And obviously, ("3", "10", "0a5") < ("3", "3", "0") because strings. Since upstream fix is proposed for a while, I suggest we patch it in Fedora temporarily to: from collections.abc import Iterable This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. |