diff --git a/.github/workflows/tests-coverage.yml b/.github/workflows/tests-coverage.yml index 2b42e91e..c2824f94 100644 --- a/.github/workflows/tests-coverage.yml +++ b/.github/workflows/tests-coverage.yml @@ -21,7 +21,7 @@ jobs: run: | conda config --add channels conda-forge conda config --set channel_priority strict - conda install pandas pyyaml rasterio fiona + conda install pandas=1.5.3 pyyaml rasterio fiona pip install -e . pip install -r dev-requirements.txt coverage pytest --cov niche_vlaanderen --cov-report xml --verbose --tb=long diff --git a/docs/installation.rst b/docs/installation.rst index a6cf823e..ddd1bd9c 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -42,7 +42,7 @@ Now install the niche_vlaanderen package and its dependencies within the niche e .. code-block:: shell - (niche) C:\Users\myusername> conda install pandas pyyaml rasterio fiona + (niche) C:\Users\myusername> conda install pandas=1.5.3 pyyaml rasterio fiona (niche) C:\Users\myusername> pip install niche_vlaanderen It is strongly recommended to install also `matplotlib` (otherwise plotting @@ -100,7 +100,7 @@ opening some grid files. (See :ref:`missing_gcs` for instructions). .. code-block:: shell - conda install pandas pyyaml rasterio fiona + conda install pandas=1.5.3 pyyaml rasterio fiona pip install niche_vlaanderen Like for the normal installation, it is strongly recommended to install also `matplotlib` (otherwise plotting diff --git a/requirements.txt b/requirements.txt index e722b4ce..f315a87d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -pandas +pandas<2 numpy rasterio pyyaml