Skip to content

Commit 4d5a1de

Browse files
fix: Remove unused runtime dependencies, make matplotlib optional
- Remove setuptools: Not needed. Uses importlib.metadata.entry_points (stdlib) - Remove urllib3: Not needed. Only urllib.parse (stdlib) is used - Move matplotlib to optional [viz] extra: Only needed for diagram.draw() Install with visualization support: pip install datajoint[viz] Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3a1c2db commit 4d5a1de

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ dependencies = [
1717
"networkx",
1818
"pydot",
1919
"fsspec>=2023.1.0",
20-
"matplotlib",
2120
"faker",
22-
"urllib3",
23-
"setuptools",
2421
"pydantic-settings>=2.0.0",
2522
]
2623

@@ -100,6 +97,7 @@ gcs = ["gcsfs>=2023.1.0"]
10097
azure = ["adlfs>=2023.1.0"]
10198
polars = ["polars>=0.20.0"]
10299
arrow = ["pyarrow>=14.0.0"]
100+
viz = ["matplotlib"]
103101
test = [
104102
"pytest",
105103
"pytest-cov",

0 commit comments

Comments
 (0)