Bug 1595885

Summary: subscription-manager FTBFS with Python 3.7
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: rawhideCC: alikins, awood, bkearney, candlepin-bugs, csnyder, khowell, mhroncok
Target Milestone: ---Keywords: Triaged
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: 2018-07-23 13:38:22 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:    
Bug Blocks: 1565020    

Description Charalampos Stratakis 2018-06-27 16:44:57 UTC
Currently 'async' is a keyword in Python 3.7, so subscription-manager FTBFS in rawhide:


*** Error compiling '/builddir/build/BUILDROOT/subscription-manager-1.21.5-2.fc29.x86_64/usr/lib64/python3.7/site-packages/subscription_manager/gui/allsubs.py'...
  File "/usr/lib64/python3.7/allsubs.py", line 23
    from subscription_manager import async
                                         ^
SyntaxError: invalid syntax
*** Error compiling '/builddir/build/BUILDROOT/subscription-manager-1.21.5-2.fc29.x86_64/usr/lib64/python3.7/site-packages/subscription_manager/gui/mysubstab.py'...
  File "/usr/lib64/python3.7/mysubstab.py", line 26
    from subscription_manager.async import AsyncBind
                                  ^
SyntaxError: invalid syntax
*** Error compiling '/builddir/build/BUILDROOT/subscription-manager-1.21.5-2.fc29.x86_64/usr/lib64/python3.7/site-packages/subscription_manager/gui/registergui.py'...
  File "/usr/lib64/python3.7/registergui.py", line 248
    self.async = AsyncBackend(self.backend)
             ^
SyntaxError: invalid syntax
*** Error compiling '/builddir/build/BUILDROOT/subscription-manager-1.21.5-2.fc29.x86_64/usr/lib64/python3.7/site-packages/subscription_manager/gui/reposgui.py'...
  File "/usr/lib64/python3.7/reposgui.py", line 29
    from subscription_manager.async import AsyncRepoOverridesUpdate
                                  ^
SyntaxError: invalid syntax

Comment 1 Kevin Howell 2018-06-28 14:20:51 UTC
Devs, let's not package the GUI when building for Python 3.

Comment 2 Miro Hrončok 2018-07-17 12:09:55 UTC
Any news here?

Comment 3 Miro Hrončok 2018-07-23 13:38:22 UTC

*** This bug has been marked as a duplicate of bug 1606435 ***

Comment 4 Red Hat Bugzilla 2023-09-14 04:30:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days