Skip to content

Commit d2abc92

Browse files
authored
CI: Add mambaforge to ci builds (#44967)
1 parent 718cec9 commit d2abc92

File tree

8 files changed

+16
-7
lines changed

8 files changed

+16
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
- uses: conda-incubator/setup-miniconda@v2
4343
with:
44+
mamba-version: "*"
45+
channels: conda-forge
4446
activate-environment: pandas-dev
4547
channel-priority: strict
4648
environment-file: ${{ env.ENV_FILE }}
@@ -104,6 +106,8 @@ jobs:
104106

105107
- uses: conda-incubator/setup-miniconda@v2
106108
with:
109+
mamba-version: "*"
110+
channels: conda-forge
107111
activate-environment: pandas-dev
108112
channel-priority: strict
109113
environment-file: ${{ env.ENV_FILE }}

.github/workflows/database.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ jobs:
8888

8989
- uses: conda-incubator/setup-miniconda@v2
9090
with:
91+
mamba-version: "*"
92+
channels: conda-forge
9193
activate-environment: pandas-dev
9294
channel-priority: strict
9395
environment-file: ${{ matrix.ENV_FILE }}

.github/workflows/posix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181

8282
- uses: conda-incubator/setup-miniconda@v2
8383
with:
84+
mamba-version: "*"
85+
channels: conda-forge
8486
activate-environment: pandas-dev
8587
channel-priority: flexible
8688
environment-file: ${{ env.ENV_FILE }}

ci/deps/actions-39-slow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- numexpr
2727
- numpy
2828
- openpyxl
29-
- pyarrow
29+
- pyarrow>2.0.1
3030
- pytables
3131
- python-dateutil
3232
- pytz

ci/deps/actions-39.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ dependencies:
2121
- jinja2
2222
- lxml
2323
- matplotlib
24+
- numpy # move up to solve before numba
2425
- numba
2526
- numexpr
26-
- numpy
2727
- openpyxl
28-
- pyarrow
28+
- pyarrow>2.0.1
2929
- pytables
3030
- python-dateutil
3131
- pytz

ci/setup_env.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ conda config --set ssl_verify false
4848
conda config --set quiet true --set always_yes true --set changeps1 false
4949
conda install pip conda # create conda to create a historical artifact for pip & setuptools
5050
conda update -n base conda
51+
conda install -y -c conda-forge mamba
5152

5253
echo "conda info -a"
5354
conda info -a
@@ -62,8 +63,8 @@ conda list
6263
conda remove --all -q -y -n pandas-dev
6364

6465
echo
65-
echo "conda env create -q --file=${ENV_FILE}"
66-
time conda env create -q --file="${ENV_FILE}"
66+
echo "mamba env create -q --file=${ENV_FILE}"
67+
time mamba env create -q --file="${ENV_FILE}"
6768

6869

6970
if [[ "$BITS32" == "yes" ]]; then

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ dependencies:
105105
- odfpy
106106

107107
- fastparquet>=0.4.0 # pandas.read_parquet, DataFrame.to_parquet
108-
- pyarrow>=1.0.1 # pandas.read_parquet, DataFrame.to_parquet, pandas.read_feather, DataFrame.to_feather
108+
- pyarrow>2.0.1 # pandas.read_parquet, DataFrame.to_parquet, pandas.read_feather, DataFrame.to_feather
109109
- python-snappy # required by pyarrow
110110

111111
- pytables>=3.6.1 # pandas.read_hdf, DataFrame.to_hdf

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ xlsxwriter
7070
xlwt
7171
odfpy
7272
fastparquet>=0.4.0
73-
pyarrow>=1.0.1
73+
pyarrow>2.0.1
7474
python-snappy
7575
tables>=3.6.1
7676
s3fs>=0.4.0

0 commit comments

Comments
 (0)