-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an override module repos feature
- Loading branch information
Showing
17 changed files
with
3,728 additions
and
1,725 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
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,7 @@ | ||
load("@rules_python//python:defs.bzl", "py_library") | ||
|
||
py_library( | ||
name = "test", | ||
visibility = ["//visibility:public"], | ||
deps = ["@pip_deps//:platformdirs"], | ||
) |
18 changes: 18 additions & 0 deletions
18
private/tests/override_module_repos/overridee/MODULE.bazel
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,18 @@ | ||
module( | ||
name = "overridee", | ||
version = "1.0", | ||
) | ||
|
||
bazel_dep(name = "rules_python", version = "0.34.0") | ||
bazel_dep(name = "rules_req_compile") | ||
local_path_override( | ||
module_name = "rules_req_compile", | ||
path = "../../../..", | ||
) | ||
|
||
requirements = use_extension("@rules_req_compile//extensions:python.bzl", "requirements") | ||
requirements.parse( | ||
name = "pip_deps", | ||
requirements_lock = ":requirements.txt", | ||
) | ||
use_repo(requirements, "pip_deps") |
Oops, something went wrong.