docker: remove pip from the runtime images, release 6.9.3 #20

Merged
tim merged 2 commits from chore/weekly-maintenance-2026-11-02 into develop 2026-11-02 10:35:37 +00:00
Owner

Weekly maintenance.

Findings (Trivy on freshly built images, docker build --pull, HIGH/CRITICAL with a fix): 5 per image (mcp, rss, web), all inside pip's own vendored libraries: msgpack 1.1.2 (CVE-2026-114613, GHSA-6v7p-g79w-8964), urllib3 2.7.0 (CVE-2026-97687, CVE-2026-97689), setuptools 70.3.0 (CVE-2025-47273). The Python dependencies themselves are current: requirements resolve to the newest releases at build time, the full suite passes on them (2008 passed, 1 skipped) and pip-audit reports nothing.

Change: python -m pip uninstall -y pip in the final stage of the three Dockerfiles; pip is only needed in the builder. No scanner suppression, no application changes.

Result: Trivy HIGH/CRITICAL fixable 5 -> 0 for all three images; imports verified in each image. Ruff check/format and the ASCII check pass locally.

Version 6.9.3 in pyproject.toml and memory/version.py, CHANGELOG entry added. Release PR develop -> main follows once this is merged and green.

🤖 Generated with Claude Code

Weekly maintenance. **Findings (Trivy on freshly built images, `docker build --pull`, HIGH/CRITICAL with a fix):** 5 per image (mcp, rss, web), all inside pip's own vendored libraries: msgpack 1.1.2 (CVE-2026-114613, GHSA-6v7p-g79w-8964), urllib3 2.7.0 (CVE-2026-97687, CVE-2026-97689), setuptools 70.3.0 (CVE-2025-47273). The Python dependencies themselves are current: requirements resolve to the newest releases at build time, the full suite passes on them (2008 passed, 1 skipped) and `pip-audit` reports nothing. **Change:** `python -m pip uninstall -y pip` in the final stage of the three Dockerfiles; pip is only needed in the builder. No scanner suppression, no application changes. **Result:** Trivy HIGH/CRITICAL fixable 5 -> 0 for all three images; imports verified in each image. Ruff check/format and the ASCII check pass locally. Version 6.9.3 in `pyproject.toml` and `memory/version.py`, CHANGELOG entry added. Release PR `develop` -> `main` follows once this is merged and green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Merge pull request 'release: 6.9.2' (#19) from develop into main
All checks were successful
Auto Tag Release / Tag release from pyproject.toml version (push) Successful in 4s
Docker Build & Push / Test (fresh dependencies) (push) Successful in 1m29s
Docker Build & Push / Build mcp_server (push) Successful in 1m3s
Docker Build & Push / Build web_ui (push) Successful in 43s
Docker Build & Push / Build rss_worker (push) Successful in 1m0s
Docker Build & Push / Create Forgejo Release (push) Successful in 3s
afd23caa2e
docker: remove pip from the runtime images, release 6.9.3
All checks were successful
Lint / Ruff (pull_request) Successful in 9s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m35s
Security Scans / Test Coverage (pull_request) Successful in 1m15s
9cab8e70b7
Trivy reports pip's vendored msgpack, urllib3 and setuptools as fixable HIGH
findings in all three images. pip is only needed in the builder stage, so it
is uninstalled in the final stage. Dependencies resolve to the newest releases
at build time; the full suite passes on them and pip-audit is clean. Trivy
HIGH/CRITICAL fixable: 5 -> 0 per image.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tim merged commit 79fb22fab4 into develop 2026-11-02 10:35:37 +00:00
tim deleted branch chore/weekly-maintenance-2026-11-02 2026-11-02 10:35:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
upstream-feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/omnimem!20
No description provided.