Bug 1602094

Summary: python-stem fails to build on python 3.7
Product: [Fedora] Fedora Reporter: Marcel Haerry <mh+fedora>
Component: python-stemAssignee: Juan Orti <jorti>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jorti, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-stem-1.6.0-5.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-17 22:27:41 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 Marcel Haerry 2018-07-17 19:38:26 UTC
Description of problem:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1123105
https://kojipkgs.fedoraproject.org//work/tasks/415/28290415/build.log

Writing /builddir/build/BUILDROOT/python-stem-1.6.0-4.fc29.noarch/usr/lib/python3.7/site-packages/stem-1.6.0-py3.7.egg-info
  File "/usr/lib/python3.7/site-packages/stem/util/test_tools.py", line 151
    self.method.async = self
                    ^
SyntaxError: invalid syntax

This is fixed upstream:

https://trac.torproject.org/projects/tor/ticket/26739

Patch is easy:

https://gitweb.torproject.org/stem.git/commit/?id=6c677b6

Comment 1 Marcel Haerry 2018-07-17 19:39:33 UTC
This also blocks building python-onionbalance.

Comment 2 Marcel Haerry 2018-07-17 19:56:32 UTC
PR for spec: https://src.fedoraproject.org/rpms/python-stem/pull-request/1

Comment 3 Juan Orti 2018-07-17 20:15:40 UTC
I'm on holidays and with limited Internet until July 31. If some proven packager want to patch it, please, go on.