Bug 2019006
Summary: | python-mock fails to build with Python 3.11: AttributeError: 'MockTest' object has no attribute 'assertRegexpMatches' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-mock | Assignee: | Tomáš Hrnčiar <thrnciar> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | hugovk+redhatbugzilla, mhroncok, python-sig, thrnciar, TicoTimo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-mock-4.0.3-1.fc36 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-01-12 11:16:08 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: | 1992484, 2016048 |
Description
Tomáš Hrnčiar
2021-11-01 13:22:12 UTC
Looks fixed in the mock backport version 4.0.0, released Feb 2020. https://github.com/testing-cabal/mock/pull/476 https://github.com/testing-cabal/mock/commit/ce5b6961d0b38b9f26e6bffabf46fadfc55696ba https://github.com/testing-cabal/mock/releases/tag/4.0.0 Latest is 4.0.3, Dec 2020. https://pypi.org/project/mock/ I haven't been updating mock in Fedora as it is deprecated there: https://fedoraproject.org/wiki/Changes/DeprecatePythonMock Maybe we should do it to unblock this and if it breaks some packages, migrate them to the standard library. FEDORA-2022-2f5141c1dd has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2f5141c1dd FEDORA-2022-2f5141c1dd has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |