-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't write to Fromager's virtual env
Until now, Fromager was installing build dependencies into its virtual environment. The build dependencies were necessary to run `pyproject_hooks`. Some hooks expect build dependencies and build system providers to be installed. Fromager now uses a new virtualenv that is bound to the `WorkContext`. The build dependencies are installed into the work environment. The hook caller uses the interpreter from the work env instead of Fromager's interpreter. The context environment will eventually go away after we have refactored the code to use the package's build env. Signed-off-by: Christian Heimes <[email protected]>
- Loading branch information
Showing
4 changed files
with
69 additions
and
16 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