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 1834187
Summary: | python-rope fails to build with Python 3.9: uses removed threading.Thread.isAlive() | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||
Component: | python-rope | Assignee: | Mukundan Ragavan <nonamedotc> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | cstratak, igor.raits, mhroncok, mplch, nonamedotc, pviktori | ||||
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-06-04 23:43:07 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, 1841727 | ||||||
Attachments: |
|
Description
Miro Hrončok
2020-05-11 09:29:50 UTC
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. *** Bug 1842147 has been marked as a duplicate of this bug. *** I don't think I know how to fix this failing test. Help needed! :) I can disable the two tests that fail for the time being though - https://koji.fedoraproject.org/koji/taskinfo?taskID=45332662 Just this - PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v -k "not ( type_hinting_test or advanced_oi_test )" Created attachment 1694627 [details]
py3.9 fix patch
I created a patch for one of the issues and that makes type_hinting_test pass. You can apply at the SPEC file.
This should ideally be forwarded upstream.
However advanced_oi_test.py still fails for me and the failures are of this type:
AssertionError: <rope.base.pyobjectsdef.PyClass object at 0x7faf13114f70> != <rope.base.pyobjects.PyObject object at 0x7faf13545760>
Mukundan, could you report it upstream? Petr, yes absolutely. I will report it today. Built on rawhide disabling advanced_oi_test. Upstream bug report filed. 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! |