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
Bug 1978342 - git-cinnabar: ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/ [NEEDINFO]
Summary: git-cinnabar: ImportError: cannot import name 'Iterable' from 'collections' (...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: git-cinnabar
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-07-01 15:34 UTC by Miro Hrončok
Modified: 2021-07-11 04:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug
releng: needinfo? (quantum.analyst)

Attachments (Terms of Use)

Description Miro Hrončok 2021-07-01 15:34:50 UTC
Description of problem:
git-cinnabar fails to build in Rawhide with Python 3.10:

ERROR: dag (unittest.loader._FailedTest)
ImportError: Failed to import test module: dag
Traceback (most recent call last):
  File "/usr/lib64/python3.10/unittest/", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.10/unittest/", line 377, in _get_module_from_name
  File "/builddir/build/BUILD/git-cinnabar-0.5.7/tests/", line 3, in <module>
    from cinnabar.dag import gitdag
  File "/builddir/build/BUILD/git-cinnabar-0.5.7/cinnabar/", line 6, in <module>
    from .util import (
  File "/builddir/build/BUILD/git-cinnabar-0.5.7/cinnabar/", line 19, in <module>
    from collections import (
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/

Version-Release number of selected component:

git-cinnabar was not included in the Python 3.10 mass rebuild as it does not require a specific Python version on runtime.

However, this error seems like something that can happen on runtime as well.


"Remove deprecated aliases to Collections Abstract Base Classes from the collections module."

E.g. instead of collections.Iterable, use

Comment 1 Fedora Release Engineering 2021-07-11 04:23:15 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-08-26).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.


Note You need to log in before you can comment on or make changes to this bug.