8000 chore(ci): remove Mambaforge variant from CI (#894) · kylebarron/datafusion-python@1082214 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1082214

Browse files
chore(ci): remove Mambaforge variant from CI (apache#894)
* migrate away from mambaforge in CI It is being sunsetted and will stop working entirely in Jan 2025. Ref: https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/ * add conda-build to conda workflow
1 parent 1fd3762 commit 1082214

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/conda.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,16 @@ jobs:
7070
- name: Set up Python
7171
uses: conda-incubator/setup-miniconda@v3.0.4
7272
with:
73-
miniforge-variant: Mambaforge
74-
use-mamba: true
73+
miniforge-variant: Miniforge3
7574
python-version: "3.8"
7675
channel-priority: strict
7776
- name: Install dependencies
7877
run: |
79-
mamba install -c conda-forge boa conda-verify
78+
conda install -c conda-forge conda-build conda-verify
8079
8180
which python
8281
pip list
83-
mamba list
82+
conda list
8483
# Clean the conda cache
8584
- name: Clean Conda Cache
8685
run: conda clean --all --yes
@@ -89,7 +88,7 @@ jobs:
8988
# suffix for nightly package versions
9089
export VERSION_SUFFIX=a`date +%y%m%d`
9190
92-
conda mambabuild conda/recipes \
91+
conda build conda/recipes \
9392
--python ${{ matrix.python }} \
9493
--variants "{target_platform: [${{ matrix.arch }}]}" \
9594
--error-overlinking \
@@ -99,7 +98,7 @@ jobs:
9998
- name: Test conda packages
10099
if: matrix.arch == 'linux-64' # can only test native platform packages
101100
run: |
102-
conda mambabuild --test packages/${{ matrix.arch }}/*.tar.bz2
101+
conda build --test packages/${{ matrix.arch }}/*.tar.bz2
103102
- name: Upload conda packages as artifacts
104103
uses: actions/upload-artifact@v4
105104
with:

0 commit comments

Comments
 (0)
0