Bug 1790701 - python-moksha-hub fails to build with Python 3.9
Summary: python-moksha-hub fails to build with Python 3.9
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-moksha-hub
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1790706
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-14 00:08 UTC by Charalampos Stratakis
Modified: 2020-02-11 09:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-11 09:03:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Charalampos Stratakis 2020-01-14 00:08:44 UTC
python-moksha-hub fails to build with Python 3.9.0a2.

It seems most of the errors are related to the removal of the tostring() method from array.array: https://bugs.python.org/issue38916

tobytes() should be used instead.

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

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

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 Charalampos Stratakis 2020-01-14 00:11:15 UTC
On a closer inspection, this is due to twisted incompatibility with python 3.9. I'll keep this open till I verify that a fix on twisted will fix the issue here.

Comment 2 Miro Hrončok 2020-02-10 18:55:56 UTC
https://src.fedoraproject.org/rpms/python-txws/pull-request/3 fixes the problem.


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