Skip to content

Commit

Permalink
Upgrade rules_python (#1058)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe authored Oct 14, 2023
1 parent c62e551 commit 8fc5dbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
11 changes: 1 addition & 10 deletions .bazelci/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions examples/requirements_lock.txt
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
6 changes: 3 additions & 3 deletions foreign_cc/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)

0 comments on commit 8fc5dbb

Please sign in to comment.