Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
464 changes: 464 additions & 0 deletions modules/rules_python/1.7.0-rc1/MODULE.bazel

Large diffs are not rendered by default.

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",
- version = "0.0.0",
+ version = "1.7.0-rc1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_features", version = "1.21.0")
32 changes: 32 additions & 0 deletions modules/rules_python/1.7.0-rc1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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"
matrix:
platform: ["debian11", "macos", "ubuntu2004", "windows"]
# last_rc is to get latest 8.x release. Replace with 8.x when available.
bazel: [7.x, last_rc]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_flags:
- "--keep_going"
# Without these cxxopts, BCR's Mac builds fail
- '--cxxopt=-std=c++14'
- '--host_cxxopt=-std=c++14'
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_python/1.7.0-rc1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-dnGtmAeM+aBtKDrkcob8YLqxU5e4mowvBbQyqtmhApo=",
"strip_prefix": "rules_python-1.7.0-rc1",
"url": "https://github.com/bazel-contrib/rules_python/releases/download/1.7.0-rc1/rules_python-1.7.0-rc1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-COPjpfWE3KrWDVfvhLpQ0mpinI0ScMGtG3lcNQDqFiY="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_python/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
"1.6.0-rc0",
"1.6.0",
"1.6.1",
"1.6.3"
"1.6.3",
"1.7.0-rc1"
],
"yanked_versions": {
"0.14.0": "rules_python 0.14.0 is broken due to https://github.com/bazelbuild/bazel-central-registry/issues/287, please upgrade to version >= 0.15.0"
Expand Down
47 changes: 47 additions & 0 deletions modules/rules_python_gazelle_plugin/1.7.0-rc1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
module(
name = "rules_python_gazelle_plugin",
version = "1.7.0-rc1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "rules_python", version = "0.18.0")
bazel_dep(name = "rules_go", version = "0.55.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.36.0", repo_name = "bazel_gazelle")
bazel_dep(name = "rules_cc", version = "0.0.16")

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",
)

internal_dev_deps = use_extension(
"//:internal_dev_deps.bzl",
"internal_dev_deps_extension",
dev_dependency = True,
)
use_repo(
internal_dev_deps,
"django-types",
"pytest",
)
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 = "1.7.0-rc1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.8.2")
32 changes: 32 additions & 0 deletions modules/rules_python_gazelle_plugin/1.7.0-rc1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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"]
# last_rc is to get latest 8.x release. Replace with 8.x when available.
bazel: [7.x, last_rc]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
shell_commands:
- "echo 'common --override_module=rules_python=' >> .bazelrc"
build_targets:
- "//..."
- ":modules_map"
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_python_gazelle_plugin/1.7.0-rc1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-dnGtmAeM+aBtKDrkcob8YLqxU5e4mowvBbQyqtmhApo=",
"strip_prefix": "rules_python-1.7.0-rc1/gazelle",
"url": "https://github.com/bazel-contrib/rules_python/releases/download/1.7.0-rc1/rules_python-1.7.0-rc1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-Kp0IQwc+cXybL7yPjFjhx0m6YkI/iolTlkWwRr6HFB4="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_python_gazelle_plugin/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"1.6.0-rc0",
"1.6.0",
"1.6.1",
"1.6.3"
"1.6.3",
"1.7.0-rc1"
],
"yanked_versions": {}
}
Loading