Skip to content

Commit 2108259

Browse files
committed
cleanup
1 parent 98829c4 commit 2108259

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.evergreen/scripts/setup-dev-env.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pushd $ROOT > /dev/null
1111
if [ -f $HERE/env.sh ]; then
1212
. $HERE/env.sh
1313
fi
14-
# PYTHON_BINARY may be defined in test-env.sh.
14+
# PYTHON_BINARY or PYTHON_VERSION may be defined in test-env.sh.
1515
if [ -f $HERE/test-env.sh ]; then
1616
. $HERE/test-env.sh
1717
fi
@@ -31,7 +31,6 @@ if [ -z "${PYTHON_BINARY:-}" ]; then
3131
fi
3232
fi
3333
export UV_PYTHON=${PYTHON_BINARY}
34-
echo "export PYTHON_BINARY=$PYTHON_BINARY" >> $HERE/env.sh
3534
echo "Using python $UV_PYTHON"
3635

3736
# Add the default install path to the path if needed.

.evergreen/scripts/setup_tests.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@
2626
)
2727

2828
# Passthrough environment variables.
29-
PASS_THROUGH_ENV = ["GREEN_FRAMEWORK", "NO_EXT", "MONGODB_API_VERSION", "DEBUG_LOG"]
29+
PASS_THROUGH_ENV = [
30+
"GREEN_FRAMEWORK",
31+
"NO_EXT",
32+
"MONGODB_API_VERSION",
33+
"DEBUG_LOG",
34+
"PYTHON_BINARY",
35+
"PYTHON_VERSION",
36+
]
3037

3138
# Map the test name to test extra.
3239
EXTRAS_MAP = {

0 commit comments

Comments
 (0)