Bug 2328023
Summary: | python-pygit2 fails to build with Python 3.14: TypeError: 'GenericIterator' object is not iterable | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-pygit2 | Assignee: | Pete Walter <walter.pete> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | i, igor.raits, infra-sig, ksurma, mhroncok, nphilipp, pingou, sgallagh, walter.pete |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-pygit2-1.16.0-2.fc42 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2025-01-09 10:38:00 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: | 2322407 |
Description
Karolina Surma
2024-11-22 12:03:48 UTC
See also https://bugs.debian.org/1087432 which suggests this might not be Python 3.14 specific. > It looks like it worked with 3.13 final (3.13.0-1) but it broke after the Debian > package updated to the 3.13 branch from 2024-11-12 (3.13.0-2). My guess is this > commit [1] resulted in the generator expression now requiring the __iter__() > method to be defined, causing the test failure we see here. > > - Fay > > [1] https://github.com/python/cpython/commit/bcc7227ef7fd21aa48c8f1c57922e8beced5737c I can confirm that pygit2 version 1.16.0 doesn’t mock-build with Python 3.13.1 on Fedora 41. FEDORA-2025-7feb4f9692 (python-pygit2-1.16.0-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-7feb4f9692 FEDORA-2025-7feb4f9692 (python-pygit2-1.16.0-2.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |