-
-
Notifications
You must be signed in to change notification settings - Fork 722
feat(uv): add --directory support for locking #4029
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
rickeylev
merged 24 commits into
bazel-contrib:main
from
aignas:aignas.chore.use_lock_everywhere
Sep 2, 2026
Merged
Changes from 14 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
fec0f55
wip
aignas 26a3d44
Merge branch 'main' into aignas.chore.use_lock_everywhere
aignas dfe095e
get the directory attr work
aignas aa1aa74
add versionadded
aignas cf92b3a
Add directory support to uv.lock generation
aignas 3a6697f
wip uv pip compile directory support for windows
aignas f190c9a
remove the script
aignas cfb1ce0
Merge branch 'upstream/main' into chore.use_lock_everywhere
rickeylev 090984e
fix(uv): add Windows batch template support and fix path remapping
rickeylev da074a7
test(uv): normalize backslashes when asserting script contents in loc…
rickeylev 673d01d
Merge branch 'upstream/main' into chore.use_lock_everywhere
rickeylev 7d5db8e
docs(uv): fix docstring formatting, version tag, and add news entry
rickeylev d422135
docs(uv): place versionadded block directive in lock macro docstring
rickeylev 803280a
feat(uv): use format=--project=%s style for project flag
rickeylev 26d6d99
chore(uv): restore explanatory build action comments in uv_lock.sh
rickeylev 9ffd154
Merge branch 'main' into aignas.chore.use_lock_everywhere
aignas 84b261b
fix versionadded
aignas 3209868
change: set default directory
aignas 3637243
add all of the locking targets to a single private target
aignas cd606ba
fix tests
aignas ea5cb06
better default value handling
aignas 8a6c1b2
adjust news
aignas 01d4ea1
Merge branch 'upstream/main' into chore.use_lock_everywhere
rickeylev 7a70450
fix(uv): address review findings for bzl_library, news entry, and bat…
rickeylev 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| (uv) Added {obj}`directory` attribute to {obj}`lock` to support running `uv` | ||
| commands within subdirectories when generating lock files | ||
| ([#4029](https://github.com/bazel-contrib/rules_python/pull/4029)). |
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
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.