Skip to content

Commit

Permalink
pin versions since numpy 2 breaks things (#179)
Browse files Browse the repository at this point in the history
* add dockerfile

* change building_buffered_target to building_buffered

* pin numpy to <2

* pin geopandas and geocube
  • Loading branch information
erexer authored Aug 2, 2024
1 parent 5c41c7d commit 71ebdab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM quay.io/jupyter/minimal-notebook

USER root

RUN apt update
RUN apt install -y graphviz
RUN apt install -y wget

RUN python -m pip install --upgrade pip
RUN python -m pip install naturf

RUN wget https://raw.githubusercontent.com/IMMM-SFA/naturf/main/notebooks/quickstarter.ipynb

RUN rm -rf work
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ dependencies = [
"fiona==1.8.19;python_version<'3.10'",
"fiona>=1.9.6;python_version>='3.10'",
"geocube==0.3.3;python_version<'3.10'",
"geocube>=0.5.2;python_version>='3.10'",
"geocube>=0.5.2,<6;python_version>='3.10'",
"geopandas==0.10.2;python_version<'3.10'",
"geopandas>=0.14.4;python_version>='3.10'",
"geopandas>=0.14.4,<1;python_version>='3.10'",
"graphviz==0.20.3",
"joblib>=1.4.2",
"numpy==1.22.4;python_version<'3.10'",
"numpy>=1.26.4;python_version>='3.10'",
"numpy>=1.26.4,<2;python_version>='3.10'",
"pandas>=2.2.2",
"pyproj>=3.0.1",
"rasterio>=1.3.10",
Expand Down

0 comments on commit 71ebdab

Please sign in to comment.