Skip to content

Commit

Permalink
CI: Add mambaforge to ci builds (pandas-dev#44967)
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored Dec 23, 2021
1 parent 718cec9 commit d2abc92
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:

- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge
activate-environment: pandas-dev
channel-priority: strict
environment-file: ${{ env.ENV_FILE }}
Expand Down Expand Up @@ -104,6 +106,8 @@ jobs:

- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge
activate-environment: pandas-dev
channel-priority: strict
environment-file: ${{ env.ENV_FILE }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ jobs:

- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge
activate-environment: pandas-dev
channel-priority: strict
environment-file: ${{ matrix.ENV_FILE }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:

- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge
activate-environment: pandas-dev
channel-priority: flexible
environment-file: ${{ env.ENV_FILE }}
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-39-slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:
- numexpr
- numpy
- openpyxl
- pyarrow
- pyarrow>2.0.1
- pytables
- python-dateutil
- pytz
Expand Down
4 changes: 2 additions & 2 deletions ci/deps/actions-39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ dependencies:
- jinja2
- lxml
- matplotlib
- numpy # move up to solve before numba
- numba
- numexpr
- numpy
- openpyxl
- pyarrow
- pyarrow>2.0.1
- pytables
- python-dateutil
- pytz
Expand Down
5 changes: 3 additions & 2 deletions ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ conda config --set ssl_verify false
conda config --set quiet true --set always_yes true --set changeps1 false
conda install pip conda # create conda to create a historical artifact for pip & setuptools
conda update -n base conda
conda install -y -c conda-forge mamba

echo "conda info -a"
conda info -a
Expand All @@ -62,8 +63,8 @@ conda list
conda remove --all -q -y -n pandas-dev

echo
echo "conda env create -q --file=${ENV_FILE}"
time conda env create -q --file="${ENV_FILE}"
echo "mamba env create -q --file=${ENV_FILE}"
time mamba env create -q --file="${ENV_FILE}"


if [[ "$BITS32" == "yes" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ dependencies:
- odfpy

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

- pytables>=3.6.1 # pandas.read_hdf, DataFrame.to_hdf
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ xlsxwriter
xlwt
odfpy
fastparquet>=0.4.0
pyarrow>=1.0.1
pyarrow>2.0.1
python-snappy
tables>=3.6.1
s3fs>=0.4.0
Expand Down

0 comments on commit d2abc92

Please sign in to comment.