Skip to content

Commit 94384e9

Browse files
committed
Improve dependency versions
1 parent 781b145 commit 94384e9

1 file changed

Lines changed: 40 additions & 31 deletions

File tree

pyproject.toml

Lines changed: 40 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,47 +33,56 @@ classifiers = [
3333
"License :: OSI Approved :: MIT License",
3434
]
3535
dependencies = [
36-
"numpy >= 1.21.5",
37-
"PyYAML >= 6.0",
38-
"linopy >= 0.5.1",
39-
"netcdf4 >= 1.6.1",
40-
"rich >= 13.0.1",
41-
"highspy >= 1.5.3", # Default solver
42-
"pandas >= 2, < 3", # Used in post-processing
43-
"matplotlib >= 3.5.2", # Used in post-processing
44-
"plotly >= 5.15, < 6", # Used in post-processing
45-
"tomli >= 2.0.1" # TOML parser (only needed until python 3.11)
36+
# Core scientific computing
37+
"numpy >= 1.21.5, < 3",
38+
"pandas >= 2.0.0, < 3",
39+
40+
# Optimization and data handling
41+
"linopy >= 0.5.1, < 0.6.0",
42+
"netcdf4 >= 1.6.1, < 2",
43+
44+
# Utilities
45+
"PyYAML >= 6.0.0, < 7",
46+
"rich >= 13.0.0",
47+
"tomli >= 2.0.1; python_version < '3.11'", #Only needed with python 3.10 or earlier
48+
49+
# Default solver
50+
"highspy >= 1.5.3",
51+
52+
# Visualization
53+
"matplotlib >= 3.5.2, < 4.0.0",
54+
"plotly >= 5.15.0, < 6.0.0",
4655
]
4756

4857
[project.optional-dependencies]
4958
dev = [
50-
"pytest",
51-
"ruff",
52-
"pyvis == 0.3.1", # Used for visualizing the FLowSystem
53-
"tsam >= 2.3.1", # Used for time series aggregation
54-
"scipy >= 1.15.1", # Used by tsam. Prior versions have conflict with highspy. See https://github.com/scipy/scipy/issues/22257
55-
"gurobipy >= 10.0",
59+
"pytest >= 7.0.0",
60+
"ruff >= 0.9.0",
61+
"pyvis == 0.3.1", # Visualizing FlowSystem
62+
"tsam >= 2.3.1, < 3.0.0", # Time series aggregation
63+
"scipy >= 1.15.1, < 2.0.0", # Used by tsam. Prior versions have conflict with highspy. See https://github.com/scipy/scipy/issues/22257
64+
"gurobipy >= 10.0.0",
5665
]
5766

5867
full = [
59-
"pyvis == 0.3.1", # Used for visualizing the FLowSystem
60-
"tsam >= 2.3.1", # Used for time series aggregation
61-
"scipy >= 1.15.1", # Used by tsam. Prior versions have conflict with highspy. See https://github.com/scipy/scipy/issues/22257
62-
"streamlit >= 1.44.0",
63-
"gurobipy >= 10.0",
68+
"pyvis == 0.3.1", # Visualizing FlowSystem Network
69+
"tsam >= 2.3.1, < 3.0.0", # Time series aggregation
70+
"scipy >= 1.15.1, < 2.0.0", # Used by tsam. Prior versions have conflict with highspy. See https://github.com/scipy/scipy/issues/22257
71+
"streamlit >= 1.44.0, < 2.0.0",
72+
"gurobipy >= 10.0.0",
6473
]
6574

6675
docs = [
67-
"mkdocs-material>=9.0.0",
68-
"mkdocstrings-python",
69-
"mkdocs-table-reader-plugin",
70-
"mkdocs-gen-files",
71-
"mkdocs-include-markdown-plugin",
72-
"mkdocs-literate-nav",
73-
"markdown-include",
74-
"pymdown-extensions",
75-
"pygments",
76-
"mike",
76+
"mkdocs-material >= 9.0.0, < 10",
77+
"mkdocstrings-python >= 1.0.0",
78+
"mkdocs-table-reader-plugin >= 2.0.0",
79+
"mkdocs-gen-files >= 0.4.0",
80+
"mkdocs-include-markdown-plugin >= 6.0.0",
81+
"mkdocs-literate-nav >= 0.6.0",
82+
"markdown-include >= 0.8.0",
83+
"pymdown-extensions >= 10.0.0",
84+
"pygments >= 2.14.0",
85+
"mike >= 1.1.0, < 2",
7786
]
7887

7988
[project.urls]

0 commit comments

Comments
 (0)