From bd169212e9af5d9ebb6840c5171393b92d6921e0 Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Tue, 12 Dec 2023 12:06:19 -0800 Subject: [PATCH] fix: drop python support for generator (temp) Signed-off-by: Sam Gammon --- MODULE.bazel | 32 --- MODULE.bazel.lock | 261 +++++++++--------- WORKSPACE.bazel | 13 - tools/BUILD.bazel | 32 --- tools/scripts/BUILD.bazel | 15 - .../{BUILD.bazel => BUILD.inert} | 0 6 files changed, 127 insertions(+), 226 deletions(-) rename tools/scripts/mapping_generator/{BUILD.bazel => BUILD.inert} (100%) diff --git a/MODULE.bazel b/MODULE.bazel index 62648ec4..4289d1e7 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -200,38 +200,6 @@ register_toolchains( dev_dependency = True, ) -################################################################################ -# rules_python -################################################################################ - -python = use_extension( - "@rules_python//python/extensions:python.bzl", - "python", - dev_dependency = True, -) -python.toolchain( - configure_coverage_tool = True, - is_default = True, - python_version = PYTHON_VERSION, -) -use_repo(python, "python_3_11", "python_versions") - -pip = use_extension( - "@rules_python//python/extensions:pip.bzl", - "pip", - dev_dependency = True, -) -pip.parse( - extra_pip_args = [ - "--no-binary", - "grequests", - ], - hub_name = "pip", - python_version = PYTHON_VERSION, - requirements_lock = "@//:requirements_lock.txt", -) -use_repo(pip, "pip", "pip_311") - ################################################################################ # rules_js ################################################################################ diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 7dd51424..0a125f80 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 1, - "moduleFileHash": "eac98ed932efba44b0735154b153b8f9df5bcccd2f3c78cfcecbe4645802287a", + "moduleFileHash": "eb4771652eda69f21e12340f1b8db4222c8488d230d3ab63204ffa3d4be46bdd", "flags": { "cmdRegistries": [ "https://bcr.bazel.build/" @@ -89,77 +89,13 @@ "hasDevUseExtension": true, "hasNonDevUseExtension": false }, - { - "extensionBzlFile": "@rules_python//python/extensions:python.bzl", - "extensionName": "python", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 207, - "column": 23 - }, - "imports": { - "python_3_11": "python_3_11", - "python_versions": "python_versions" - }, - "devImports": [ - "python_3_11", - "python_versions" - ], - "tags": [ - { - "tagName": "toolchain", - "attributeValues": {"configure_coverage_tool":true,"is_default":true,"python_version":"--3.11"}, - "devDependency": true, - "location": { - "file": "@@//:MODULE.bazel", - "line": 212, - "column": 17 - } - } - ], - "hasDevUseExtension": true, - "hasNonDevUseExtension": false - }, - { - "extensionBzlFile": "@rules_python//python/extensions:pip.bzl", - "extensionName": "pip", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 219, - "column": 20 - }, - "imports": { - "pip": "pip", - "pip_311": "pip_311" - }, - "devImports": [ - "pip", - "pip_311" - ], - "tags": [ - { - "tagName": "parse", - "attributeValues": {"extra_pip_args":["----no-binary","--grequests"],"hub_name":"--pip","python_version":"--3.11","requirements_lock":"--@//:requirements_lock.txt"}, - "devDependency": true, - "location": { - "file": "@@//:MODULE.bazel", - "line": 224, - "column": 10 - } - } - ], - "hasDevUseExtension": true, - "hasNonDevUseExtension": false - }, { "extensionBzlFile": "@rules_nodejs//nodejs:extensions.bzl", "extensionName": "node", "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 239, + "line": 207, "column": 21 }, "imports": {}, @@ -171,7 +107,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 244, + "line": 212, "column": 15 } } @@ -185,7 +121,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 246, + "line": 214, "column": 20 }, "imports": { @@ -201,7 +137,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 251, + "line": 219, "column": 23 } } @@ -216,7 +152,7 @@ "platforms": "platforms@0.0.7", "bazel_features": "bazel_features@1.0.0", "rules_java": "rules_java@6.4.0", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "build_bazel_apple_support": "apple_support@1.8.1", "rules_license": "rules_license@0.0.7", "rules_cc": "rules_cc@0.0.8", @@ -519,7 +455,7 @@ "local_config_platform": "local_config_platform@_", "platforms": "platforms@0.0.7", "rules_cc": "rules_cc@0.0.8", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "rules_license": "rules_license@0.0.7" }, @@ -529,10 +465,10 @@ "attributes": {"name":"--rules_java~6.4.0","urls":["--https://github.com/bazelbuild/rules_java/releases/download/6.4.0/rules_java-6.4.0.tar.gz"],"integrity":"--sha256-J6v40rJvRXK6QRKujrRDlRNhUBjgOimfhahGD2mS9qM=","strip_prefix":"--","remote_patches":{},"remote_patch_strip":0} } }, - "bazel_skylib@1.4.2": { + "bazel_skylib@1.5.0": { "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", + "version": "1.5.0", + "key": "bazel_skylib@1.5.0", "repoName": "bazel_skylib", "executionPlatformsToRegister": [], "toolchainsToRegister": [ @@ -548,7 +484,7 @@ "repoSpec": { "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", - "attributes": {"name":"--bazel_skylib~1.4.2","urls":["--https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz"],"integrity":"--sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=","strip_prefix":"--","remote_patches":{},"remote_patch_strip":0} + "attributes": {"name":"--bazel_skylib~1.5.0","urls":["--https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz"],"integrity":"--sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=","strip_prefix":"--","remote_patches":{},"remote_patch_strip":0} } }, "apple_support@1.8.1": { @@ -583,7 +519,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "platforms": "platforms@0.0.7" }, "repoSpec": { @@ -733,7 +669,7 @@ "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7" }, @@ -773,7 +709,7 @@ "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_license": "rules_license@0.0.7" }, "repoSpec": { @@ -823,7 +759,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "platforms": "platforms@0.0.7", "io_bazel_stardoc": "stardoc@0.6.2" }, @@ -899,7 +835,7 @@ "local_config_platform": "local_config_platform@_", "aspect_bazel_lib": "aspect_bazel_lib@1.34.1", "bazel_features": "bazel_features@1.0.0", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_nodejs": "rules_nodejs@6.0.1", "platforms": "platforms@0.0.7" }, @@ -951,7 +887,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "platforms": "platforms@0.0.7" }, "repoSpec": { @@ -1000,7 +936,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_python": "rules_python@0.25.0", "rules_cc": "rules_cc@0.0.8", "rules_proto": "rules_proto@5.3.0-21.7", @@ -1121,7 +1057,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "platforms": "platforms@0.0.7", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", @@ -1216,7 +1152,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "com_google_protobuf": "protobuf@21.7", "io_bazel_rules_go": "rules_go@0.41.0", "rules_proto": "rules_proto@5.3.0-21.7" @@ -1284,7 +1220,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "io_bazel_stardoc": "stardoc@0.6.2" }, "repoSpec": { @@ -1333,7 +1269,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_java": "rules_java@6.4.0", "rules_jvm_external": "rules_jvm_external@5.3", "rules_license": "rules_license@0.0.7", @@ -1385,7 +1321,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "bazel_gazelle": "gazelle@0.32.0", "io_bazel_rules_go": "rules_go@0.41.0" }, @@ -1587,7 +1523,7 @@ "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", "apple_rules_lint": "apple_rules_lint@0.3.2", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "bazel_skylib_gazelle_plugin": "bazel_skylib_gazelle_plugin@1.4.2", "bazel_gazelle": "gazelle@0.32.0", "com_google_protobuf": "protobuf@21.7", @@ -1633,7 +1569,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "io_bazel_stardoc": "stardoc@0.6.2" }, "repoSpec": { @@ -1673,7 +1609,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "platforms": "platforms@0.0.7" }, "repoSpec": { @@ -1693,7 +1629,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "com_google_protobuf": "protobuf@21.7", "rules_cc": "rules_cc@0.0.8" }, @@ -1733,7 +1669,7 @@ "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", "rules_python": "rules_python@0.25.0", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_license": "rules_license@0.0.7" }, "repoSpec": { @@ -1773,7 +1709,7 @@ "deps": { "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "com_google_absl": "abseil-cpp@20211102.0", @@ -2989,14 +2925,14 @@ } }, "//:extensions.bzl%graalvm": { - "bzlTransitiveDigest": "LCovQuxt4Q0f9KVHeGoYCPs4pHgCZl3r3/NOB9DabX8=", + "bzlTransitiveDigest": "70KIj3lRAiLivi1ksOaWzKEwwZD4RP9F8qudUz18nK8=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { "graalvm_toolchains": { "bzlFile": "@@//internal:graalvm_bindist.bzl", "ruleClassName": "_toolchain_config", - "attributes": {"name":"--_main~graalvm~graalvm_toolchains","build_file":"--\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"graalvm_20\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"20\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"toolchain_gvm\",\n actual = \"gvm\",\n visibility = [\"//visibility:public\"],\n)\ntoolchain(\n name = \"gvm\",\n exec_compatible_with = [\n \n ],\n target_compatible_with = [\n \n ],\n toolchain = \"@graalvm//:gvm\",\n toolchain_type = \"@rules_graalvm//graalvm/toolchain\",\n visibility = [\"//visibility:public\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@graalvm//:jdk\",\n visibility = [\"//visibility:public\"],\n)\n\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@graalvm//:jdk\",\n visibility = [\"//visibility:public\"],\n)\n\n"} + "attributes": {"name":"--_main~graalvm~graalvm_toolchains","build_file":"--\nalias(\n name = \"toolchain_gvm\",\n actual = \"gvm\",\n visibility = [\"//visibility:public\"],\n)\ntoolchain(\n name = \"gvm\",\n exec_compatible_with = [\n \n ],\n target_compatible_with = [\n \n ],\n toolchain = \"@graalvm//:gvm\",\n toolchain_type = \"@rules_graalvm//graalvm/toolchain\",\n visibility = [\"//visibility:public\"],\n)\n\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"graalvm_20\"},\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [],\n target_settings = [\":prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@graalvm//:jdk\",\n visibility = [\"//visibility:public\"],\n)\n\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [],\n target_settings = [\":prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@graalvm//:jdk\",\n visibility = [\"//visibility:public\"],\n)\n\n"} }, "graalvm": { "bzlFile": "@@//internal:graalvm_bindist.bzl", @@ -3037,45 +2973,20 @@ "ruleClassName": "python_repository", "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_s390x-unknown-linux-gnu","sha256":"--e477f0749161f9aa7887964f089d9460a539f6b4a8fdab5166f898210e1a87a4","patches":[],"platform":"--s390x-unknown-linux-gnu","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-s390x-unknown-linux-gnu-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-s390x-unknown-linux-gnu-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} }, + "python_3_11": { + "bzlFile": "@@rules_python~0.25.0//python/private:toolchains_repo.bzl", + "ruleClassName": "toolchain_aliases", + "attributes": {"name":"--rules_python~0.25.0~python~python_3_11","python_version":"--3.11.4","user_repository_name":"--python_3_11"} + }, "python_3_11_aarch64-unknown-linux-gnu": { "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", "ruleClassName": "python_repository", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_aarch64-unknown-linux-gnu","sha256":"--2e84fc53f4e90e11963281c5c871f593abcb24fc796a50337fa516be99af02fb","patches":[],"platform":"--aarch64-unknown-linux-gnu","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--@python_3_11_aarch64-unknown-linux-gnu_coverage//:coverage","ignore_root_user_error":false} + "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_aarch64-unknown-linux-gnu","sha256":"--2e84fc53f4e90e11963281c5c871f593abcb24fc796a50337fa516be99af02fb","patches":[],"platform":"--aarch64-unknown-linux-gnu","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} }, "python_3_11_aarch64-apple-darwin": { "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", "ruleClassName": "python_repository", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_aarch64-apple-darwin","sha256":"--cb6d2948384a857321f2aa40fa67744cd9676a330f08b6dad7070bda0b6120a4","patches":[],"platform":"--aarch64-apple-darwin","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--@python_3_11_aarch64-apple-darwin_coverage//:coverage","ignore_root_user_error":false} - }, - "pythons_hub": { - "bzlFile": "@@rules_python~0.25.0//python/extensions/private:pythons_hub.bzl", - "ruleClassName": "hub_repo", - "attributes": {"name":"--rules_python~0.25.0~python~pythons_hub","default_python_version":"--3.11","toolchain_prefixes":["--_0000_python_3_11_"],"toolchain_python_versions":["--3.11"],"toolchain_set_python_version_constraints":["--False"],"toolchain_user_repository_names":["--python_3_11"]} - }, - "python_3_11_x86_64-pc-windows-msvc": { - "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-pc-windows-msvc","sha256":"--878614c03ea38538ae2f758e36c85d2c0eb1eaaca86cd400ff8c76693ee0b3e1","patches":[],"platform":"--x86_64-pc-windows-msvc","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} - }, - "python_3_11_aarch64-unknown-linux-gnu_coverage": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_aarch64-unknown-linux-gnu_coverage","build_file_content":"--\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"@python_3_11_aarch64-unknown-linux-gnu//:__subpackages__\"],\n)\n ","patch_args":["---p1"],"patches":["@@rules_python~0.25.0//python/private:coverage.patch"],"sha256":"--fdec9e8cbf13a5bf63290fc6013d216a4c7232efb51548594ca3631a7f13c3a3","type":"--zip","urls":["--https://files.pythonhosted.org/packages/8c/95/16eed713202406ca0a37f8ac259bbf144c9d24f9b8097a8e6ead61da2dbb/coverage-7.2.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"]} - }, - "python_3_11_x86_64-apple-darwin_coverage": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-apple-darwin_coverage","build_file_content":"--\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"@python_3_11_x86_64-apple-darwin//:__subpackages__\"],\n)\n ","patch_args":["---p1"],"patches":["@@rules_python~0.25.0//python/private:coverage.patch"],"sha256":"--06a9a2be0b5b576c3f18f1a241f0473575c4a26021b52b2a85263a00f034d51f","type":"--zip","urls":["--https://files.pythonhosted.org/packages/c6/fa/529f55c9a1029c840bcc9109d5a15ff00478b7ff550a1ae361f8745f8ad5/coverage-7.2.7-cp311-cp311-macosx_10_9_x86_64.whl"]} - }, - "python_3_11_aarch64-apple-darwin_coverage": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_aarch64-apple-darwin_coverage","build_file_content":"--\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"@python_3_11_aarch64-apple-darwin//:__subpackages__\"],\n)\n ","patch_args":["---p1"],"patches":["@@rules_python~0.25.0//python/private:coverage.patch"],"sha256":"--5baa06420f837184130752b7c5ea0808762083bf3487b5038d68b012e5937dbe","type":"--zip","urls":["--https://files.pythonhosted.org/packages/67/d7/cd8fe689b5743fffac516597a1222834c42b80686b99f5b44ef43ccc2a43/coverage-7.2.7-cp311-cp311-macosx_11_0_arm64.whl"]} - }, - "python_3_11": { - "bzlFile": "@@rules_python~0.25.0//python/private:toolchains_repo.bzl", - "ruleClassName": "toolchain_aliases", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11","python_version":"--3.11.4","user_repository_name":"--python_3_11"} + "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_aarch64-apple-darwin","sha256":"--cb6d2948384a857321f2aa40fa67744cd9676a330f08b6dad7070bda0b6120a4","patches":[],"platform":"--aarch64-apple-darwin","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} }, "python_3_11_ppc64le-unknown-linux-gnu": { "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", @@ -3085,22 +2996,27 @@ "python_3_11_x86_64-apple-darwin": { "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", "ruleClassName": "python_repository", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-apple-darwin","sha256":"--47e1557d93a42585972772e82661047ca5f608293158acb2778dccf120eabb00","patches":[],"platform":"--x86_64-apple-darwin","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--@python_3_11_x86_64-apple-darwin_coverage//:coverage","ignore_root_user_error":false} + "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-apple-darwin","sha256":"--47e1557d93a42585972772e82661047ca5f608293158acb2778dccf120eabb00","patches":[],"platform":"--x86_64-apple-darwin","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} + }, + "pythons_hub": { + "bzlFile": "@@rules_python~0.25.0//python/extensions/private:pythons_hub.bzl", + "ruleClassName": "hub_repo", + "attributes": {"name":"--rules_python~0.25.0~python~pythons_hub","default_python_version":"--3.11","toolchain_prefixes":["--_0000_python_3_11_"],"toolchain_python_versions":["--3.11"],"toolchain_set_python_version_constraints":["--False"],"toolchain_user_repository_names":["--python_3_11"]} }, "python_versions": { "bzlFile": "@@rules_python~0.25.0//python/private:toolchains_repo.bzl", "ruleClassName": "multi_toolchain_aliases", "attributes": {"name":"--rules_python~0.25.0~python~python_versions","python_versions":{"--3.11":"--python_3_11"}} }, - "python_3_11_x86_64-unknown-linux-gnu_coverage": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-unknown-linux-gnu_coverage","build_file_content":"--\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"@python_3_11_x86_64-unknown-linux-gnu//:__subpackages__\"],\n)\n ","patch_args":["---p1"],"patches":["@@rules_python~0.25.0//python/private:coverage.patch"],"sha256":"--63426706118b7f5cf6bb6c895dc215d8a418d5952544042c8a2d9fe87fcf09cb","type":"--zip","urls":["--https://files.pythonhosted.org/packages/a7/cd/3ce94ad9d407a052dc2a74fbeb1c7947f442155b28264eb467ee78dea812/coverage-7.2.7-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"]} + "python_3_11_x86_64-pc-windows-msvc": { + "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-pc-windows-msvc","sha256":"--878614c03ea38538ae2f758e36c85d2c0eb1eaaca86cd400ff8c76693ee0b3e1","patches":[],"platform":"--x86_64-pc-windows-msvc","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} }, "python_3_11_x86_64-unknown-linux-gnu": { "bzlFile": "@@rules_python~0.25.0//python:repositories.bzl", "ruleClassName": "python_repository", - "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-unknown-linux-gnu","sha256":"--e26247302bc8e9083a43ce9e8dd94905b40d464745b1603041f7bc9a93c65d05","patches":[],"platform":"--x86_64-unknown-linux-gnu","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--@python_3_11_x86_64-unknown-linux-gnu_coverage//:coverage","ignore_root_user_error":false} + "attributes": {"name":"--rules_python~0.25.0~python~python_3_11_x86_64-unknown-linux-gnu","sha256":"--e26247302bc8e9083a43ce9e8dd94905b40d464745b1603041f7bc9a93c65d05","patches":[],"platform":"--x86_64-unknown-linux-gnu","python_version":"--3.11.4","release_filename":"--20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz","urls":["--https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz"],"distutils":null,"distutils_content":"--","strip_prefix":"--python","coverage_tool":"--","ignore_root_user_error":false} } } }, @@ -3304,7 +3220,7 @@ } }, "@aspect_bazel_lib~1.34.1//lib:extensions.bzl%ext": { - "bzlTransitiveDigest": "mdVMHmU801HylKZUvNs7+K73UFFJbAet5OHaLxpwilc=", + "bzlTransitiveDigest": "Hmi9iU48sYxhKr9X+tcfzsISYWk6vewDxd1aY6f7yt8=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { @@ -3519,6 +3435,83 @@ "attributes": {"name":"--aspect_bazel_lib~1.34.1~ext~yq_linux_arm64","platform":"--linux_arm64","version":"--4.25.2"} } } + }, + "@rules_python~0.25.0//python/extensions/private:internal_deps.bzl%internal_deps": { + "bzlTransitiveDigest": "a65u7fSr0p1Hr437QcVoigajO/3RJcfXepGz0pg0Ce8=", + "accumulatedFileDigests": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "pypi__wheel": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__wheel","url":"--https://files.pythonhosted.org/packages/bd/7c/d38a0b30ce22fc26ed7dbc087c6d00851fb3395e9d0dac40bec1f905030c/wheel-0.38.4-py3-none-any.whl","sha256":"--b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__click": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__click","url":"--https://files.pythonhosted.org/packages/76/0a/b6c5f311e32aeb3b406e03c079ade51e905ea630fc19d1262a46249c1c86/click-8.0.1-py3-none-any.whl","sha256":"--fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__importlib_metadata": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__importlib_metadata","url":"--https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl","sha256":"--bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__pep517": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__pep517","url":"--https://files.pythonhosted.org/packages/ee/2f/ef63e64e9429111e73d3d6cbee80591672d16f2725e648ebc52096f3d323/pep517-0.13.0-py3-none-any.whl","sha256":"--4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__packaging": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__packaging","url":"--https://files.pythonhosted.org/packages/8f/7b/42582927d281d7cb035609cd3a543ffac89b74f3f4ee8e1c50914bcb57eb/packaging-22.0-py3-none-any.whl","sha256":"--957e2148ba0e1a3b282772e791ef1d8083648bc131c8ab0c1feba110ce1146c3","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__pip_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__pip_tools","url":"--https://files.pythonhosted.org/packages/5e/e8/f6d7d1847c7351048da870417724ace5c4506e816b38db02f4d7c675c189/pip_tools-6.12.1-py3-none-any.whl","sha256":"--f0c0c0ec57b58250afce458e2e6058b1f30a4263db895b7d72fd6311bf1dc6f7","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__setuptools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__setuptools","url":"--https://files.pythonhosted.org/packages/7c/5b/3d92b9f0f7ca1645cba48c080b54fe7d8b1033a4e5720091d1631c4266db/setuptools-60.10.0-py3-none-any.whl","sha256":"--782ef48d58982ddb49920c11a0c5c9c0b02e7d7d1c2ad0aa44e1a1e133051c96","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__zipp": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__zipp","url":"--https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl","sha256":"--8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__colorama": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__colorama","url":"--https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl","sha256":"--4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__build": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__build","url":"--https://files.pythonhosted.org/packages/03/97/f58c723ff036a8d8b4d3115377c0a37ed05c1f68dd9a0d66dab5e82c5c1c/build-0.9.0-py3-none-any.whl","sha256":"--38a7a2b7a0bdc61a42a0a67509d88c71ecfc37b393baba770fae34e20929ff69","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__pip": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__pip","url":"--https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl","sha256":"--908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__installer": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__installer","url":"--https://files.pythonhosted.org/packages/e5/ca/1172b6638d52f2d6caa2dd262ec4c811ba59eee96d54a7701930726bce18/installer-0.7.0-py3-none-any.whl","sha256":"--05d1933f0a5ba7d8d6296bb6d5018e7c94fa473ceb10cf198a92ccea19c27b53","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__more_itertools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__more_itertools","url":"--https://files.pythonhosted.org/packages/bd/3f/c4b3dbd315e248f84c388bd4a72b131a29f123ecacc37ffb2b3834546e42/more_itertools-8.13.0-py3-none-any.whl","sha256":"--c5122bffc5f104d37c1626b8615b511f3427aa5389b94d61e5ef8236bfbc3ddb","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + }, + "pypi__tomli": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": {"name":"--rules_python~0.25.0~internal_deps~pypi__tomli","url":"--https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl","sha256":"--939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc","type":"--zip","build_file_content":"--package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n"} + } + } } } } \ No newline at end of file diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 795bdd3e..a29758ce 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -247,19 +247,6 @@ rules_graalvm_repositories() # -------------------------------------------------------------------------------------------------------------- # Dev Dependencies: -# - Python - -load("@rules_python//python:pip.bzl", "pip_parse") - -pip_parse( - name = "pip", - requirements_lock = "@//:requirements_lock.txt", -) - -load("@pip//:requirements.bzl", "install_deps") - -install_deps() - # - JavaScript load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index 012d44f6..62d3c16b 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -53,35 +53,3 @@ buildifier( lint_mode = "fix", tags = ["manual"], ) - -alias( - name = "generator", - actual = "//tools/scripts:generator", -) - -run( - name = "generator.update", - srcs = [ - "//internal:graalvm_bindist_map.bzl", - ], - outs = [ - "graalvm_bindist_stamp.sh", - ], - args = ( - ["--tags"] + GRAALVM_KNOWN.RELEASES + [ - "--distributions", - ] + GRAALVM_KNOWN.DISTS - ), - env = { - "BAZEL_MAPPINGS_UPDATE": "1", - "BAZEL_MAPPINGS_SRC": "$(location //internal:graalvm_bindist_map.bzl)", - "BAZEL_BINDIST_STAMP": "$(location graalvm_bindist_stamp.sh)", - }, - tags = [ - "manual", - "no-cache", - "no-sandbox", - "requires-network", - ], - tool = "//tools/scripts:generator", -) diff --git a/tools/scripts/BUILD.bazel b/tools/scripts/BUILD.bazel index bd18b0f0..098b9803 100644 --- a/tools/scripts/BUILD.bazel +++ b/tools/scripts/BUILD.bazel @@ -3,18 +3,3 @@ package(default_visibility = [ "@//tools:__pkg__", "@//tools:__subpackages__", ]) - -py_binary( - name = "generator", - srcs = [ - "generator.py", - ], - tags = [ - "manual", - "no-sandbox", - "requires-network", - ], - deps = [ - "//tools/scripts/mapping_generator", - ], -) diff --git a/tools/scripts/mapping_generator/BUILD.bazel b/tools/scripts/mapping_generator/BUILD.inert similarity index 100% rename from tools/scripts/mapping_generator/BUILD.bazel rename to tools/scripts/mapping_generator/BUILD.inert