Bug 1898081
Summary: | python-jedi fails to build with Python 3.10: three tests fail [built without tests first] | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-jedi | Assignee: | Lumír Balhar <lbalhar> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 35 | CC: | carl, mhroncok, phracek, pviktori, 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: | 2021-12-01 13:42: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: | |||
Bug Blocks: | 1890881 |
Description
Miro Hrončok
2020-11-16 10:38:41 UTC
Latest upstream commit behaves the same. Bumping the severity here, an entire stack ipython stack depends on it. Petr, could you please take this upstream? Upstream issue created: https://github.com/davidhalter/jedi/issues/1732 Unfortunately, it seems that the fix will be much more complex than just adapting tests to new outputs. This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. This is getting complex because there aren't just compatibilities with Python 3.10 but also a need to implement support for the new pattern-matching syntax. I took this bug in a good faith that I'll be able to move it further or fix the problem entirely but I'm not able to do so. Ha, I forget that I'm the main admin of this package, lol 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/ The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build. FTR the actual blocker is in the parso project: https://github.com/davidhalter/parso/issues/138 Honestly, it seems that I won't be able to dive into it and come up with some solution. But the discussions upstream are kinda active so hopefully, I won't have to. I've tested ipython with Python 3.10 and there is no real issue caused by incompatible jedi. The only thing is that the new syntax Python 3.10 brings is not highlighted at all. I've just skipped the failing tests so the package builds again in rawhide. This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35. |