Skip to content

Commit

Permalink
Merge pull request #364 from inbo/tests
Browse files Browse the repository at this point in the history
Fix pandas on <2.0
  • Loading branch information
johanvdw committed Dec 6, 2023
2 parents a45b5b2 + 4aa5356 commit 3703771
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pandas
pandas<2
numpy
rasterio
pyyaml
Expand Down

0 comments on commit 3703771

Please sign in to comment.