diff --git a/projects/conda.org/context.py.diff b/projects/conda.org/context.py.diff index fdda88a1..ce6cde62 100644 --- a/projects/conda.org/context.py.diff +++ b/projects/conda.org/context.py.diff @@ -16,7 +16,7 @@ index 5d8d179..dfa8da4 100644 cache_dir_name = "pkgs32" if context.force_32bit else "pkgs" fixed_dirs = ( - self.root_prefix, -+ # self.root_prefix, join("~", ".conda"), ++ self.root_prefix, ) if on_win: diff --git a/projects/conda.org/package.yml b/projects/conda.org/package.yml index 65e868e3..b784b694 100644 --- a/projects/conda.org/package.yml +++ b/projects/conda.org/package.yml @@ -8,14 +8,18 @@ warnings: versions: url: https://repo.anaconda.com/miniconda/ - match: /Miniconda3-py311_\d+\.\d+\.\d+-1-MacOSX-arm64.sh/ + match: /Miniconda3-py311_\d+\.\d+\.\d+-\d+-MacOSX-arm64.sh/ strip: - /Miniconda3-py311_/ - - /-1-MacOSX-arm64.sh/ + - /-\d+-MacOSX-arm64.sh/ dependencies: pkgx.sh: ^1 +runtime: + env: + CRYPTOGRAPHY_OPENSSL_NO_LEGACY: 1 + build: dependencies: # https://docs.conda.io/projects/miniconda/en/latest/#latest-miniconda-installer-links @@ -24,7 +28,14 @@ build: curl.se: '*' script: - bkpyvenv stage {{prefix}} {{version}} - - curl -LS https://repo.anaconda.com/miniconda/Miniconda3-py311_{{version}}-1-${SUFFIX}.sh -o miniconda.sh + # FIXME: we need a way to handle suffix versions + - | + for v in 9 8 7 6 5 4 3 2 1 0; do + if curl -fLS https://repo.anaconda.com/miniconda/Miniconda3-py311_{{version}}-$v-${SUFFIX}.sh -o miniconda.sh; then + break + fi + done + test -f miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b -f -s -p {{prefix}}/venv