diff --git a/.bazelrc b/.bazelrc index 649fed5..e93351c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -46,3 +46,7 @@ build --@pypi//venv=dev # Ruff linting via aspect_rules_lint build --aspects=//tools/bzl:linters.bzl%ruff build --@aspect_rules_lint//lint:fail_on_violation + +# Use free-threaded Python 3.14t +build --@aspect_rules_py//py/private/interpreter:freethreaded=true +build --@rules_python//python/config_settings:py_freethreaded=yes diff --git a/MODULE.bazel b/MODULE.bazel index 876b157..9694206 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -8,6 +8,7 @@ register_toolchains("//tools/bzl:python_toolchain_toolchain") # --- Core dependencies --- bazel_dep(name = "bazel_skylib", version = "1.9.0") +bazel_dep(name = "platforms", version = "1.0.0") bazel_dep(name = "rules_python", version = "1.9.0") bazel_dep(name = "rules_go", version = "0.60.0") bazel_dep(name = "gazelle", version = "0.47.0")