Bug 2290559
Summary: | python-starlette fails to build with Python 3.13: KeyError: 'content-type', ValueError: I/O operation on closed file. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-starlette | Assignee: | Ben Beasley <code> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | code, fti-bugs, ksurma, mhroncok, paul.wouters, rominf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-starlette-0.37.2-6.fc41 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-06-15 12:23:28 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: | 2260875, 2260877, 2244836, 2291530, 2291697, 2291807, 2291813, 2291842, 2291901, 2291914, 2291923 |
Description
Karolina Surma
2024-06-05 14:49:18 UTC
I opened an upstream “discussion,” https://github.com/encode/starlette/discussions/2610; upstream doesn’t want issues opened without screening them through a discussion first. Following the upstream's advice, I opened issues in the project. *** Bug 2291931 has been marked as a duplicate of this bug. *** Since it’s not easy to understand what needs to be patched here, reporting these tests upstream and waiting for a fix is probably the best we can do. For this reason, and since the failing tests are relatively small in number, it would seem to make sense to just skip them and move on until upstream can provide a fix. The problem is that the failures in https://github.com/encode/starlette/issues/2615 aren’t really confined to the originally-reported tests. If you skip those tests, they appear in different tests – and if you skip those, they appear in different tests – and so on, almost endlessly. I can successfully ignore the problem by adding -W ignore::pytest.PytestUnraisableExceptionWarning to the pytest arguments. I don’t really *like* wallpapering over the problem like this, but I think in this case it is better to build a mostly-OK Starlette and unblock the many dependent packages than to wait on a proper fix. FEDORA-2024-3c2a4b0d91 (python-starlette-0.37.2-6.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3c2a4b0d91 FEDORA-2024-3c2a4b0d91 (python-starlette-0.37.2-6.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |