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 1902618
Summary: | python-pyside2 fails to build with Python 3.10: Py_REFCNT= needs to be replaced with Py_SET_REFCNT | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-pyside2 | Assignee: | Richard Shaw <hobbes1069> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | code, hobbes1069, kiricowell97, lauralordelaure, laurent.rineau__fedora, mhroncok, thrnciar, tuju, vstinner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-pyside2-5.15.2-4.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-15 20:14: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: | 1890881, 1927309, 1927313, 1968805, 1968835, 1968868, 1969197 |
Description
Tomáš Hrnčiar
2020-11-30 08:02:18 UTC
Victor, please take a look. I'm working on a fix: https://src.fedoraproject.org/rpms/python-pyside2/pull-request/7 I reported the issue to Qt upstream (PySide project): https://bugreports.qt.io/browse/PYSIDE-1436 Upstream is having a very active discussion on the fix so I would rather wait for them than apply the patch which just makes it "build". Hopefully they'll provide a patch (or something that I can make a patch from) and we won't have to wait until the next patch release. This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla. The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide. You can either build the package in the side tag, with: $ fedpkg build --target=f35-python Or you can the build and we will eventually build it for you. Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/ Looks like upstream didn’t come through in time for the mass rebuild. The last update in the discussion was > It is under test, and there are a few critical bugs with debug builds. on 2021-05-13. The proposed patch set is https://codereview.qt-project.org/c/pyside/pyside-setup/+/348390; the notes say: > Unfortunately, there are a couple of bugs remaining which > need further investigation. (Built with debug mode) > Some bugs are infinite loops. > > The test script breaks with unicode errors, which needs > fixing, before continuing on this. What do you think should be done? The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build. *** Bug 1960117 has been marked as a duplicate of this bug. *** *** Bug 1969107 has been marked as a duplicate of this bug. *** Nope, no fix from upstream as of yet. Porting pyside2 to Python 3.10 is beyond me, anyone else care to take a stab at it? It doesn't seem like upstream is in any hurry. Let's see if https://codereview.qt-project.org/c/pyside/pyside-setup/+/348390 is any better than the status quo. I can build it in Copr and see if the dependent packages build. Built. I've triggered builds for the dependent packages. |