Skip to content

Commit

Permalink
Pin max major versions of dependencies for future compatibility (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet authored Feb 5, 2024
1 parent f66058a commit e3f7929
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 33 deletions.
22 changes: 10 additions & 12 deletions dev-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ name: xdem-dev
channels:
- conda-forge
dependencies:
- python>=3.9
- geopandas>=0.10.0
- fiona
- shapely
- numba
- numpy
- matplotlib
- pyproj>=3.4
- rasterio>=1.3
- scipy
- python>=3.9,<3.12
- geopandas>=0.12.0,<0.14
- numba=0.*
- numpy=1.*
- matplotlib=3.*
- pyproj>=3.4,<4
- rasterio>=1.3,<2
- scipy=1.*
- tqdm
- scikit-image
- scikit-image=0.*
- scikit-gstat>=1.0
- geoutils=0.0.15

Expand All @@ -35,7 +33,7 @@ dependencies:

# Doc dependencies
- sphinx
- pydata-sphinx-theme==0.13.3
- pydata-sphinx-theme
- sphinx-book-theme>=1.0
- sphinxcontrib-programoutput
- sphinx-design
Expand Down
20 changes: 9 additions & 11 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ name: xdem
channels:
- conda-forge
dependencies:
- python>=3.9
- geopandas>=0.10.0
- fiona
- shapely
- numba
- numpy
- matplotlib
- pyproj>=3.4
- rasterio>=1.3
- scipy
- python>=3.9,<3.12
- geopandas>=0.12.0,<0.14
- numba=0.*
- numpy=1.*
- matplotlib=3.*
- pyproj>=3.4,<4
- rasterio>=1.3,<2
- scipy=1.*
- tqdm
- scikit-image
- scikit-image=0.*
- scikit-gstat>=1.0
- geoutils=0.0.15
- pip
Expand Down
18 changes: 8 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# This file is auto-generated from environment.yml, do not modify.
# See that file for comments about the need/usage of each dependency.

geopandas>=0.10.0
fiona
shapely
numba
numpy
matplotlib
pyproj>=3.4
rasterio>=1.3
scipy
geopandas>=0.12.0,<0.14
numba==0.*
numpy==1.*
matplotlib==3.*
pyproj>=3.4,<4
rasterio>=1.3,<2
scipy==1.*
tqdm
scikit-image
scikit-image==0.*
scikit-gstat>=1.0
geoutils==0.0.15
pip
Expand Down

0 comments on commit e3f7929

Please sign in to comment.