From af9cbda58df17c95bd34909c62a02f3e88f980b8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 26 Jul 2024 16:38:19 -0600 Subject: [PATCH] PYTHON-4586 Fix hatch invocation (#1750) --- .evergreen/hatch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/hatch.sh b/.evergreen/hatch.sh index 8a1654404..e24320b9d 100644 --- a/.evergreen/hatch.sh +++ b/.evergreen/hatch.sh @@ -10,7 +10,7 @@ fi if $PYTHON_BINARY -m hatch --version; then run_hatch() { - $PYTHON_BINARY hatch run "$@" + $PYTHON_BINARY -m hatch run "$@" } else # No toolchain hatch present, set up virtualenv before installing hatch createvirtualenv "$PYTHON_BINARY" hatchenv