diff --git a/.github/workflows/asv-bot.yml b/.github/workflows/asv-bot.yml index c2a49dd96c1c1..26249b41870f7 100644 --- a/.github/workflows/asv-bot.yml +++ b/.github/workflows/asv-bot.yml @@ -43,6 +43,8 @@ jobs: # during discovery process - uses: conda-incubator/setup-miniconda@v2 with: + mamba-version: "*" + channels: conda-forge,defaults activate-environment: pandas-dev channel-priority: strict environment-file: ${{ env.ENV_FILE }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bb82ed5d6816..b97682ac38b2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: + mamba-version: "*" + channels: conda-forge,defaults activate-environment: pandas-dev channel-priority: strict environment-file: ${{ env.ENV_FILE }} @@ -104,6 +106,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: + mamba-version: "*" + channels: conda-forge,defaults activate-environment: pandas-dev channel-priority: strict environment-file: ${{ env.ENV_FILE }} diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml index 3fdca951ae058..f937d7b289351 100644 --- a/.github/workflows/database.yml +++ b/.github/workflows/database.yml @@ -88,6 +88,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: + mamba-version: "*" + channels: conda-forge,defaults activate-environment: pandas-dev channel-priority: strict environment-file: ${{ matrix.ENV_FILE }} diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 9839eacc046f9..251514d39424f 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -81,6 +81,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: + mamba-version: "*" + channels: conda-forge,defaults activate-environment: pandas-dev channel-priority: flexible environment-file: ${{ env.ENV_FILE }} diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 8b3a5a23d7a97..0923888bf8e4e 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -48,7 +48,7 @@ jobs: - name: Install dependencies shell: bash run: | - python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade pip "setuptools<60.0.0" wheel pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install git+https://github.com/nedbat/coveragepy.git pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 5fc447a395aea..9e54397cee337 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -53,6 +53,8 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: + mamba-version: "*" + channels: conda-forge,defaults activate-environment: pandas-sdist channels: conda-forge python-version: '${{ matrix.python-version }}' diff --git a/ci/deps/actions-38-db.yaml b/ci/deps/actions-38-db.yaml index c08c642049b41..826a05fbaea63 100644 --- a/ci/deps/actions-38-db.yaml +++ b/ci/deps/actions-38-db.yaml @@ -30,7 +30,7 @@ dependencies: - openpyxl - pandas-gbq - psycopg2 - - pyarrow>=1.0.1 + - pyarrow>2 - pymysql - pytables - python-snappy diff --git a/ci/deps/actions-39-slow.yaml b/ci/deps/actions-39-slow.yaml index cb54210e81f23..6970ebb43515d 100644 --- a/ci/deps/actions-39-slow.yaml +++ b/ci/deps/actions-39-slow.yaml @@ -26,7 +26,7 @@ dependencies: - numexpr - numpy - openpyxl - - pyarrow + - pyarrow>2 - pytables - python-dateutil - pytz diff --git a/ci/deps/actions-39.yaml b/ci/deps/actions-39.yaml index dc897453114f1..053443b478aa2 100644 --- a/ci/deps/actions-39.yaml +++ b/ci/deps/actions-39.yaml @@ -21,11 +21,11 @@ dependencies: - jinja2 - lxml - matplotlib + - numpy - numba - numexpr - - numpy - openpyxl - - pyarrow + - pyarrow>2 - pytables - python-dateutil - pytz diff --git a/ci/deps/azure-windows-39.yaml b/ci/deps/azure-windows-39.yaml index a0dde78c37261..0dbebc9885c5b 100644 --- a/ci/deps/azure-windows-39.yaml +++ b/ci/deps/azure-windows-39.yaml @@ -25,7 +25,7 @@ dependencies: - numexpr - numpy - openpyxl - - pyarrow + - pyarrow>2 - pytables - python-dateutil - pytz diff --git a/ci/setup_env.sh b/ci/setup_env.sh index 2e16bc6545161..a967ecb274d0c 100755 --- a/ci/setup_env.sh +++ b/ci/setup_env.sh @@ -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 @@ -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 @@ -106,7 +107,7 @@ echo "[Build extensions]" python setup.py build_ext -q -j2 echo "[Updating pip]" -python -m pip install --no-deps -U pip wheel setuptools +python -m pip install --no-deps -U pip wheel "setuptools<60.0.0" echo "[Install pandas]" python -m pip install --no-build-isolation -e . diff --git a/environment.yml b/environment.yml index 30d05ab7700ff..c235f3d09e50d 100644 --- a/environment.yml +++ b/environment.yml @@ -100,7 +100,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 # 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