File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change 26
26
BIN_DIR=.venv/bin
27
27
fi
28
28
29
- # Ensure there is a python venv.
30
- if [ ! -d $BIN_DIR ]; then
31
- . $ROOT /.evergreen/utils.sh
32
- set -x
29
+ # Get the appropriate UV_PYTHON.
30
+ . $ROOT /.evergreen/utils.sh
31
+ set -x
33
32
34
- if [ -z " ${PYTHON_BINARY:- } " ]; then
35
- if [ -n " ${PYTHON_VERSION:- } " ]; then
36
- PYTHON_BINARY=$( get_python_binary $PYTHON_VERSION )
37
- else
38
- PYTHON_BINARY=$( find_python3)
39
- fi
40
- fi
41
- export UV_PYTHON=${PYTHON_BINARY}
42
- echo " export UV_PYTHON=$UV_PYTHON " >> $HERE /env.sh
43
- echo " Using python $UV_PYTHON "
33
+ if [ -z " ${PYTHON_BINARY:- } " ]; then
34
+ if [ -n " ${PYTHON_VERSION:- } " ]; then
35
+ PYTHON_BINARY=$( get_python_binary $PYTHON_VERSION )
36
+ else
37
+ PYTHON_BINARY=$( find_python3)
38
+ fi
44
39
fi
40
+ export UV_PYTHON=${PYTHON_BINARY}
41
+ echo " export UV_PYTHON=$UV_PYTHON " >> $HERE /env.sh
42
+ echo " Using python $UV_PYTHON "
45
43
46
44
# Add the default install path to the path if needed.
47
45
if [ -z " ${PYMONGO_BIN_DIR:- } " ]; then
You can’t perform that action at this time.
0 commit comments