Skip to content

Remove unused runtime dependencies#1109

Draft
mpelteshki wants to merge 1 commit into
devfrom
chore/remove-unused-runtime-deps
Draft

Remove unused runtime dependencies#1109
mpelteshki wants to merge 1 commit into
devfrom
chore/remove-unused-runtime-deps

Conversation

@mpelteshki

Copy link
Copy Markdown
Collaborator

Summary

  • Remove unused direct runtime dependencies from setup.py and requirements.txt.
  • Keep test-only pytest available through requirements_dev.txt.
  • Leave compatibility and provider dependencies untouched.

Removed direct runtime entries:

  • alpha_vantage
  • quandl
  • bcrypt
  • pytest
  • psycopg2-binary
  • exchange_calendars
  • holidays
  • psutil
  • Flask

Size estimate

Resolver comparison after this change drops 7 packages from clean runtime installs:

  • alpha-vantage
  • quandl
  • bcrypt
  • psycopg2-binary
  • holidays
  • inflection
  • more-itertools

pytest, Flask, psutil, and exchange_calendars still resolve transitively from remaining dependencies, so net savings are smaller than the direct dependency list.

Estimated savings:

  • Linux cp312 x86_64 wheels: ~5.91 MiB download, ~16.35 MiB unzipped wheel payload.
  • Local macOS Python 3.14 target install: ~5.7 MiB wheel downloads, ~22 MiB installed site-packages footprint.

Largest saved package is psycopg2-binary: ~4.08 MiB wheel / ~11.12 MiB unzipped on Linux cp312 x86_64.

Validation

  • git diff --check
  • python -m pip install --dry-run --break-system-packages --ignore-installed -r requirements.txt
  • temporary venv: python setup.py egg_info

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 839ca653-562f-4ac0-8bfa-99078f39d1d7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/remove-unused-runtime-deps

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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