Skip to content

Commit caacf44

Browse files
authored
[python/ci] replace miniconda with miniforge (#11085)
With license changes to conda/miniconda, we want to move to miniforge, which is oss+community run. There's nothing in the github actions marketplace for miniforge ([one exists but is archived](https://github.com/conda-forge/setup-miniforge/tree/master)), so I wrote out their steps for installing the latest version in CI. Miniforge is the community version of conda, which does not have the same licensing restrictions as miniconda and automatically uses to community-run package distributor conda-forge. ### Release Notes <!-- Optionally, replace `N/A` with text to be included in the next release notes. The `N/A` bullets are ignored. If you refer to one or more Positron issues, these issues are used to collect information about the feature or bugfix, such as the relevant language pack as determined by Github labels of type `lang: `. The note will automatically be tagged with the language. These notes are typically filled by the Positron team. If you are an external contributor, you may ignore this section. --> #### New Features - N/A #### Bug Fixes - #11088 Use miniforge in Python CI. ### QA Notes ci should be green
1 parent 82d7eb5 commit caacf44

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/positron-python-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,12 @@ jobs:
357357
}
358358
359359
- name: Install miniconda
360-
uses: conda-incubator/setup-miniconda@v3
360+
shell: bash
361361
if: matrix.os == 'macos-latest' && matrix.test-suite == 'venv'
362-
with:
363-
python-version: "3.11"
362+
run: |
363+
curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-$(uname -m).sh"
364+
bash Miniforge3.sh -b -p "${HOME}/conda"
365+
source "${HOME}/conda/etc/profile.d/conda.sh"
364366
365367
- name: Prepare conda for venv tests
366368
env:

0 commit comments

Comments
 (0)