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 1788121 - python-bottle fails to build with Python 3.9
Summary: python-bottle fails to build with Python 3.9
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bottle
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-06 13:29 UTC by Miro Hrončok
Modified: 2020-01-17 17:01 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github bottlepy/bottle/commit/eff4960d941b51629f8378b1bd9498ed2aec92c7 0 None None None 2020-01-06 13:31:42 UTC

Description Miro Hrončok 2020-01-06 13:29:51 UTC
python-bottle fails to build with Python 3.9.0a2.

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
Traceback (most recent call last):
  File "/builddir/build/BUILD/bottle-0.12.13/setup.py", line 10, in <module>
    import bottle
  File "/builddir/build/BUILD/bottle-0.12.13/bottle.py", line 86, in <module>
    from collections import MutableMapping as DictMixin
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib64/python3.9/collections/__init__.py)


The abcs can now only be imported from collections.abc.

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

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

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 3 Miro Hrončok 2020-01-17 17:01:41 UTC
I've merged my PR.


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