Bug 2059963
| Summary: | python-parameterized fails to build with pytest 7 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-parameterized | Assignee: | Miro Hrončok <mhroncok> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, igor.raits, thrnciar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-parameterized-0.8.1-1.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-09 10:32:46 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: | 2016048, 2045102, 2050629 | ||
|
Description
Miro Hrončok
2022-03-02 12:09:38 UTC
Based on the linked upstream bug, support for pytest 4 is still “coming,” and the last commit was about a year ago. A commenter points out that comparable functionality is in pytest 6 and later[1]. It looks like roughly the following packages still depend on this one: - dist-git - gtk-doc - m2crypto - matrix-synapse - pungi - python-aws-sam-translator - python-azure-keyvault-keys - python-dateparser - python-moreorless - python-theano I wonder if the easier route would be to patch the python-parameterized dependency out of those packages. [1] https://github.com/wolever/parameterized/issues/34#issuecomment-891900315 Upstream issue #122 seem to show exactly this error. https://github.com/wolever/parameterized/issues/122 *** Bug 2092233 has been marked as a duplicate of this bug. *** Ok, this now blocks the Python 3.11 rebuild: parameterized -> pungi -> bodhi -> fedpkg. Updating to 0.8.1 indeed does not fix this and only changes the test name that fails, as reported in https://github.com/wolever/parameterized/issues/122 As an absolute workaround, we might skip that one test. Ideally, we would get rid of the dependency in the long term. Interestingly, when deselecting the test, the previous test errors instead. Apparently, it's always the last one. That actually makes perfect sense, considering this is in tearDownModule :), sorry for the noise. FEDORA-2022-b320e0a5aa has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b320e0a5aa FEDORA-2022-b320e0a5aa has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |