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 1889722
Summary: | pycairo fails to build with Python 3.10: undefined symbol: PyObject_AsWriteBuffer | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | pycairo | Assignee: | Kalev Lember <klember> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | caillon+fedoraproject, dan, gnome-sig, john.j5live, klember, mclasen, mhroncok, rbean, rhughes, rstrode, sandmann, 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: | 2020-11-05 09:46:40 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: | 1493325 | ||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2020-10-20 13:05:06 UTC
https://docs.python.org/3.10/whatsnew/3.10.html#id4 PyObject_AsCharBuffer(), PyObject_AsReadBuffer(), PyObject_CheckReadBuffer(), and PyObject_AsWriteBuffer() are removed. Please migrate to new buffer protocol; PyObject_GetBuffer() and PyBuffer_Release(). https://bugs.python.org/issue41103 Somewhat related, we're stuck on an older pycairo release right now because having to support python2.7 for gimp. (In reply to Kalev Lember from comment #2) > Somewhat related, we're stuck on an older pycairo release right now because > having to support python2.7 for gimp. Have you considered building Python 2 pycairo from a dedicated component? I think we may have to do that, yes. There's not a whole lot going on in cairo land so it's been fine so far :) https://copr.fedorainfracloud.org/coprs/g/python/python3.10/build/1744609/ succeeded in the copr now that we updated pycairo to 1.20.0 so I think we can close this now. |