Skip to content

Conversation

@mattdawkins
Copy link
Member

Summary

Remove dependencies from install_requires and requirements/runtime.txt that are unused or dev-only:

Dependency Reason for removal
cryptography Never imported anywhere in the codebase
cython No .pyx files exist; build-time dependency at best
Pillow from PIL import Image is commented out in spectrogram module
sphinx-click Sphinx documentation extension, not needed at runtime
line_profiler Profiling tool, not needed at runtime

Also fix truncated project URLs in setup.cfg metadata — https://github.com/Kitware should be https://github.com/Kitware/batbot.

Test plan

  • Run pip install . in a clean venv and verify the package installs without the removed deps
  • Run pytest to confirm no import errors from the removed packages
  • Verify PyPI metadata URLs point to the correct repository

🤖 Generated with Claude Code

Remove dependencies that are not imported or are dev-only:
- cryptography: never imported anywhere in the codebase
- cython: no .pyx files exist; build-time dep at best
- Pillow: `from PIL import Image` is commented out
- sphinx-click: documentation extension, not needed at runtime
- line_profiler: profiling tool, not needed at runtime

Also fix truncated project URLs in setup.cfg metadata:
- url: https://github.com/Kitware -> https://github.com/Kitware/batbot
- Source: https://github.com/Kitware -> https://github.com/Kitware/batbot

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant