Bug 1830976
Summary: | python-hypothesis fails to build with Python 3.9: TypeError: __new__() missing 3 required positional arguments: 'val', 'l', and 'r' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-hypothesis | Assignee: | Michel Lind <michel> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, igor.raits, mhroncok, michel, mplch, pingou, python-sig |
Target Milestone: | --- | Keywords: | Reopened |
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-05-12 19:05:14 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: | 1785415 |
Description
Miro Hrončok
2020-05-04 12:33:07 UTC
ack. we should fix this upstream sooner rather than later Looks like 5.10.5 succeeded, and the dependent -fspath package also builds. I'm updating Rawhide to 5.12.0, but rebuilding locally first with the python39 repo to make sure there's no regression. Sorry for the confusion. I've built 5.10.5 with tests disabled to unblock myself. Will need to do the same for 5.12.0. Ah, I wondered, since the local build on my machine did fail. Thanks, I'll try and patch it then. The code is a bit hairy so it might take some debugging. Maybe try reporting this upstream first? I did -- https://github.com/HypothesisWorks/hypothesis/issues/2427. Then realized when writing up the issue that the fix is trivial -- typed NamedTuple are weird and Hypothesis was using some heuristics to identify them, except of course the attribute they were detecting on got deprecated in 3.8 and is removed in 3.9. https://github.com/HypothesisWorks/hypothesis/pull/2428 local build is fine, the Rawhide 5.13.0 build has my PR patch applied. Hope this gets merged soon (upstream seems to be cutting a release on a weekly basis, which is wild). Awesome, thanks!
> upstream seems to be cutting a release on a weekly basis, which is wild
Indeed wild.
Oh, they release all merged PRs: https://hypothesis.works/articles/continuous-releases/ (In reply to Miro Hrončok from comment #8) > Oh, they release all merged PRs: > https://hypothesis.works/articles/continuous-releases/ Yeah, I found out when CI failed on my PR until I added a release notes file :) 5.13.1 is out with my patch upstreamed, doing a test build for Rawhide now. |