1local_repository( 2 name = "rules_python", 3 path = "../..", 4) 5 6load("@rules_python//python:repositories.bzl", "python_register_toolchains") 7 8python_register_toolchains( 9 name = "python39", 10 ignore_root_user_error = True, 11 python_version = "3.9", 12) 13 14load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 15 16http_archive( 17 name = "bazel_skylib", 18 sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d", 19 urls = [ 20 "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz", 21 "https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz", 22 ], 23) 24 25load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") 26 27bazel_skylib_workspace() 28