forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1739177: Add
requirements.pths_as_absolute()
r=ahal
There were a bunch of locations where we were doing path shenanigans with `requirements.pth/.vendored` items. There was a bit of complexity because we were specifically making each `pthfile` line be a relative path to support moving the Firefox topsrcdir without causing issues. However, now that we're more intelligent about checking if `pthfile` lines are up-to-date (and since moving your topsrcdir will still require re-generating the Mach virtualenv), this behaviour became less useful. So, generalize `MachEnvRequirements` -> "sys.path lines" logic and reuse it everywhere. Differential Revision: https://phabricator.services.mozilla.com/D129693
- Loading branch information
Mitchell Hentges
committed
Nov 4, 2021
1 parent
0511cbc
commit 67be954
Showing
4 changed files
with
15 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters