1
1
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
2
-
3
2
load ("//bazel/platforms:local_config_platform.bzl" , "setup_local_config_platform" )
4
3
load ("//bazel/toolchains:mongo_toolchain.bzl" , "toolchain_download" )
5
4
6
- setup_local_config_platform (name = "local_config_platform" )
5
+ setup_local_config_platform (name = "local_config_platform" )
6
+
7
+ toolchain_download (name = "mongo_toolchain" )
7
8
8
- toolchain_download (name = "mongo_toolchain" )
9
9
register_toolchains ("@mongo_toolchain//:mongo_toolchain" )
10
10
11
11
load ("//bazel/toolchains:python_toolchain.bzl" , "setup_mongo_python_toolchains" )
12
+
12
13
[register_toolchains (toolchain ) for toolchain in setup_mongo_python_toolchains ()]
13
14
14
15
http_archive (
@@ -19,13 +20,14 @@ http_archive(
19
20
)
20
21
21
22
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
23
+
22
24
http_archive (
23
25
name = "platforms" ,
26
+ sha256 = "8150406605389ececb6da07cbcb509d5637a3ab9a24bc69b1101531367d89d74" ,
24
27
urls = [
25
28
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz" ,
26
29
"https://github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz" ,
27
30
],
28
- sha256 = "8150406605389ececb6da07cbcb509d5637a3ab9a24bc69b1101531367d89d74" ,
29
31
)
30
32
31
33
# We need skylib to be able to use config_setting_group in rule_poetry below
@@ -57,7 +59,7 @@ poetry(
57
59
name = "poetry" ,
58
60
lockfile = "//:poetry.lock" ,
59
61
pyproject = "//:pyproject.toml" ,
60
- python_interpreter_target_default = "@py_host//:bin/python3" ,
61
- python_interpreter_target_mac = "@py_host//:bin/python3" ,
62
- python_interpreter_target_win = "@py_host//:python.exe" ,
62
+ python_interpreter_target_default = "@py_host//:bin/python3" ,
63
+ python_interpreter_target_mac = "@py_host//:bin/python3" ,
64
+ python_interpreter_target_win = "@py_host//:python.exe" ,
63
65
)
0 commit comments