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 1602094 - python-stem fails to build on python 3.7
Summary: python-stem fails to build on python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-stem
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Juan Orti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-07-17 19:38 UTC by Marcel Haerry
Modified: 2018-07-17 22:27 UTC (History)
2 users (show)

Fixed In Version: python-stem-1.6.0-5.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-17 22:27:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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