From 7863854a09226f1ff7cb88edfb9ff5eedadb369f Mon Sep 17 00:00:00 2001 From: Ignas Anikevicius <240938+aignas@users.noreply.github.com> Date: Sun, 7 Dec 2025 10:56:49 +0900 Subject: [PATCH] chore(bzlmod): assume that we can always mark the extension as reproducible --- python/private/pypi/extension.bzl | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/python/private/pypi/extension.bzl b/python/private/pypi/extension.bzl index be1a8e4d03..933b6560ed 100644 --- a/python/private/pypi/extension.bzl +++ b/python/private/pypi/extension.bzl @@ -14,7 +14,6 @@ "pip module extension for use with bzlmod" -load("@bazel_features//:features.bzl", "bazel_features") load("@pythons_hub//:interpreters.bzl", "INTERPRETER_LABELS") load("@pythons_hub//:versions.bzl", "MINOR_MAPPING") load("@rules_python_internal//:rules_python_config.bzl", rp_config = "config") @@ -385,13 +384,9 @@ def _pip_impl(module_ctx): groups = mods.hub_group_map.get(hub_name), ) - if bazel_features.external_deps.extension_metadata_has_reproducible: - # NOTE @aignas 2025-04-15: this is set to be reproducible, because the - # results after calling the PyPI index should be reproducible on each - # machine. - return module_ctx.extension_metadata(reproducible = True) - else: - return None + return module_ctx.extension_metadata( + reproducible = True, + ) _default_attrs = { "arch_name": attr.string(