We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cc2195 commit 94bcae8Copy full SHA for 94bcae8
dev/conda/conda-install.sh
@@ -98,7 +98,11 @@ source $DEV_CONDA/$CONDA_PLATFORM/deps.sh
98
PV=""
99
if [[ $CONDA_PLATFORM == "osx-arm64" ]] {
100
SOLVER=( --solver classic )
101
- if [[ $( python -V ) =~ 3.12 ]] PV="==3.12"
+ # Pin Python version for these versions:
102
+ PV=$( python -V )
103
+ foreach V ( 3.11 3.12 ) \
104
+ if [[ $PV =~ $V ]] PV_PIN="==$V"
105
+ end
106
}
107
108
# Build dependency list:
@@ -112,7 +116,7 @@ LIST+=(
112
116
mpich-mpicc
113
117
openjdk
114
118
# May need to pin version:
115
- "python$PV"
119
+ "python$PV_PIN"
120
swig
121
)
122
0 commit comments