Skip to content

Update pytest for CVE-2025-71176 - #22

Merged
dabeckham merged 1 commit into
mainfrom
chore/update-test-dependencies
Jul 26, 2026
Merged

Update pytest for CVE-2025-71176#22
dabeckham merged 1 commit into
mainfrom
chore/update-test-dependencies

Conversation

@dabeckham

Copy link
Copy Markdown
Owner

Turning on dependency alerts surfaced two immediately, both the same thing:
pytest 8.3.4 in requirements-dev.txt and requirements-e2e.txt, for
CVE-2025-71176 — unsafe temporary-directory handling, fixed in 9.0.3.

Reachability: none

pytest is not installed in the runtime image. The Dockerfile installs
requirements.txt alone, so nothing an attacker can reach was ever affected.
Clearing it anyway so the alert list sits at zero and a real one stands out when
it arrives.

The changes

  • pytest 8.3.4 → 9.1.1 in both manifests.
  • pytest-playwright 0.5.2 → 0.8.0. Every earlier release caps pytest
    below 9; 0.8.0 is the first that accepts it.
  • playwright stays at 1.49.0 to match the browser build in the runner
    image and CI.

Verification

Both suites on the new pins: 37 backend tests against a real PostgreSQL
database, and 4 browser end-to-end tests against a staging container.

Turning on dependency alerts surfaced two immediately: pytest 8.3.4 in both
test manifests, for unsafe temporary-directory handling, fixed in 9.0.3.

Test-only. pytest is not installed in the runtime image — the Dockerfile
installs requirements.txt alone — so nothing reachable was affected. Worth
clearing anyway so the alert list stays at zero and a real one is visible when
it arrives.

pytest 9.1.1 in both manifests. pytest-playwright had to move to 0.8.0 with
it; every earlier release caps pytest below 9. Playwright itself stays at
1.49.0 to match the runner image.

Both suites verified on the new pins: 37 backend tests and 4 browser
end-to-end tests.
@dabeckham
dabeckham merged commit c2236dd into main Jul 26, 2026
2 checks passed
@dabeckham
dabeckham deleted the chore/update-test-dependencies branch July 26, 2026 21:57
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