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 1818007
Summary: | kdevelop-python fails to build with Python 3.9: 'Python::Ast* Python::PythonAstTransformer::visitNode' conflicts with a previous declaration | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | kdevelop-python | Assignee: | Minh Ngo <nlminhtl> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | cstratak, jgrulich, kde-sig, mail, me, mhroncok, mplch, nlminhtl, thrnciar |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kdevelop-python-5.5.2-4.fc33, kdevelop-python-5.5.2-4.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-24 11:57:27 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: | 1803234, 1785415 |
Description
Miro Hrončok
2020-03-27 12:27:16 UTC
I opened upstream bug: https://bugs.kde.org/show_bug.cgi?id=419290 This comment is mass posted to all bugs blocking the Python 3.9 tracker, sorry if it is not 100 % relevant. When in doubt, please ask. The Python 3.9 rebuild is in progress in a Koji side tag. If you fix this bug, please don't rebuild the package in regular rawhide, but do it in the side tag with: $ fedpkg build --target=f33-python The rebuild is progressing slowly and it is possible this package won't have all the required build dependencies yet. If that's the case, please just leave the fix committed and pushed and we will eventually rebuild it for you. You are not asked to go and try rebuild all the missing dependencies yourself. If you know there is a bootstrap loop in the dependencies, let me know and we can untangle it together. If you want to test your fix or reproduce the failure, you can still use the Copr repo mentioned in the initial comment of this bug: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Python 3.9 update: The f33-python side tag is currently being merged. New builds in f33-python are no longer possible, but python3 is not yet updated to Python 3.9 in rawhide. You can check when Python is Python 3.9 with: $ koji wait-repo f33-build --build python3.9-3.9.0~b1-3.fc3 And build the packages normally after that. Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain). All subpackages of a package agaisnt which this bug was filled are now installable or removed from Fedora 33. Thanks for taking care of it! The following builds were made after this report was opened: kdevelop-python-5.5.1-1.fc33 Sorry, closed by accident, this package still fails to build. This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. This is fixed upstream in both master and 5.6 branches (but unfortunately not the recent 5.6-beta1). Hello. This comment is mass posted to all 16 bugzillas for packages that failed to rebuild with Python 3.9 (and, in most cases, also fail to install on Fedora 33 and 34). Apologies if some of the suggestions or questions don't apply 100%. Fedora 33 Beta Freeze starts next week on Tuesday, 2020-08-25. I haven't spammed this bugzilla because it is in ASSIGNED, or I've seen upstream has been notified. Please consider what to do here. Is this failure critical? For example, can a test be temporarily skipped to make this package build? Is it possible to fix or workaround the failure before Fedora 33 Beta? Or before Fedora 33 Final? If not, would it make sense to retire the package (even temporarily) before the release to unblock updates from Fedora 31 or Fedora 32? In case you need any assistance with a Python-related problem with the build, don't hesitate to let me know and I'll try to have a look. Thank you! Given that KDevelop/kdev-python 5.6 final won't be released for a few weeks, and thus will presumably miss the Fedora freeze, I've tested and pushed a 5.5-python39 branch with the necessary patches. The changes are too intrusive to justify backporting to 5.5.x proper. (In reply to Francis Herne from comment #10) > Given that KDevelop/kdev-python 5.6 final won't be released for a few weeks, > and thus will presumably miss the Fedora freeze, I've tested and pushed a > 5.5-python39 branch with the necessary patches. The changes are too > intrusive to justify backporting to 5.5.x proper. Can you open a PR so we can push it at least to rawhide? (In reply to Jan Grulich from comment #11) > Can you open a PR so we can push it at least to rawhide? What system do you want a PR on? The branch in question is in the repo, you can browse it at https://invent.kde.org/kdevelop/kdev-python/-/tree/5.5-python39 [to avoid possible confusion, I'm the current upstream maintainer of kdev-python, but not very familiar with Fedora's processes] (In reply to Francis Herne from comment #12) > (In reply to Jan Grulich from comment #11) > > > Can you open a PR so we can push it at least to rawhide? > > What system do you want a PR on? The branch in question is in the repo, you > can browse it at > https://invent.kde.org/kdevelop/kdev-python/-/tree/5.5-python39 > > [to avoid possible confusion, I'm the current upstream maintainer of > kdev-python, but not very familiar with Fedora's processes] I thought you have a branch in Fedora dist-git. Anyway, I took your changes and pushed them to Rawhide. It builds now, thanks for your help. Confirmed that this has been fixed in rawhide as well as Fedora 33. Thank You both! $ rpm -qp --requires kdevelop-python-5.5.2-4.fc33.x86_64.rpm | grep python libkdevpythoncompletion.so()(64bit) libkdevpythonduchain.so()(64bit) libkdevpythonparser.so()(64bit) libpython3.9.so.1.0()(64bit) $ rpm -qp --requires kdevelop-python-5.5.2-4.fc34.x86_64.rpm | grep python libkdevpythoncompletion.so()(64bit) libkdevpythonduchain.so()(64bit) libkdevpythonparser.so()(64bit) libpython3.9.so.1.0()(64bit) |