Skip to content

Commit fdfa1de

Browse files
committed
wip
1 parent d9a0d3b commit fdfa1de

File tree

5 files changed

+2549
-3533
lines changed

5 files changed

+2549
-3533
lines changed

MODULE.bazel

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ register_toolchains("@pythons_hub//:all")
5454
#####################
5555
# Install twine for our own runfiles wheel publishing and allow bzlmod users to use it.
5656

57-
pip = use_extension("//python/private/pypi:pip.bzl", "pip_internal")
57+
pip = use_extension("//python/extensions:pip.bzl", "pip")
5858
pip.parse(
59+
download_only = True,
60+
experimental_index_url = "https://pypi.org/simple",
5961
hub_name = "rules_python_publish_deps",
6062
python_version = "3.11",
6163
requirements_by_platform = {
@@ -89,17 +91,20 @@ dev_python.override(
8991
)
9092

9193
dev_pip = use_extension(
92-
"//python/private/pypi:pip.bzl",
93-
"pip_internal",
94+
"//python/extensions:pip.bzl",
95+
"pip",
9496
dev_dependency = True,
9597
)
9698
dev_pip.parse(
97-
download_only = True, # this will not add the `sdist` values to the transitive closures at all.
99+
download_only = True,
100+
experimental_index_url = "https://pypi.org/simple",
98101
hub_name = "dev_pip",
99102
python_version = "3.11",
100103
requirements_lock = "//docs:requirements.txt",
101104
)
102105
dev_pip.parse(
106+
download_only = True,
107+
experimental_index_url = "https://pypi.org/simple",
103108
hub_name = "pypiserver",
104109
python_version = "3.11",
105110
requirements_lock = "//examples/wheel:requirements_server.txt",

0 commit comments

Comments
 (0)