Bug 1791216
Summary: | python-hypothesis fails to build with Python 3.9 with tests enabled: hypothesis.extra.pandas.impl imports Iterable, OrderedDict from collections | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-hypothesis | Assignee: | Miro Hrončok <mhroncok> |
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, hugovk+redhatbugzilla, igor.raits, mhroncok, michel, mplch, pingou, python-sig |
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-02-28 09:09:02 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-01-15 09:05:33 UTC
This has been fixed in Hypothesis 4.26.4 in July 2019. * https://pypi.org/project/hypothesis/4.26.4/ * https://github.com/HypothesisWorks/hypothesis/pull/2038 * https://github.com/HypothesisWorks/hypothesis/commit/784e192a9ea1300f5ddeb15ff2da4cbcc3e4bac9 Please update. > Our hypothesis version is quite old, but this is not yet even fixed in upstream master.
Oh, damn it, I've seen:
from collections import OrderedDict
And I was like: not fixed. Need some rest, OrderedDict is not an abstract base class.
Thanks Hugo.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. In Python 3.9.0a4 we have managed to revert the change that disables importing abstract base classes (collections.abc) directly form the regular collections module. It was reverted to ease transition for projects that did not yet actually dropped support for Python 2.7. The removal is scheduled for Python 3.10 instead. We are mass closing all the bug reports about build failures that were caused by this. Expect a new Bugzilla report in case this package fails to build with Python 3.9 for a different reason as well. In case you haven't done this already, we highly recommend to talk to your upstream and get this fixed anyway, because this will return in Python 3.10 and Python upstream is very unlikely to postpone this once more. In case you've already done that, thank you (this message is mass posted to all the relevant Bugzillas). |