Skip to content

Commit 75b0780

Browse files
committed
fix dir handling
1 parent 5ea46f1 commit 75b0780

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ buildvariants:
308308
run_on:
309309
- macos-14
310310
expansions:
311-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3t
311+
PYTHON_BINARY: /Library/Frameworks/PythonT.Framework/Versions/3.13/bin/python3t
312312
tags: []
313313
- name: free-threaded-macos-arm64-python3.13t
314314
tasks:
@@ -317,7 +317,7 @@ buildvariants:
317317
run_on:
318318
- macos-14-arm64
319319
expansions:
320-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3t
320+
PYTHON_BINARY: /Library/Frameworks/PythonT.Framework/Versions/3.13/bin/python3t
321321
tags: []
322322
- name: free-threaded-win64-python3.14t
323323
tasks:

.evergreen/scripts/generate_config_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ def get_python_binary(python: str, host: Host) -> str:
162162
if name in ["macos", "macos-arm64"]:
163163
bin_name = "python3t" if "t" in python else "python3"
164164
python_dir = python.replace("t", "")
165-
return f"/Library/Frameworks/Python.Framework/Versions/{python_dir}/bin/{bin_name}"
165+
framework_dir = "PythonT" if "t" in python else "Python"
166+
return f"/Library/Frameworks/{framework_dir}.Framework/Versions/{python_dir}/bin/{bin_name}"
166167

167168
raise ValueError(f"no match found for python {python} on {name}")
168169

0 commit comments

Comments
 (0)