Bug 1788736

Summary: python-flask fails to build with Python 3.9
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: python-flaskAssignee: Rick Elrod <relrod>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: contribs, cstratak, danielmyoung, hushan.jia, ian, itamar, karlthered, mhroncok, puiterwijk, python-sig, relrod, tflink
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: 2020-01-15 12:07:41 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: 1711414    
Bug Blocks: 1785415    

Description Charalampos Stratakis 2020-01-08 00:03:52 UTC
python-flask fails to build with Python 3.9.0a2.

Initially the failure was due to removal of access from collections to collections.abc. See https://github.com/python/cpython/commit/ef092fe9905f61ca27889092ca1248a11aa74498

This is fixable in flask/sessions.py with:

-from collections import MutableMapping
+from collections.abc import MutableMapping

However there are some test case failures after that.

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01140779-python-flask/

For all our attempts to build python-flask with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-flask/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33, but the initial bootstrapping has already started.
A build failure this early in the bootstrap sequence blocks us very much.

Comment 1 Miro Hrončok 2020-01-08 00:26:55 UTC
Dos this get the job done? https://src.fedoraproject.org/rpms/python-flask/pull-request/6

Comment 2 Miro Hrončok 2020-01-08 07:22:13 UTC
It does.