mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-22 16:00:05 -05:00
bazel: migrate rules_python to bzlmod
This commit is contained in:
parent
2ba94f5ba8
commit
fd70709192
@ -4,3 +4,4 @@ bazel_dep(name = "bazel_skylib", version = "1.6.1")
|
||||
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.0.9")
|
||||
bazel_dep(name = "rules_pkg", version = "0.10.1")
|
||||
bazel_dep(name = "rules_python", version = "0.32.2")
|
||||
|
@ -132,15 +132,6 @@ register_mkosi(
|
||||
name = "mkosi_nix_toolchain",
|
||||
)
|
||||
|
||||
# Python toolchain
|
||||
load("//bazel/toolchains:python_deps.bzl", "python_deps")
|
||||
|
||||
python_deps()
|
||||
|
||||
load("@rules_python//python:repositories.bzl", "py_repositories")
|
||||
|
||||
py_repositories()
|
||||
|
||||
nixpkgs_python_configure(
|
||||
fail_not_supported = False,
|
||||
python3_attribute_path = "python311",
|
||||
|
@ -1,15 +0,0 @@
|
||||
"""python toolchain rules"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
def python_deps():
|
||||
http_archive(
|
||||
name = "rules_python",
|
||||
strip_prefix = "rules_python-0.31.0",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/c68bdc4fbec25de5b5493b8819cfc877c4ea299c0dcb15c244c5a00208cde311",
|
||||
"https://github.com/bazelbuild/rules_python/releases/download/0.31.0/rules_python-0.31.0.tar.gz",
|
||||
],
|
||||
type = "tar.gz",
|
||||
sha256 = "c68bdc4fbec25de5b5493b8819cfc877c4ea299c0dcb15c244c5a00208cde311",
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user