diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index febcecbf8c7..34fb72027fd 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -39,7 +39,7 @@ jobs: # Install GMT and other required dependencies from conda-forge - name: Install dependencies run: | - mamba install gmt=6.4.0 numpy pandas xarray netCDF4 packaging \ + mamba install gmt=6.4.0 numpy 'pandas<2.0' xarray netCDF4 packaging \ build # Install the package that we want to test diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index c042acd33ed..b58cc31200c 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -70,7 +70,7 @@ jobs: # Install GMT and other required dependencies from conda-forge - name: Install dependencies run: | - mamba install gmt=6.4.0 numpy pandas xarray netCDF4 packaging \ + mamba install gmt=6.4.0 numpy 'pandas<2.0' xarray netCDF4 packaging \ build ipython make myst-parser contextily geopandas rioxarray \ sphinx sphinx-copybutton sphinx-design sphinx-gallery sphinx_rtd_theme diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index f2694f22e1d..55292310504 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -91,7 +91,7 @@ jobs: - name: Install dependencies run: | mamba install gmt=6.4.0 numpy=${{ matrix.numpy-version }} \ - pandas xarray netCDF4 packaging \ + 'pandas<2.0' xarray netCDF4 packaging \ ${{ matrix.optional-packages }} \ build dvc make 'pytest>=6.0' \ pytest-cov pytest-doctestplus pytest-mpl sphinx-gallery diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 2305741e276..b7a0d2de8a6 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -100,7 +100,7 @@ jobs: ninja cmake libblas libcblas liblapack fftw libgdal \ geopandas ghostscript libnetcdf hdf5 zlib curl pcre make pip install --pre --prefer-binary \ - numpy pandas xarray netCDF4 packaging \ + numpy 'pandas<2.0' xarray netCDF4 packaging \ build contextily dvc ipython rioxarray \ 'pytest>=6.0' pytest-cov pytest-doctestplus pytest-mpl \ sphinx-gallery diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index 5c9912243ac..af82a8a204e 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -65,7 +65,7 @@ jobs: - name: Install dependencies run: | mamba install gmt=${{ matrix.gmt_version }} numpy \ - pandas xarray netCDF4 packaging \ + 'pandas<2.0' xarray netCDF4 packaging \ contextily geopandas ipython rioxarray \ build dvc make 'pytest>=6.0' \ pytest-cov pytest-doctestplus pytest-mpl sphinx-gallery diff --git a/environment.yml b/environment.yml index 3c3abbf1374..509281ffd82 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - gmt=6.4.0 - numpy>=1.21 - - pandas + - pandas<2.0 - xarray - netCDF4 - packaging