File tree Expand file tree Collapse file tree 8 files changed +31
-6
lines changed
Expand file tree Collapse file tree 8 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ stardoc_with_diff_test(
4242)
4343
4444stardoc_with_diff_test (
45- name = "pip " ,
46- bzl_library_target = "//pip /private:extension" ,
45+ name = "uv " ,
46+ bzl_library_target = "//uv /private:extension" ,
4747)
4848
4949update_docs (name = "update" )
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ _attrs = dict({
147147 "venv" : attr .string (
148148 doc = """The name of the Python virtual environment within which deps should be resolved.
149149
150- Part of the aspect_rules_py//pip system, has no effect in rules_python's pip.
150+ Part of the aspect_rules_py//uv system, has no effect in rules_python's pip.
151151""" ,
152152 ),
153153 "python_version" : attr .string (
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ bzl_library(
4949 name = "types" ,
5050 srcs = ["types.bzl" ],
5151 visibility = [
52- "//pip :__subpackages__" ,
52+ "//uv :__subpackages__" ,
5353 "//py:__subpackages__" ,
5454 ],
5555 deps = [],
Original file line number Diff line number Diff line change 1+ load ("@bazel_skylib//:bzl_library.bzl" , "bzl_library" )
2+
3+ package (default_visibility = ["//py:__subpackages__" , "//uv:__subpackages__" ])
4+
5+ bzl_library (
6+ name = "tools" ,
7+ srcs = ["tools.bzl" ],
8+ )
9+
10+ bzl_library (
11+ name = "version" ,
12+ srcs = ["version.bzl" ],
13+ )
14+
15+ bzl_library (
16+ name = "integrity" ,
17+ srcs = ["integrity.bzl" ],
18+ )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ bzl_library(
1515 ":sha1" ,
1616 "//uv/private/constraints:repository" ,
1717 "//uv/private/constraints/platform:defs" ,
18- "//uv/private/pip_hub :repository" ,
18+ "//uv/private/hub :repository" ,
1919 "//uv/private/sdist_build:repository" ,
2020 "//uv/private/tomltool:toml" ,
2121 "//uv/private/venv_hub:repository" ,
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ def generate():
2424 ],
2525 )
2626
27+ # TODO: Replace all this with the rules_python feature flags
2728 native .constraint_setting (
2829 name = "feature_pydebug" ,
2930 default_constraint_value = ":pydebug_disabled" ,
Original file line number Diff line number Diff line change @@ -44,7 +44,13 @@ def _platform(rctx):
4444def _host_platform_repo_impl (rctx ):
4545 rctx .file ("BUILD.bazel" , """
4646# DO NOT EDIT: automatically generated BUILD file
47- exports_files(["defs.bzl"])
47+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
48+
49+ bzl_library(
50+ name = "defs",
51+ srcs = ["defs.bzl"],
52+ visibility = ["//visibility:public"],
53+ )
4854""" )
4955
5056 platform = _platform (rctx )
You can’t perform that action at this time.
0 commit comments