-
-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use cp/mv more resiliently during pbs bootstrap (#21551)
## Before this PR The initial implementation of the python-build-standalone provider for hermetic python in #21422 failed on MacOS since the `cp` flags specified were incompatible ## After this PR Update the logic for copying the python-build-standalone binary into the sandbox originally set up in #21422 to do a `cp` and `mv` dance to be atomic, and support macOS and Linux. ## Test Plan Existing test coverage (now that we're properly running them across multiple platforms after annotating existing tests w/ `@pytest.mark.platform_specific_behavior`) --------- Co-authored-by: Rahul Mehta <[email protected]> Co-authored-by: Huon Wilson <[email protected]>
- Loading branch information
1 parent
036c61a
commit fdfd8d2
Showing
3 changed files
with
83 additions
and
6 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