Skip to content

Commit c5145c0

Browse files
authored
Pin setuptools < 60 on Windows
1 parent ffd4433 commit c5145c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/azure/windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ jobs:
2626
Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
2727
Write-Host "##vso[task.prependpath]$HOME/miniconda3/bin"
2828
displayName: 'Add conda to PATH'
29-
- bash: conda install -yv -c conda-forge -n base 'mamba<0.21'
29+
- bash: conda install -yv -c conda-forge -n base 'mamba>=0.21.2'
3030
displayName: 'Install mamba'
3131

3232
- bash: |
3333
# See https://github.com/mamba-org/mamba/issues/1370
3434
# See https://github.com/mamba-org/mamba/issues/633
35-
C:\\Miniconda\\condabin\\mamba.bat create -n pandas-dev
35+
# TODO: GH#44980 https://github.com/pypa/setuptools/issues/2941
36+
C:\\Miniconda\\condabin\\mamba.bat create -n pandas-dev 'setuptools<60'
3637
C:\\Miniconda\\condabin\\mamba.bat env update -n pandas-dev --file ci\\deps\\actions-$(CONDA_PY).yaml
3738
C:\\Miniconda\\condabin\\mamba.bat list -n pandas-dev
3839
displayName: 'Create anaconda environment'

0 commit comments

Comments
 (0)