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