Skip to content

Commit ee72c06

Browse files
committed
refactor: update requirements in setup.py to streamline dependencies
1 parent bae5558 commit ee72c06

1 file changed

Lines changed: 33 additions & 193 deletions

File tree

setup.py

Lines changed: 33 additions & 193 deletions
Original file line numberDiff line numberDiff line change
@@ -32,199 +32,38 @@ def read(fname):
3232

3333

3434
requirements = [
35-
"Flask==3.1.0",
36-
"MarkupSafe==3.0.2",
37-
"SecretStorage==3.3.3",
38-
"Werkzeug==3.1.3",
39-
"affine==2.4.0",
40-
"ansi2html==1.9.2",
41-
"anyio==4.8.0",
42-
"argon2-cffi==23.1.0",
43-
"argon2-cffi-bindings==21.2.0",
44-
"arrow==1.3.0",
45-
"astroid==3.3.8",
46-
"asttokens==3.0.0",
47-
"async-lru==2.0.4",
48-
"attrs==25.1.0",
49-
"babel==2.17.0",
50-
"backports.tarfile==1.2.0",
51-
"bcrypt==4.2.1",
52-
"beautifulsoup4==4.13.3",
53-
"bleach==6.2.0",
54-
"blinker==1.9.0",
55-
"blosc2<2.8.0",
56-
"bottleneck==1.4.2",
57-
"certifi==2025.1.31",
58-
"cffi==1.17.1",
59-
"cftime==1.6.4.post1",
60-
"charset-normalizer==3.4.1",
61-
"click==8.1.8",
62-
"click-plugins==1.1.1",
63-
"cligj==0.7.2",
64-
"cloudpickle==3.1.1",
65-
"comm==0.2.2",
66-
"contextily==1.6.2",
67-
"contourpy<1.3.2",
68-
"convertdate==2.4.0",
69-
"cryptography==44.0.1",
70-
"cycler==0.12.1",
71-
"dash==2.8.1",
72-
"dash-core-components==2.0.0",
73-
"dash-html-components==2.0.0",
74-
"dash-table==5.0.0",
75-
"dask<2025.3.0",
76-
"debugpy==1.8.12",
77-
"decorator==5.1.1",
78-
"defusedxml==0.7.1",
79-
"demandlib==0.2.1",
80-
"deprecation==2.1.0",
81-
"descartes==1.1.0",
82-
"dill==0.3.9",
83-
"egoio==0.4.8",
84-
"exceptiongroup==1.2.2",
85-
"executing==2.2.0",
86-
"fastjsonschema==2.21.1",
87-
"fonttools==4.56.0",
88-
"fqdn==1.5.1",
89-
"fsspec==2025.2.0",
90-
"geoalchemy2==0.6.3",
91-
"geographiclib==2.0",
92-
"geopandas==1.0.1",
93-
"geopy==2.4.1",
94-
"h11==0.14.0",
95-
"httpcore==1.0.7",
96-
"httpx==0.28.1",
97-
"idna==3.10",
98-
"importlib_metadata==8.6.1",
99-
"ipykernel==6.29.5",
100-
"ipython<8.33.0",
101-
"isoduration==20.11.0",
102-
"itsdangerous==2.2.0",
103-
"jaraco.classes==3.4.0",
104-
"jaraco.context==6.0.1",
105-
"jaraco.functools==4.1.0",
106-
"jedi==0.19.2",
107-
"jeepney==0.8.0",
108-
"jinja2==3.1.5",
109-
"joblib==1.4.2",
110-
"json5==0.10.0",
111-
"jsonpointer==3.0.0",
112-
"jsonschema==4.23.0",
113-
"jsonschema-specifications==2024.10.1",
114-
"jupyter-client==8.6.3",
115-
"jupyter-core==5.7.2",
116-
"jupyter-events==0.12.0",
117-
"jupyter-lsp==2.2.5",
118-
"jupyter-server==2.15.0",
119-
"jupyter-server-terminals==0.5.3",
120-
"jupyter_dash==0.4.2",
121-
"jupyterlab==4.3.5",
122-
"jupyterlab-pygments==0.3.0",
123-
"jupyterlab-server==2.27.3",
124-
"keyring==25.6.0",
125-
"keyrings.alt==5.0.2",
126-
"kiwisolver<1.5.0",
127-
"linopy==0.5.0",
128-
"locket==1.0.0",
129-
"lunardate==0.2.2",
130-
"matplotlib<3.11.0",
131-
"matplotlib-inline==0.1.7",
132-
"mercantile==1.2.1",
133-
"mistune==3.1.1",
134-
"more-itertools==10.6.0",
135-
"msgpack==1.1.0",
136-
"multiprocess==0.70.17",
137-
"nbclient==0.10.2",
138-
"nbconvert==7.16.6",
139-
"nbformat==5.10.4",
140-
"ndindex==1.9.2",
141-
"nest-asyncio==1.6.0",
142-
"netcdf4==1.7.2",
143-
"networkx<3.5.0",
144-
"notebook-shim==0.2.4",
145-
"numexpr==2.10.2",
146-
"numpy==1.26.4",
147-
"oedialect==0.1.1",
148-
"overrides==7.7.0",
149-
"packaging==24.2",
150-
"pandas==2.1.4",
151-
"pandocfilters==1.5.1",
152-
"paramiko==3.5.1",
153-
"parso==0.8.4",
154-
"partd==1.4.2",
155-
"pexpect==4.9.0",
156-
"pillow==11.1.0",
157-
"platformdirs==4.3.6",
158-
"plotly==5.24.1",
159-
"ply==3.11",
160-
"polars==1.22.0",
161-
"prometheus-client==0.21.1",
162-
"prompt_toolkit==3.0.50",
163-
"psutil==7.0.0",
164-
"psycopg2-binary==2.9.10",
165-
"ptyprocess==0.7.0",
166-
"pure-eval==0.2.3",
167-
"py-cpuinfo==9.0.0",
168-
"pycparser==2.22",
169-
"pydot==3.0.4",
170-
"pygeos==0.14",
171-
"pygments==2.19.1",
172-
"pyluach==2.2.0",
173-
"pymeeus==0.5.12",
174-
"pynacl==1.5.0",
175-
"pyogrio==0.10.0",
176-
"pyomo==6.6.1",
177-
"pyparsing==3.2.1",
178-
"pypower==5.1.17",
179-
"pyproj<3.8.0",
180-
"pypsa==0.26.2",
181-
"python-dateutil==2.9.0.post0",
182-
"python-json-logger==3.2.1",
183-
"pytz==2025.1",
184-
"pyyaml==6.0.2",
185-
"pyzmq==26.2.1",
186-
"rasterio==1.4.3",
187-
"referencing==0.36.2",
188-
"requests==2.32.3",
189-
"retrying==1.3.4",
190-
"rfc3339-validator==0.1.4",
191-
"rfc3986-validator==0.1.1",
192-
"rpds-py==0.22.3",
193-
"saio==0.2.1",
194-
"scikit-learn==1.2.2",
195-
"scipy<1.16.0",
196-
"send2trash==1.8.3",
197-
"shapely==2.0.7",
198-
"six==1.17.0",
199-
"sniffio==1.3.1",
200-
"soupsieve==2.6",
201-
"sqlalchemy==1.3.24",
202-
"sshtunnel==0.4.0",
203-
"stack_data==0.6.3",
204-
"tables<3.11.0",
205-
"tenacity==9.0.0",
206-
"terminado==0.18.1",
207-
"threadpoolctl==3.5.0",
208-
"tinycss2==1.4.0",
209-
"tomli==2.2.1",
210-
"toolz==1.0.0",
211-
"tornado==6.4.2",
212-
"tqdm==4.67.1",
213-
"traitlets==5.14.3",
214-
"types-python-dateutil==2.9.0.20241206",
215-
"typing-extensions==4.12.2",
216-
"tzdata==2025.1",
217-
"uri-template==1.3.0",
218-
"urllib3==2.3.0",
219-
"validators==0.34.0",
220-
"wcwidth==0.2.13",
221-
"webcolors==24.11.1",
222-
"webencodings==0.5.1",
223-
"websocket-client==1.8.0",
224-
"workalendar==17.0.0",
225-
"xarray<2025.2.0",
226-
"xyzservices==2025.1.0",
227-
"zipp==3.21.0",
35+
"contextily < 1.7.0",
36+
"dash < 2.9.0",
37+
"demandlib < 0.3.0",
38+
"descartes < 1.2.0",
39+
"egoio >= 0.4.7, < 0.5.0",
40+
"geoalchemy2 < 0.7.0",
41+
"geopandas >= 0.12.0, < 1.1.0",
42+
"geopy >= 2.0.0, < 2.5.0",
43+
"jupyterlab < 4.4.0",
44+
"jupyter_dash < 0.5.0",
45+
"matplotlib >= 3.3.0, < 3.11.0",
46+
"multiprocess < 0.71.0",
47+
"networkx >= 2.5.0, < 3.5.0",
48+
# newer pandas versions don't work with specified sqlalchemy versions, but upgrading
49+
# sqlalchemy leads to new errors.. should be fixed at some point
50+
"numpy ==1.26.4",
51+
"pandas >= 1.4.0, < 2.2.0",
52+
"plotly < 6.0",
53+
"pydot < 3.1.0",
54+
"pygeos < 0.15.0",
55+
"pypower < 5.2.0",
56+
"pyproj >= 3.0.0, < 3.8.0",
57+
"pypsa == 0.26.2",
58+
"pyyaml < 6.1.0",
59+
"saio < 0.3.0",
60+
"scikit-learn < 1.3.0",
61+
"shapely >= 1.7.0, < 2.1.0",
62+
"sqlalchemy < 1.4.0",
63+
"sshtunnel < 0.5.0",
64+
"urllib3 < 2.4.0",
65+
"workalendar < 17.1.0",
66+
"astroid == 3.3.9",
22867
]
22968

23069
dev_requirements = [
@@ -240,6 +79,7 @@ def read(fname):
24079
"sphinx_rtd_theme >=0.5.2, < 3.1.0",
24180
"sphinx-autodoc-typehints < 3.2.0",
24281
"sphinx-autoapi < 3.7.0",
82+
"astroid == 3.3.9",
24383
]
24484

24585
extras = {"dev": dev_requirements}

0 commit comments

Comments
 (0)