[tor-bugs] #26811 [Core Tor/Stem]: tox fails with pip 10

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 16 18:11:43 UTC 2018


#26811: tox fails with pip 10
---------------------------+--------------------------
 Reporter:  dmr            |          Owner:  dmr
     Type:  defect         |         Status:  assigned
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  dev testing    |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------

Comment (by dmr):

 Here's a patch to remove `--allow-all-external`. `tox` now runs again:
 [[https://github.com/torproject/stem/pull/6|Pull request]] (branch head
 `8eed973786a81b103f03398d92af51aafb69807c`)

 However, this patch now produces unexpected output for `py27`:
 {{{
 Installing collected packages: stem
   Found existing installation: stem 1.6.0.dev0
     Not uninstalling stem at path/to/gitroot, outside environment
 path/to/gitroot/.tox/py27
     Can't uninstall 'stem'. No files were found to uninstall.
   Running setup.py develop for stem
 Successfully installed stem
 }}}
 In contrast to fine output in `py35`:
 {{{
 Installing collected packages: stem
   Found existing installation: stem 1.6.0.dev0
     Uninstalling stem-1.6.0.dev0:
       Successfully uninstalled stem-1.6.0.dev0
   Running setup.py develop for stem
 Successfully installed stem
 }}}
 I'm not sure why there's a difference between python2 and python3.
 The tests all appear to work fine.

 I've ran this patch locally for a few weeks to check further whether this
 has any effect on updating the stem installation. As far as I can tell,
 there's no negative effect - changing the test code results in different
 tests (as expected) and changing the implementation results in different
 test results (as expected).

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


More information about the tor-bugs mailing list