Bug 1790701

Summary: python-moksha-hub fails to build with Python 3.9
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: python-moksha-hubAssignee: Fedora Infrastructure SIG <infra-sig>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, infra-sig, lbalhar, lewk, mhroncok, rbean
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-02-11 09:03:38 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: 1790706    
Bug Blocks: 1785415    

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.