Skip to content

Commit a32619a

Browse files
committed
Try conda instead of micromamba
1 parent 76ab2fb commit a32619a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/python.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -288,22 +288,20 @@ jobs:
288288
env:
289289
# We can invalidate the current cache by updating this.
290290
CACHE_VERSION: "2025-09-16.1"
291-
- name: Install and setup micromamba
291+
- name: Install conda
292292
shell: cmd
293293
run: |
294-
curl -L -o micromamba.exe https://github.com/mamba-org/micromamba-releases/releases/download/2.4.0-0/micromamba-win-64.exe
295-
micromamba.exe shell init -s cmd.exe -r C:\micromamba
296-
micromamba.exe create -n pyarrow-dev -f ".\ci\conda_env_python.txt" -y
297-
dir "C:\micromamba"
294+
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o .\miniconda.exe
295+
start /wait "" .\miniconda.exe /S /D=C:\miniconda
296+
del .\miniconda.exe
297+
C:\miniconda\Scripts\conda.exe create -n pyarrow-dev -f ".\ci\conda_env_python.txt" -y
298298
- name: Build Arrow C++ and PyArrow
299299
shell: cmd
300300
run: |
301-
call "C:\micromamba\condabin\micromamba.bat"
302-
micromamba activate pyarrow-dev || exit /B 1
303-
call "ci\scripts\python_build.bat" %cd% "C:\micromamba"
301+
C:\miniconda\Scripts\conda.exe activate pyarrow-dev
302+
call "ci\scripts\python_build.bat" %cd% "%CONDA_PREFIX%"
304303
- name: Test PyArrow
305304
shell: cmd
306305
run: |
307-
call "C:\micromamba\condabin\micromamba.bat"
308-
micromamba activate pyarrow-dev || exit /B 1
306+
C:\miniconda\Scripts\conda.exe activate pyarrow-dev
309307
call "ci\scripts\python_test.bat" %cd%

0 commit comments

Comments
 (0)