-
-
Notifications
You must be signed in to change notification settings - Fork 594
feat: uv lock rule instead of genrule #2657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
aignas
merged 19 commits into
bazel-contrib:main
from
aignas:uv-lock-rule-instead-of-genrule
Mar 27, 2025
Merged
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
7a37d5d
feat: uv lock rule instead of genrule
aignas 363780a
fixup
aignas 31370ea
decrease the diff for the py_exec_tools_toolchain
aignas 69cb0b4
revert the py_exec_tools_toolchain file
aignas a613d27
fix the RBE config by forwarding the runtime to the exec_tools_info
aignas dd8d449
add a note about RBE
aignas d8bdd3c
fix the sentinel
aignas 5dc2ba3
add tags for the test locks
aignas 2e7211e
add docs
aignas b3bd1c9
add a note about the exec toolchain changes.
aignas afe308c
Update py_exec_tools_toolchain.bzl docs
aignas 0573d6b
Update python/uv/lock.bzl
aignas 64c6c8c
Update python/private/py_exec_tools_info.bzl
aignas 318a462
Delete tests/support/remote-toolchains/BUILD.bazel
aignas 0ce1ea5
Merge branch 'main' into uv-lock-rule-instead-of-genrule
aignas db046aa
retain the universal requirements for the bzlmod example
aignas 75c9250
Merge branch 'main' into uv-lock-rule-instead-of-genrule
aignas 5220b28
comment: address most of the comments
aignas f63d582
revert the exec_tools changes
aignas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 | ||||
---|---|---|---|---|---|---|
|
@@ -25,6 +25,10 @@ SentinelInfo = provider( | |||||
|
||||||
def _sentinel_impl(ctx): | ||||||
_ = ctx # @unused | ||||||
return [SentinelInfo()] | ||||||
return [ | ||||||
SentinelInfo(), | ||||||
# Also output ToolchainInfo | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
platform_common.ToolchainInfo(), | ||||||
] | ||||||
|
||||||
sentinel = rule(implementation = _sentinel_impl) |
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
if defined BUILD_WORKSPACE_DIRECTORY ( | ||
set "out=%BUILD_WORKSPACE_DIRECTORY%\{{src_out}}" | ||
) else ( | ||
exit /b 1 | ||
) | ||
|
||
"{{args}}" --output-file "%out%" %* |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.