File tree 3 files changed +19
-9
lines changed
3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,10 @@ module(
11
11
bazel_dep (name = "aspect_bazel_lib" , version = "1.38.1" )
12
12
bazel_dep (name = "bazel_skylib" , version = "1.4.2" )
13
13
bazel_dep (name = "rules_python" , version = "0.27.1" )
14
+
15
+ archive_override (
16
+ module_name = "rules_python" ,
17
+ urls = "https://github.com/bazelbuild/rules_python/archive/52381415be9d3618130f02a821aef50de1e3af09.tar.gz" ,
18
+ integrity = "sha256-pYfEFNWqygSEElDYgJsuIeDYn9oll/rZB0GcR+6rirA=" ,
19
+ strip_prefix = "rules_python-52381415be9d3618130f02a821aef50de1e3af09" ,
20
+ )
Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ local_path_override(
9
9
#---SNIP--- Below here is re-used in the snippet published on releases
10
10
bazel_dep (name = "rules_python" , dev_dependency = True , version = "0.27.1" )
11
11
12
+ # NB: users need this as well, until a new version of rules_python is released
13
+ archive_override (
14
+ module_name = "rules_python" ,
15
+ urls = "https://github.com/bazelbuild/rules_python/archive/52381415be9d3618130f02a821aef50de1e3af09.tar.gz" ,
16
+ integrity = "sha256-pYfEFNWqygSEElDYgJsuIeDYn9oll/rZB0GcR+6rirA=" ,
17
+ strip_prefix = "rules_python-52381415be9d3618130f02a821aef50de1e3af09" ,
18
+ )
19
+
12
20
python = use_extension ("@rules_python//python/extensions:python.bzl" , "python" )
13
21
python .toolchain (
14
- name = "python3" ,
15
22
configure_coverage_tool = True ,
16
23
python_version = "3.11" ,
17
24
)
18
- use_repo (python , "python3_toolchains" )
19
-
20
- register_toolchains (
21
- "@python3_toolchains//:all" ,
22
- )
Original file line number Diff line number Diff line change @@ -36,9 +36,10 @@ def rules_py_dependencies():
36
36
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.38.1.tar.gz" ,
37
37
)
38
38
39
+ # We require #1671 which isn't in a release as of 19 Jan 2024
39
40
http_archive (
40
41
name = "rules_python" ,
41
- sha256 = "cff4c0ac0873ce089557b72828f34b82e67f35e9accfe414b5c3230907104a87 " ,
42
- strip_prefix = "rules_python-9facc3e3341f156377c61afbaa1dfb79a3843b78 " ,
43
- url = "https://github.com/bazelbuild/rules_python/archive/9facc3e3341f156377c61afbaa1dfb79a3843b78 .tar.gz" ,
42
+ sha256 = "a587c414d5aaca04841250d8809b2e21e0d89fda2597fad907419c47eeab8ab0 " ,
43
+ strip_prefix = "rules_python-52381415be9d3618130f02a821aef50de1e3af09 " ,
44
+ url = "https://github.com/bazelbuild/rules_python/archive/52381415be9d3618130f02a821aef50de1e3af09 .tar.gz" ,
44
45
)
You can’t perform that action at this time.
0 commit comments