Bug 2256757
| Summary: | python-mplcairo fails to build in Rawhide: ImportError: cannot import name '_mplcairo' from partially initialized module 'mplcairo' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-mplcairo | Assignee: | Elliott Sales de Andrade <quantum.analyst> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ksurma, mhroncok, python-packagers-sig, quantum.analyst |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-mplcairo-0.5-10.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-01-30 04:12:18 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: | 2231791, 2244836 | ||
This doesn't have anything to do with Python 3.13, but with the latest wheel, and there is a fix upstream for it. However, I can't backport that yet, as texlive is currently broken. |
python-mplcairo fails to build with Python 3.13.0a2. + export PYTHONPATH=/builddir/build/BUILDROOT/python-mplcairo-0.5-7.fc40.x86_64/usr/lib64/python3.13/site-packages PYTHONDONTWRITEBYTECODE=1 + PYTHONPATH=/builddir/build/BUILDROOT/python-mplcairo-0.5-7.fc40.x86_64/usr/lib64/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -c 'import mplcairo.base' Traceback (most recent call last): File "<string>", line 1, in <module> import mplcairo.base File "/builddir/build/BUILDROOT/python-mplcairo-0.5-7.fc40.x86_64/usr/lib64/python3.13/site-packages/mplcairo/__init__.py", line 27, in <module> from . import _mplcairo ImportError: cannot import name '_mplcairo' from partially initialized module 'mplcairo' (most likely due to a circular import) (/builddir/build/BUILDROOT/python-mplcairo-0.5-7.fc40.x86_64/usr/lib64/python3.13/site-packages/mplcairo/__init__.py) https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06784089-python-mplcairo/ For all our attempts to build python-mplcairo with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-mplcairo/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.