Bug 1788736 - python-flask fails to build with Python 3.9
Summary: python-flask fails to build with Python 3.9
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-flask
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rick Elrod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1711414
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-08 00:03 UTC by Charalampos Stratakis
Modified: 2020-01-15 12:07 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-15 12:07:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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