Bug 2143072 - Please branch and build python-fastapi for f37
Summary: Please branch and build python-fastapi for f37
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-fastapi
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-16 00:42 UTC by rj.layco
Modified: 2022-11-23 01:17 UTC (History)
3 users (show)

Fixed In Version: python-fastapi-0.84.0-3.fc37
Clone Of:
Environment:
Last Closed: 2022-11-23 01:17:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description rj.layco 2022-11-16 00:42:36 UTC
Description of problem:

The f37 build for fastapi is missing. Can you please branch and build a version for f37


Thank you

Comment 1 Ben Beasley 2022-11-16 12:34:38 UTC
Prior to the release of F37, I retired the package in F37 due to an intractable Python 3.11 incompatibility (bug 2098906). It was not fixed or visibly worked on for a long time, and I couldn’t fix it downstream. It was not clear that FastAPI could ever be packaged for F37.

The problem was eventually fixed in the python-pydantic dependency and released as part of pydantic 1.10.0. After it was updated in F38/Rawhide, I was able to unretire python-fastapi there. However, pydantic couldn’t be updated in F37 at that point because there were API breaks in the necessary release, and we were deep into the Final Freeze for F37.

Finally, I figured out how to backport the fix to the version of pydantic in F37 without bringing along the API breaks included in 1.10.0[1]. The patched pydantic is in F37[2], so I finally was able to unretire python-fastapi in F37[3]. I have already done the work of selecting the latest FastAPI version compatible with the dependencies available in F37 and preparing the F37 version of the spec file, so I hope to have a python-fastapi package in updates-testing for F37 shortly.

Hopefully this background helps you understand why the package was not available as part of the F37 release. When I do prepare a package for F37, there will be a link in this bug, and any testing you can do will be appreciated.

[1] https://src.fedoraproject.org/rpms/python-pydantic/pull-request/4
[2] https://bodhi.fedoraproject.org/updates/FEDORA-2022-7d771c3170
[3] https://pagure.io/releng/issue/11132

Comment 2 rj.layco 2022-11-16 22:28:49 UTC
Thank you for reply and all your work on this. Really appreciate it.

Comment 3 Fedora Update System 2022-11-17 14:54:14 UTC
FEDORA-2022-561fbfdbf7 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-561fbfdbf7

Comment 4 Fedora Update System 2022-11-18 02:45:03 UTC
FEDORA-2022-561fbfdbf7 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-561fbfdbf7 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-561fbfdbf7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-11-23 01:17:03 UTC
FEDORA-2022-561fbfdbf7 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.