diff --git a/examples/bzlmod/MODULE.bazel.lock b/examples/bzlmod/MODULE.bazel.lock index 6964e11fd7..d747ed35d7 100644 --- a/examples/bzlmod/MODULE.bazel.lock +++ b/examples/bzlmod/MODULE.bazel.lock @@ -1231,7 +1231,7 @@ }, "@@rules_python~//python/extensions:pip.bzl%pip": { "general": { - "bzlTransitiveDigest": "ofS5ggL4YnyCZejN3Rimf+XXWMSwuWypjGghv3fbAGY=", + "bzlTransitiveDigest": "vzdh1M3LRVqyF10AVUO1+FOE7CZwlZaFT+7RgQ4OKXg=", "usagesDigest": "MChlcSw99EuW3K7OOoMcXQIdcJnEh6YmfyjJm+9mxIg=", "recordedFileInputs": { "@@other_module~//requirements_lock_3_11.txt": "a7d0061366569043d5efcf80e34a32c732679367cb3c831c4cdc606adc36d314", @@ -6140,7 +6140,7 @@ }, "@@rules_python~//python/private/pypi:pip.bzl%pip_internal": { "general": { - "bzlTransitiveDigest": "LJJOkml9ZwY4i0WJnh+pN5fZUQLciL7hPL27L8kNYeI=", + "bzlTransitiveDigest": "TgRegkReKbGzK4VxYz9up697gcf5Q8NFuZYnZHryck8=", "usagesDigest": "Y8ihY+R57BAFhalrVLVdJFrpwlbsiKz9JPJ99ljF7HA=", "recordedFileInputs": { "@@rules_python~//tools/publish/requirements.txt": "031e35d03dde03ae6305fe4b3d1f58ad7bdad857379752deede0f93649991b8a", diff --git a/python/private/python_repositories.bzl b/python/private/python_repositories.bzl index 46b2e293bf..b65127b962 100644 --- a/python/private/python_repositories.bzl +++ b/python/private/python_repositories.bzl @@ -692,12 +692,7 @@ def python_register_toolchains( platform = platform, )) - host_toolchain( - name = name + "_host", - python_version = python_version, - user_repository_name = name, - platforms = loaded_platforms, - ) + host_toolchain(name = name + "_host") toolchain_aliases( name = name, diff --git a/python/private/toolchains_repo.bzl b/python/private/toolchains_repo.bzl index df16fb8cf7..21c4e905a4 100644 --- a/python/private/toolchains_repo.bzl +++ b/python/private/toolchains_repo.bzl @@ -314,14 +314,6 @@ toolchain_aliases repo because referencing the `python` interpreter target from this repo causes an eager fetch of the toolchain for the host platform. """, attrs = { - "platforms": attr.string_list( - doc = "List of platforms for which aliases shall be created", - ), - "python_version": attr.string(doc = "The Python version."), - "user_repository_name": attr.string( - mandatory = True, - doc = "The base name for all created repositories, like 'python38'.", - ), "_rule_name": attr.string(default = "host_toolchain"), "_rules_python_workspace": attr.label(default = Label("//:WORKSPACE")), },