Skip to content

Commit cd9aaa2

Browse files
committed
fix handling of free-threaded python on windows
1 parent b1b070c commit cd9aaa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/scripts/setup-uv-python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if [ -z "${UV_PYTHON:-}" ]; then
3838
_python="/Library/Frameworks/$framework_dir.Framework/Versions/$_python/bin/$binary_name"
3939
elif [ "Windows_NT" = "${OS:-}" ]; then
4040
_python=$(echo $_python | cut -d. -f1,2 | sed 's/\.//g; s/t//g')
41-
if [[ "$_python" == *"t"* ]]; then
41+
if [[ "$PYTHON_VERSION" == *"t"* ]]; then
4242
_exe="python${PYTHON_VERSION}t.exe"
4343
else
4444
_exe="python.exe"

0 commit comments

Comments
 (0)