Skip to content

Commit 2e467f1

Browse files
authored
Add more flexible dependency management (#420)
1 parent 60ffc66 commit 2e467f1

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ classifiers = [
1919
"Intended Audience :: Science/Research",
2020
]
2121
dependencies = [
22-
"numpy~=2.1",
23-
"pandas~=2.2.3",
24-
"Shapely~=2.0.6",
25-
"scipy~=1.14",
26-
"matplotlib~=3.9",
27-
"h5py~=3.12",
22+
"numpy>=2.1,<3.0",
23+
"pandas>=2.2.3,<3.0",
24+
"Shapely>=2.0.6,<3.0",
25+
"scipy>=1.14,<2.0",
26+
"matplotlib>=3.9,<4.0",
27+
"h5py>=3.12,<4.0",
2828
]
2929

3030
requires-python = ">=3.11"

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
numpy~=2.1
2-
pandas~=2.2.3
3-
Shapely~=2.0.6
4-
scipy~=1.14
5-
matplotlib~=3.9
6-
h5py~=3.12
1+
numpy>=2.1,<3.0
2+
pandas>=2.2.3,<3.0
3+
Shapely>=2.0.6,<3.0
4+
scipy>=1.14,<2.0
5+
matplotlib>=3.9,<4.0
6+
h5py>=3.12,<4.0
77

88
# testing
99
pytest~=8.3

0 commit comments

Comments
 (0)