Bug 1980746

Summary: FastAPI does not support Flask 2.x, Jinja 3.x, itsdangerous 2.x
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: python-fastapiAssignee: Ben Beasley <code>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code
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: 2021-07-23 17:05:55 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: 1968972    

Description Ben Beasley 2021-07-09 12:31:00 UTC
Description of problem:

FastAPI upstream does not support the latest versions of the Pallets stack, including Flask 2.x, Jinja 3.x, and itsdangerous 2.x.


Version-Release number of selected component (if applicable): 0.66.0


How reproducible: 

Steps to Reproduce:
1. Inspect https://github.com/tiangolo/fastapi/blob/8cc6f9baac8342e7057e13161f9b73f3baa26e7b/pyproject.toml#L44

Actual results: Latest versions of the mentioned dependencies are not allowed.


Expected results: Latest versions of the mentioned dependencies are allowed.


Additional info:

Upstream bug: https://github.com/tiangolo/fastapi/issues/3512

Comment 1 Ben Beasley 2021-07-09 12:32:27 UTC
PR which will bring Flask 2.x, with comments and status on the overall Pallets stack: https://src.fedoraproject.org/rpms/python-flask/pull-request/8#comment-0

Comment 2 Ben Beasley 2021-07-23 17:05:55 UTC
I have patched pyproject.toml to work around this until upstream does something about it. I think this will work; there are other blockers to a successful build in Rawhide at the moment.