[tor-bugs] #30596 [Core Tor/Stem]: stem tests expect platform.linux_distribution, which does not exist in python 3.8

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 24 13:56:26 UTC 2019


#30596: stem tests expect platform.linux_distribution, which does not exist in
python 3.8
---------------------------+------------------------
 Reporter:  teor           |          Owner:  atagar
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  ci, travis     |  Actual Points:
Parent ID:  #28170         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by Guinness):

 It looks like the only way to replace the platform.linux_distribution
 method (and advised by python (see
 [https://docs.python.org/3/library/platform.html#platform.linux_distribution
 here]) is to use the [https://pypi.org/project/distro/ distro] package.
 If this is okay for you, I can handle this one and attach the patch here
 (or a link to the commit on my clone of stem).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30596#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list