From ac8ceabbe9daa15517fd599a8324b95ee4468d13 Mon Sep 17 00:00:00 2001 From: dneto Date: Wed, 12 Aug 2026 11:31:23 -0400 Subject: [PATCH] bazel: update python_rules --- BUILD.bazel | 1 + MODULE.bazel | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index b016486..b3890a8 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -44,6 +44,7 @@ py_test( name = "effcee_example_test", srcs = ["examples/effcee-example-driver.py"], main = "examples/effcee-example-driver.py", + legacy_create_init = False, data = [ ":effcee_example", "examples/example_data.txt" ], args = [ "$(location effcee_example)", diff --git a/MODULE.bazel b/MODULE.bazel index f998275..1c64014 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,13 +4,9 @@ Effcee is a C++ library for stateful pattern matching of strings inspired by LLVM's FileCheck. """ -bazel_dep(name = "rules_python", version = "1.6.3") +bazel_dep(name = "rules_python", version = "2.2.0") python = use_extension("@rules_python//python/extensions:python.bzl", "python") -python.toolchain( - configure_coverage_tool = False, - ignore_root_user_error = True, - python_version = "3.12", -) +python.toolchain(python_version = "3.12") bazel_dep( name = "googletest",