Skip to content

Commit 89c7fec

Browse files
committed
Minimum Python is now 3.10
1 parent 4f4827e commit 89c7fec

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dev/auto-test/anaconda.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set -eu
2525
# GITHUB_ACTIONS: Set by GitHub to "true", else unset or "false"
2626

2727
# Defaults:
28-
PYTHON_VERSION="39"
28+
PYTHON_VERSION="310"
2929
# Examples:
3030
# py39_23.11.0-1
3131
# py310_23.11.0-1
@@ -98,9 +98,6 @@ if (( ${#PV} )) PYTHON_VERSION=${PV[2]}
9898
if (( ${#CT} )) CONDA_TIMESTAMP=${CT[2]}
9999
if (( ${#R} )) USE_R="-r"
100100

101-
if [[ ${JENKINS_HOME:-0} != 0 ]] \
102-
renice --priority 19 --pid $$ >& /dev/null
103-
104101
# For make-release-pkg
105102
export TMP=$WORKSPACE/tmp-$PYTHON_VERSION
106103

@@ -113,8 +110,6 @@ log "PYTHON_VERSION: $PYTHON_VERSION"
113110
# Find a plausible CONDA_TIMESTAMP for the download
114111
# Note that ;& means fall-through
115112
case $PYTHON_VERSION {
116-
38) ;&
117-
39) ;&
118113
310) ;&
119114
311) CONDA_TIMESTAMP="23.11.0-2" ;;
120115
312) CONDA_TIMESTAMP="24.11.1-0" ;;
@@ -171,6 +166,10 @@ MINICONDA=Miniconda3-py${PYTHON_VERSION}_${CONDA_LABEL}.sh
171166
log "MINICONDA: $MINICONDA"
172167
if (( ${#R} )) log "ENABLING R"
173168

169+
# If running in CELS Jenkins, reduce priority
170+
if [[ ${JENKINS_HOME:-0} != 0 ]] \
171+
renice --priority 19 --pid ${$} >& /dev/null
172+
174173
# Force Conda packages to be cached here so they are separate
175174
# among Minicondas and easy to delete:
176175
export CONDA_PKGS_DIRS=$WORKSPACE/conda-cache

0 commit comments

Comments
 (0)