[tor-bugs] #31447 [Applications/Tor Browser]: Don't install python just for mach

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 19 17:09:16 UTC 2019


#31447: Don't install python just for mach
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, ff68-esr,                   |  Actual Points:
  TorBrowserTeam201908R                          |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by boklm):

 * keywords:  tbb-rbm, ff68-esr => tbb-rbm, ff68-esr, TorBrowserTeam201908R
 * status:  new => needs_review


Comment:

 The python we are building is version 3.6.8. However, the page about
 `mach` says:
   Mach also requires Python 2.7. Mach itself is Python 3 compliant, but
 modules used by mach likely are not Python 3 compliant - so stick to
 Python 2.7.
 https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/mach

 So unless this page is outdated, it looks correct to install two different
 versions of python.

 In branch `bug_31447_v2` I added a patch updating the comment about the
 python package:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_31447_v2&id=ace69bc2a6abb9bc5aaba625eb9a693ae2e2a5c7

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


More information about the tor-bugs mailing list