Skip to content

Commit 47e7ccd

Browse files
committed
fix: add python_version to the lock rule
1 parent 8d04490 commit 47e7ccd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/uv/private/lock.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ modifications and the locking is not done from scratch.
182182
doc = "Public, see the docs in the macro.",
183183
default = True,
184184
),
185+
"python_version": attr.string(
186+
doc = "Public, see the docs in the macro.",
187+
),
185188
"srcs": attr.label_list(
186189
mandatory = True,
187190
allow_files = True,
@@ -364,6 +367,7 @@ def lock(
364367
env = env,
365368
existing_output = maybe_out,
366369
generate_hashes = generate_hashes,
370+
python_version = python_version,
367371
srcs = srcs,
368372
strip_extras = strip_extras,
369373
target_compatible_with = target_compatible_with,

0 commit comments

Comments
 (0)