mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-08-06 19:28:06 +00:00
Removed from requirements.txt: python-socketio, python-engineio, websockets, websocket-client — zero imports anywhere in this repo, and the one store plugin that needs Socket.IO (ledmatrix-music) declares it in its own requirements.txt, which the plugin store installs. Removed the same quartet plus timezonefinder, geopy, google-auth-oauthlib, google-auth-httplib2, google-api-python-client, unidecode, icalevents, python-dateutil, flask-wtf and the werkzeug pin from web_interface/requirements.txt — all leftovers from the deleted built-in weather/calendar/music displays (flask-wtf was doubly dead: app.py explicitly disables CSRF and sets csrf=None). scripts/ install_dependencies_apt.py, which mirrors these lists for the first-time installer, drops the same packages. Added: urllib3 (imported directly in four core modules), jinja2 and markupsafe (imported directly in pages_v3.py) — previously reachable only as transitives. mypy moves from runtime requirements to requirements-test.txt. Verified in a fresh venv: all four requirements files co-install, pip check is clean, the full CI-enrolled suite (907 tests) and a Flask boot smoke pass with the trimmed dependency set. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SXb4mKcAkVaxkeTb3YnAdr
11 lines
691 B
Plaintext
11 lines
691 B
Plaintext
# Test-only dependencies for the plugin safety harness and pytest suite.
|
|
# Install alongside requirements.txt: pip install -r requirements.txt -r requirements-test.txt
|
|
#
|
|
# pytest, pytest-cov, pytest-mock, and jsonschema are already pinned (with
|
|
# major-version caps) in requirements.txt, so they are intentionally NOT
|
|
# repeated here — re-pinning pytest to <9 collided with requirements.txt's
|
|
# pytest>=9.0.3,<10 and made the two files impossible to install together.
|
|
# Only declare what requirements.txt doesn't already provide.
|
|
freezegun>=1.2,<2 # deterministic time for golden-image tests
|
|
mypy>=1.5.0,<2.0.0 # static type checking (also pinned in .pre-commit-config.yaml)
|