diff --git a/modules/rules_python_gazelle_plugin/0.26.0/MODULE.bazel b/modules/rules_python_gazelle_plugin/0.26.0/MODULE.bazel new file mode 100644 index 00000000000..d3db1d112a7 --- /dev/null +++ b/modules/rules_python_gazelle_plugin/0.26.0/MODULE.bazel @@ -0,0 +1,20 @@ +module( + name = "rules_python_gazelle_plugin", + version = "0.26.0", + compatibility_level = 1, +) + +bazel_dep(name = "rules_python", version = "0.18.0") +bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go") +bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle") + +go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") +go_deps.from_file(go_mod = "//:go.mod") +use_repo( + go_deps, + "com_github_bazelbuild_buildtools", + "com_github_bmatcuk_doublestar", + "com_github_emirpasic_gods", + "com_github_ghodss_yaml", + "in_gopkg_yaml_v2", +) diff --git a/modules/rules_python_gazelle_plugin/0.26.0/patches/module_dot_bazel_version.patch b/modules/rules_python_gazelle_plugin/0.26.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..5910251fd77 --- /dev/null +++ b/modules/rules_python_gazelle_plugin/0.26.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,12 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "rules_python_gazelle_plugin", +- version = "0.0.0", ++ version = "0.26.0", + compatibility_level = 1, + ) + + bazel_dep(name = "rules_python", version = "0.18.0") diff --git a/modules/rules_python_gazelle_plugin/0.26.0/presubmit.yml b/modules/rules_python_gazelle_plugin/0.26.0/presubmit.yml new file mode 100644 index 00000000000..037055d66df --- /dev/null +++ b/modules/rules_python_gazelle_plugin/0.26.0/presubmit.yml @@ -0,0 +1,27 @@ +# Copyright 2023 The Bazel Authors. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +bcr_test_module: + module_path: "../examples/bzlmod_build_file_generation" + matrix: + platform: ["debian11", "macos", "ubuntu2004", "windows"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + build_targets: + - "//..." + - ":modules_map" + test_targets: + - "//..." diff --git a/modules/rules_python_gazelle_plugin/0.26.0/source.json b/modules/rules_python_gazelle_plugin/0.26.0/source.json new file mode 100644 index 00000000000..fa64086ce61 --- /dev/null +++ b/modules/rules_python_gazelle_plugin/0.26.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-nQQEGskqCYXjRCNfXZRvcaxUPxsVZfLNvJoqruit9Vs=", + "strip_prefix": "rules_python-0.26.0/gazelle", + "url": "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-w2eupwmOpK6x4EKJvwrNuylknH1yEwyEFnVkm96AY2I=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_python_gazelle_plugin/metadata.json b/modules/rules_python_gazelle_plugin/metadata.json index bddc6270d8f..a6045f920b1 100644 --- a/modules/rules_python_gazelle_plugin/metadata.json +++ b/modules/rules_python_gazelle_plugin/metadata.json @@ -20,7 +20,8 @@ "0.22.0", "0.23.1", "0.24.0", - "0.25.0" + "0.25.0", + "0.26.0" ], "yanked_versions": {} }