From 21cd71cde5e53e09bbb5df9db49d6e94bbcca263 Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Thu, 25 Sep 2025 10:17:10 -0500 Subject: [PATCH] SERVER-111463 Force codeowners to use bazel installed python (#41814) GitOrigin-RevId: 051312d4b760c400dbbd3a184254ccb41211ad98 --- WORKSPACE.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 0d4fb9dda8f..ab9403b88d2 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -210,6 +210,9 @@ poetry( name = "poetry_bazel_rules_mongo", lockfile = "@bazel_rules_mongo//:poetry.lock", pyproject = "@bazel_rules_mongo//:pyproject.toml", + python_interpreter_target_default = "@py_host//:dist/bin/python3", + python_interpreter_target_mac = "@py_host//:dist/bin/python3", + python_interpreter_target_win = "@py_host//:dist/python.exe", ) load("//bazel/format:shfmt.bzl", "shfmt")