Skip to content

Conversation

@dimitri-yatsenko
Copy link
Member

Summary

Remove setuptools from runtime dependencies - it's not needed.

The codebase uses importlib.metadata.entry_points (standard library since Python 3.8) for plugin discovery, not pkg_resources from setuptools.

Test plan

  • Grep codebase for setuptools/pkg_resources usage - none found
  • Run tests to confirm no runtime dependency on setuptools

🤖 Generated with Claude Code

@dimitri-yatsenko dimitri-yatsenko force-pushed the fix/remove-setuptools-runtime-dep branch 4 times, most recently from d026163 to dd56823 Compare February 3, 2026 02:56
Removed (unused in main package):
- setuptools: Uses importlib.metadata.entry_points (stdlib)
- urllib3: Only urllib.parse (stdlib) is used

Moved to optional [viz] extra:
- matplotlib: Only for Diagram.draw()
- ipython: Only for Diagram.make_svg() in Jupyter

Moved to test dependencies:
- faker: Only used in test fixtures
- matplotlib, ipython: Needed for diagram tests

Install with visualization: pip install datajoint[viz]

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dimitri-yatsenko dimitri-yatsenko force-pushed the fix/remove-setuptools-runtime-dep branch from dd56823 to 222ad50 Compare February 3, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants