File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ EXPERIMENTAL: This is experimental and may be removed without notice
1818A module extension for working with uv.
1919"""
2020
21+ load ("@bazel_features//:features.bzl" , "bazel_features" )
2122load ("//python/private:auth.bzl" , "AUTH_ATTRS" , "get_auth" )
2223load ("//python/private:common_labels.bzl" , "labels" )
2324load (":toolchain_types.bzl" , "UV_TOOLCHAIN_TYPE" )
@@ -373,6 +374,11 @@ def _uv_toolchain_extension(module_ctx):
373374 hub_name = "uv" ,
374375 )
375376
377+ if bazel_features .external_deps .extension_metadata_has_reproducible :
378+ return module_ctx .extension_metadata (reproducible = True )
379+ else :
380+ return None
381+
376382def _overlap (first_collection , second_collection ):
377383 for x in first_collection :
378384 if x in second_collection :
You can’t perform that action at this time.
0 commit comments