Skip to content

build(deps): review and update dependencies, verify test suite (2026-11-19) - #9

Open
ROMzombie wants to merge 1 commit into
mainfrom
dependencies-2026-11-19
Open

ROMzombie wants to merge 1 commit into
mainfrom
dependencies-2026-11-19

Conversation

@ROMzombie

Copy link
Copy Markdown
Owner

Dependency Update and Security Review (2026-11-19)

Summary of Updates

This pull request reviews all project dependencies (Python packages, Docker base image, GitHub Actions workflows, and frontend assets), scans for known security vulnerabilities and open Dependabot pull requests, upgrades safe patch/minor direct and transitive dependencies, and verifies the full test suite.

Dependency Audit

Direct Dependencies (requirements.txt)

Package Previous Pin Upgraded Pin Installed Version Category Security Status
fastapi >=0.162.5 >=0.165.0 0.165.0 Minor 0 CVEs
uvicorn[standard] >=0.54.0 >=0.54.0 0.54.0 Up to date 0 CVEs
httpx >=0.28.1 >=0.28.1 0.28.1 Up to date 0 CVEs
pillow >=13.0.0 >=13.0.0 13.0.0 Up to date 0 CVEs
pydantic >=2.14.3 >=2.14.4 2.14.4 Patch 0 CVEs
python-multipart >=0.0.33 >=0.0.34 0.0.34 Patch 0 CVEs
playwright >=1.65.1 >=1.65.2 1.65.2 Patch 0 CVEs
gradio_client >=2.7.2 >=2.7.2 2.7.2 Up to date 0 CVEs
python-dotenv >=1.2.4 >=1.2.4 1.2.4 Up to date 0 CVEs

Transitive & Environment Dependencies Upgraded (Safe Patch)

Package Previous Version Upgraded Version Category Dependency Of
annotated-doc 0.0.6 0.0.7 Patch fastapi
filelock 4.2.10 4.2.12 Patch huggingface_hub
httpcore2 2.16.0 2.16.2 Patch httpx2
httpx2 2.16.0 2.16.2 Patch huggingface_hub
pydantic_core 2.50.4 2.50.5 Patch pydantic
platformdirs 4.14.5 4.14.7 Patch Virtual environment package (unused by requirements.txt)

Skipped / Deferred Updates

Dependency Current Available Category Reason Skipped
pyee 14.0.0 16.1.0 Major Orphaned package in .venv; playwright 1.65.2 requires only greenlet<4.0.0,>=3.1.1.
pypdf 6.21.4 7.1.1 Major Orphaned package in .venv; not referenced in codebase or required by requirements.txt.
pip 26.2.2 26.3 Minor Python package installer in internal virtual environment.
GitHub Actions (.github/workflows/ci.yml, docker-publish.yml) actions/checkout@v4, actions/setup-python@v5, docker/setup-buildx-action@v3, docker/login-action@v3, docker/metadata-action@v5, docker/build-push-action@v6 v7.0.1, v7.1.0, v4.4.1, v4.8.0, v6.2.0, v7.4.0 Major CI workflow action major upgrades deferred to avoid unverified runner environment changes.

Other Surfaces Audited

  • Docker: Dockerfile uses python:3.11-slim (unchanged).
  • Frontend: frontend/ uses vanilla HTML, CSS, and JavaScript with no external third-party packages or CDN libraries.

Security Findings & Vulnerability Scan

  • OSV Vulnerability Audit: Queried https://api.osv.dev/v1/querybatch across all 42 installed packages in .venv before and after updates. Result: 0 known vulnerabilities found.
  • GitHub Dependabot Scan:

Code Changes

  • Updated minimum version pins in requirements.txt for fastapi, pydantic, python-multipart, and playwright.
  • No application or test code refactoring was required (fastapi 0.163.0–0.165.0 added opt-in features without breaking existing APIs).

Verification & Quality Gates

  • Core Test Suite (tests/test_proxies.py, tests/test_grok.py, tests/test_janus.py, tests/test_api.py, tests/test_pipeline.py): 61 / 61 passed (OK in 29.748s).
  • Full Discovery Suite (python -m unittest discover -s tests with TESTING=true, ENV_FILE=none): 78 / 78 passed (OK in 111.759s).
  • Playwright Chromium Test (tests/test_perchance.py after playwright install chromium v1255): 3 / 3 passed (OK in 68.438s).
  • Dependency Consistency: pip check reports No broken requirements found.
  • Compilation Check: python -m compileall -q backend tests .github/scripts run.py passed with exit code 0.

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