Skip to content

Commit 00dfafc

Browse files
Update build script to use latest constructor + conda version
1 parent ab087a3 commit 00dfafc

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

scripts/build.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,20 @@ CONSTRUCT_ROOT="${CONSTRUCT_ROOT:-${PWD}}"
1010
cd "${CONSTRUCT_ROOT}"
1111

1212
echo "***** Install libmamba solver *****"
13-
conda install -y conda=22.9 # Constructor doesn't support plugin structure of conda yet (22.11), so stick to 22.9
14-
conda install conda=22.9 conda-libmamba-solver
15-
conda config --set experimental_solver libmamba
13+
conda install conda-libmamba-solver
14+
conda config --set solver libmamba
1615

1716
echo "***** Install constructor *****"
18-
conda install -y conda=22.9 conda-standalone menuinst freetype jinja2 curl libarchive "ruamel_yaml>=0.11.14,<0.16" -c conda-forge --override-channels
17+
conda install -y constructor "ruamel_yaml>=0.11.14,<0.16" -c conda-forge --override-channels
1918

2019
if [[ "$(uname)" == "Darwin" ]]; then
21-
conda install -y conda=22.9 coreutils -c conda-forge --override-channels
20+
conda install -y coreutils -c conda-forge --override-channels
2221
fi
2322
# shellcheck disable=SC2154
2423
if [[ "${TARGET_PLATFORM}" == win-* ]]; then
25-
conda install -y conda=22.9 "nsis=3.01" "pillow>=3.1" -c conda-forge --override-channels
24+
conda install -y "pillow>=3.1" -c conda-forge --override-channels
2625
fi
2726

28-
# We require the latest, unreleased version of constructor,
29-
# as this supports the libmamba solver
30-
pip install git+https://github.com/conda/constructor@fd028c8
31-
3227
conda list
3328

3429
echo "***** Make temp directory *****"

0 commit comments

Comments
 (0)