Bug 2108898
| Summary: | Package uses removed Python API, does not import | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Benjamin Gilbert <bgilbert> |
| Component: | python-github3py | Assignee: | Alexander Bokovoy <abokovoy> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 36 | CC: | abokovoy, igor.raits |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-github3py-3.2.0-1.fc37 python-github3py-3.2.0-1.fc35 python-github3py-3.2.0-1.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-29 01:24:28 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: | |||
FEDORA-2022-cea905854d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-cea905854d FEDORA-2022-cea905854d has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-8990012bbc has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8990012bbc I already had 3.0.0 packaged for Rawhide, updated to use 3.2.0 in both Rawhide and F36. It should address this problem. Thanks for the quick fix! And I just noticed that Fedora 35 also ships Python 3.10. FEDORA-2022-28edded434 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-28edded434 FEDORA-2022-28edded434 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-28edded434` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-28edded434 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-8990012bbc has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8990012bbc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8990012bbc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-28edded434 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-8990012bbc has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: Importing github3 fails. Version-Release number of selected component (if applicable): 1.3.0-8.fc36 How reproducible: Always Steps to Reproduce: import github3 Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.10/site-packages/github3/__init__.py", line 24, in <module> from .api import ( File "/usr/lib/python3.10/site-packages/github3/api.py", line 13, in <module> from .github import GitHub, GitHubEnterprise File "/usr/lib/python3.10/site-packages/github3/github.py", line 10, in <module> from . import apps File "/usr/lib/python3.10/site-packages/github3/apps.py", line 10, in <module> from . import models File "/usr/lib/python3.10/site-packages/github3/models.py", line 13, in <module> from . import session File "/usr/lib/python3.10/site-packages/github3/session.py", line 3, in <module> from collections import Callable ImportError: cannot import name 'Callable' from 'collections' (/usr/lib64/python3.10/collections/__init__.py) Expected results: Import succeeds. Additional info: Callable was moved to collections.abc and the compat alias was removed in Python 3.10.