File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ write_condarc: True
1616# and keep the same with Miniconda
1717keep_pkgs : True
1818license_file : ../LICENSE
19+ transmute_file_type : .conda
1920
2021specs :
2122{% if name.endswith("pypy3") %}
2526{% endif %}
2627
2728{% if name.startswith("Mambaforge") %}
28- - mamba 0.20 .0
29+ - mamba 0.21 .0
2930{% endif %}
3031 - conda {{ version.split("-")[0] }}
3132
Original file line number Diff line number Diff line change 2424if [[ " ${TARGET_PLATFORM} " == win-* ]]; then
2525 conda install -y " nsis=3.01" -c conda-forge --override-channels
2626fi
27- pip install git+git://github.com/chrisburr/constructor@40c312c8d3f63f9a76b93bf347f05b8e1f7c8228 #egg=constructor --force --no-deps
27+ pip install git+git://github.com/chrisburr/constructor@51415f3d62091daae7d21dab84add91d3cc73039 #egg=constructor --force --no-deps
2828conda list
2929
3030echo " ***** Make temp directory *****"
@@ -41,7 +41,7 @@ cp LICENSE "${TEMP_DIR}/"
4141ls -al " ${TEMP_DIR} "
4242
4343if [[ " ${TARGET_PLATFORM} " != win-* ]]; then
44- MICROMAMBA_VERSION=0.17 .0
44+ MICROMAMBA_VERSION=0.21 .0
4545 mkdir " ${TEMP_DIR} /micromamba"
4646 pushd " ${TEMP_DIR} /micromamba"
4747 curl -L -O " https://anaconda.org/conda-forge/micromamba/${MICROMAMBA_VERSION} /download/${TARGET_PLATFORM} /micromamba-${MICROMAMBA_VERSION} -0.tar.bz2"
@@ -57,8 +57,11 @@ if [[ "${TARGET_PLATFORM}" != win-* ]]; then
5757fi
5858
5959echo " ***** Construct the installer *****"
60+ # Transmutation requires the current directory is writable
61+ cd " ${TEMP_DIR} "
6062# shellcheck disable=SC2086
6163constructor " ${TEMP_DIR} /Miniforge3/" --output-dir " ${TEMP_DIR} " ${EXTRA_CONSTRUCTOR_ARGS}
64+ cd -
6265
6366echo " ***** Generate installer hash *****"
6467cd " ${TEMP_DIR} "
You can’t perform that action at this time.
0 commit comments