Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
venv: Use tagged zipfiles for downloaded wheels (#1650)
* Use the MU_LOG_TO_STDOUT envvar to turn on stdout logging and to disable the crash handler Use version-tagged zips for the downloaded packages * Refactor slightly partly to support easier testing * Test the right exception if the download fails * Pushing latest changes although incomplete -- Still tests failing and some coverage missing after refactor * Iterate over the files in the folder, not the name of the folder(!) * Ensure we can use glob * Tidy * Ignore generated zip files * Refactor baseline install test to allow for the fact that we now install from zips, not from files * Tweak tests for logging setup to allow for MU_LOG_TO_STDOUT env var * Tidy * Disable the pip version check when downloading wheels Always add the temp download area to the search patch for downloading wheels. This should work for the MacOS shim where we have to download a signed wheel for pygame and then be sure to use that in preference to the PyPI version * Add more useful function comments Remove (again) `upgrade_pip` + Tidy
- Loading branch information
Showing
7 changed files
with
193 additions
and
143 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,3 +88,4 @@ target/ | |
/baseline_packages.json | ||
venv-pup/ | ||
/local-scripts | ||
/mu/wheels/*.zip |
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
Oops, something went wrong.