Skip to content

Prune unused packages from requirements.txt - #570

Merged
jrhoads merged 1 commit into
devfrom
quickwin/requirements
Sep 25, 2026
Merged

jrhoads merged 1 commit into
devfrom
quickwin/requirements

Conversation

@jrhoads

@jrhoads jrhoads commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Drop pandas, numpy, launchdarkly-server-sdk, and mock from requirements.txt (unused at runtime; LaunchDarkly is only referenced from dead features.py).
  • Move statsmodels to new requirements-dev.txt (affiliation / functional tests only; not needed for CI unit runs).
  • Pin boto3==1.43.100 (current pip index resolution).
  • Switch unit-test import mock to from unittest import mock in tests_queries_v2.py and tests_views_v2.py.

Dependabot overlap: Open Dependabot PRs #555 (launchdarkly), #557 (statsmodels), and #508 (mock) touch the same packages. This prune is the intended direction (drop/move those deps) — do not merge those Dependabot PRs; close them after this lands.

Test plan

  • CI unit tests pass (rorapi.tests.tests_unit)
  • Confirm install from pruned requirements.txt succeeds without the dropped packages
  • Affiliation tests still install statsmodels via requirements-dev.txt when run locally
Open in Web Open in Cursor 

Drop pandas, numpy, launchdarkly-server-sdk, and mock; move statsmodels
to requirements-dev.txt for affiliation tests; pin boto3; switch unit
tests to unittest.mock.

Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
@cursor
cursor Bot force-pushed the quickwin/requirements branch from 4258ca1 to 63913b6 Compare September 25, 2026 14:33
@jrhoads
jrhoads marked this pull request as ready for review September 25, 2026 14:37
@jrhoads
jrhoads merged commit 01dc2e4 into dev Sep 25, 2026
2 of 3 checks passed
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