Skip to content

Commit 09b126e

Browse files
committed
Merge branch 'main' of https://github.com/bazel-contrib/rules_python into tests.use.pbs.for.local.toolchain
2 parents 0ec5d07 + c4935b1 commit 09b126e

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ END_UNRELEASED_TEMPLATE
7979
length errors due to too long environment variables.
8080
* (bootstrap) {obj}`--bootstrap_impl=script` now supports the `-S` interpreter
8181
setting.
82-
* (venvs) {obj}`--vens_site_packages=yes` no longer errors when packages with
82+
* (venvs) {obj}`--venvs_site_packages=yes` no longer errors when packages with
8383
overlapping files or directories are used together.
8484
([#3204](https://github.com/bazel-contrib/rules_python/issues/3204)).
85+
* (uv) {obj}`//python/uv:lock.bzl%lock` now works with a local platform
86+
runtime.
8587

8688
{#v0-0-0-added}
8789
### Added

docs/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ sphinx_stardocs(
106106
"//python/cc:py_cc_toolchain_bzl",
107107
"//python/cc:py_cc_toolchain_info_bzl",
108108
"//python/entry_points:py_console_script_binary_bzl",
109+
"//python/extensions:config_bzl",
109110
"//python/extensions:python_bzl",
110111
"//python/local_toolchains:repos_bzl",
111112
"//python/private:attr_builders_bzl",

python/private/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ bzl_library(
197197
bzl_library(
198198
name = "internal_config_repo_bzl",
199199
srcs = ["internal_config_repo.bzl"],
200-
deps = [":bzlmod_enabled_bzl"],
200+
deps = [
201+
":repo_utils_bzl",
202+
":text_util_bzl",
203+
],
201204
)
202205

203206
bzl_library(

python/uv/private/lock.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _lock_impl(ctx):
106106
exec_tools = ctx.toolchains[EXEC_TOOLS_TOOLCHAIN_TYPE].exec_tools
107107
runtime = exec_tools.exec_interpreter[platform_common.ToolchainInfo].py3_runtime
108108
python = runtime.interpreter or runtime.interpreter_path
109-
python_files = runtime.files
109+
python_files = runtime.files or depset()
110110
args.add("--python", python)
111111
args.add_all(srcs)
112112

0 commit comments

Comments
 (0)