-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: checked-in requirements imports generated requirements (#1053)
* fix: checked-in requirements imports generated requirements Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: shutil.copy instead of shutil.copyfile This allows copying from one filesystem to another, as the `os.rename` (used by copyfile) doesn't work with multiple filesystems. Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: patch os.replace to use shutil.copy Same as the previous commit. Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: runfiles.Rlocation requires paths to be normalized Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: drop rules_python from import This is not compatible with bzlmod. Importing python.runfiles works for both ways. Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: remove unnecessary runfiles Signed-off-by: Thulio Ferraz Assis <[email protected]> * doc: why os.replace = shutil.copy Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: allow the test to still be remote cacheable Signed-off-by: Thulio Ferraz Assis <[email protected]> * doc: why shutil.copy Signed-off-by: Thulio Ferraz Assis <[email protected]> * doc: add missing punctuation Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: remove unnecessary _fix_up_requirements_in_path Signed-off-by: Thulio Ferraz Assis <[email protected]> * test: make sure the locked requirements is updated Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: copy requirements back into src tree if needed Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: make sure windows uses forward slashes Signed-off-by: Thulio Ferraz Assis <[email protected]> --------- Signed-off-by: Thulio Ferraz Assis <[email protected]>
- Loading branch information
Showing
6 changed files
with
76 additions
and
55 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
-r requirements.in |
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