Upgrade rules_python (#1058)

This commit is contained in:
James Sharpe 2023-10-14 16:10:57 +01:00 committed by GitHub
parent c62e551f9f
commit 8fc5dbb559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 15 deletions

View File

@ -216,22 +216,13 @@ tasks:
- "--experimental_enable_aggregating_middleman=False"
min_supported_version_examples:
name: "Minimum Supported Version Examples"
bazel: "4.2.0"
skip_in_bazel_downstream_pipeline: "Bazel 4 required"
bazel: "5.4.0"
platform: ubuntu1804
working_directory: examples
min_supported_targets: &min_supported_targets
- "//..."
# Requires Python 2 under Bazel 4; skip so that Bazel 7 can disable Python 2
# See https://github.com/bazelbuild/bazel/issues/17293
- "-//cmake_android:app"
build_targets: *min_supported_targets
# See comment above regarding --experimental_enable_aggregating_middleman=False
build_flags:
- "--experimental_enable_aggregating_middleman=False"
test_targets: *min_supported_targets
test_flags:
- "--experimental_enable_aggregating_middleman=False"
buildifier:
version: "6.1.0"

View File

@ -1,6 +1,6 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# bazel run //:requirements.update
#

View File

@ -96,7 +96,7 @@ def rules_foreign_cc_dependencies(
maybe(
http_archive,
name = "rules_python",
sha256 = "a3a6e99f497be089f81ec082882e40246bfd435f52f4e82f37e89449b04573f6",
strip_prefix = "rules_python-0.10.2",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.10.2.tar.gz",
sha256 = "84aec9e21cc56fbc7f1335035a71c850d1b9b5cc6ff497306f84cced9a769841",
strip_prefix = "rules_python-0.23.1",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.23.1.tar.gz",
)