Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1788565 - python-werkzeug fails to build with Python 3.9
Summary: python-werkzeug fails to build with Python 3.9
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-werkzeug
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rick Elrod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1690599
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-07 14:09 UTC by Miro Hrončok
Modified: 2020-01-15 12:07 UTC (History)
8 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:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-07 14:09:09 UTC
python-werkzeug fails to build with Python 3.9.0a2.

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sphinx/config.py", line 361, in eval_config_file
    execfile_(filename, namespace)
  File "/usr/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 81, in execfile_
    exec(code, _globals)
  File "/builddir/build/BUILD/Werkzeug-0.14.1/docs/conf.py", line 58, in <module>
    from werkzeug import __version__ as release
  File "/builddir/build/BUILD/Werkzeug-0.14.1/docs/werkzeug/__init__.py", line 151, in <module>
    __import__('werkzeug.exceptions')
  File "/builddir/build/BUILD/Werkzeug-0.14.1/docs/werkzeug/exceptions.py", line 71, in <module>
    from werkzeug.wrappers import Response
  File "/builddir/build/BUILD/Werkzeug-0.14.1/docs/werkzeug/wrappers.py", line 27, in <module>
    from werkzeug.http import HTTP_STATUS_CODES, \
  File "/builddir/build/BUILD/Werkzeug-0.14.1/docs/werkzeug/http.py", line 1148, in <module>
    from werkzeug.datastructures import Accept, HeaderSet, ETags, Authorization, \
  File "/builddir/build/BUILD/Werkzeug-0.14.1/docs/werkzeug/datastructures.py", line 16, in <module>
    from collections import Container, Iterable, MutableSet
ImportError: cannot import name 'Container' from 'collections' (/usr/lib64/python3.9/collections/__init__.py)

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

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

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-07 14:13:47 UTC
This has been fixed upstream in https://github.com/pallets/werkzeug/commit/759aa6836d3734ae8587656941185d4d6c947966 - 0.16.0  0.15.6 0.15.5 0.15.4 0.15.3 0.15.2 0.15.1 0.15.0


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