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 1595885 - subscription-manager FTBFS with Python 3.7
Summary: subscription-manager FTBFS with Python 3.7
Keywords:
Status: CLOSED DUPLICATE of bug 1606435
Alias: None
Product: Fedora
Classification: Fedora
Component: subscription-manager
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: candlepin-bugs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-06-27 16:44 UTC by Charalampos Stratakis
Modified: 2023-09-12 01:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-23 13:38:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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-12 01:29:39 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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