-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/bazelbuild/rules_python/releases/tag/0.34.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Thulio Ferraz Assis <[email protected]>
- Loading branch information
1 parent
a8acfe9
commit 1d145e1
Showing
5 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module( | ||
name = "rules_python_gazelle_plugin", | ||
version = "0.34.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.6.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") | ||
|
||
local_path_override( | ||
module_name = "rules_python", | ||
path = "..", | ||
) | ||
|
||
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_v4", | ||
"com_github_emirpasic_gods", | ||
"com_github_ghodss_yaml", | ||
"com_github_smacker_go_tree_sitter", | ||
"com_github_stretchr_testify", | ||
"in_gopkg_yaml_v2", | ||
"org_golang_x_sync", | ||
) | ||
|
||
python_stdlib_list = use_extension("//python:extensions.bzl", "python_stdlib_list") | ||
use_repo( | ||
python_stdlib_list, | ||
"python_stdlib_list_3_10", | ||
"python_stdlib_list_3_11", | ||
"python_stdlib_list_3_12", | ||
"python_stdlib_list_3_8", | ||
"python_stdlib_list_3_9", | ||
) |
12 changes: 12 additions & 0 deletions
12
modules/rules_python_gazelle_plugin/0.34.0/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.34.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.6.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 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"] | ||
bazel: [6.x, 7.x] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_targets: | ||
- "//..." | ||
- ":modules_map" | ||
test_targets: | ||
- "//..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-d4quqz5s/VbWgcifXBDXrWv40vGnLeneVbIwgbLTFhg=", | ||
"strip_prefix": "rules_python-0.34.0/gazelle", | ||
"url": "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-8NfQ7pebdMif7e8vvAcEcFNTcwmt/g15cfv6o74tbIg=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
"0.32.2", | ||
"0.33.0", | ||
"0.33.1", | ||
"0.33.2" | ||
"0.33.2", | ||
"0.34.0" | ||
], | ||
"yanked_versions": {} | ||
} |