Skip to content

[APPX-14773] Bump acceptance pytest to 9.0.3 to clear Dependabot alert - #469

Open
Matjaz Pirnovar (Mat001) wants to merge 1 commit into
masterfrom
mpirnovar-agent-dependabot-fssdk-13481
Open

Matjaz Pirnovar (Mat001) wants to merge 1 commit into
masterfrom
mpirnovar-agent-dependabot-fssdk-13481

Conversation

@Mat001

@Mat001 Matjaz Pirnovar (Mat001) commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Bump pytest 8.4.2 → 9.0.3 in tests/acceptance/requirements.txt.

This clears the only Dependabot alert remaining on optimizely/agent: alert #69, CVE-2025-71176 / GHSA-6w46-j5rx-g56g (medium) — pytest has vulnerable tmpdir handling, patched in 9.0.3.

The other 86 of the 87 alerts tracked in APPX-14773 (all go.mod deps, plus examples/requirements.txt and the rest of tests/acceptance/requirements.txt) were already resolved by the Go/Python bumps in #468 and now show as fixed.

Why

pytest < 9.0.3 is flagged for vulnerable temp-directory handling. pytest 9.0.3 requires Python >= 3.10; the acceptance CI already runs Python 3.12 (.github/workflows/agent.yml), so the bump is compatible.

Verified locally on Python 3.12: the pinned acceptance requirements install together cleanly with pytest 9.0.3, and all 94 acceptance tests collect without error (all usage is standard parametrize / fixture / raises / pytest_addoption / pytest_configure, none of which changed in pytest 9).

Issues

🤖 Generated with Claude Code

CVE-2025-71176 (GHSA-6w46-j5rx-g56g, medium): pytest < 9.0.3 has
vulnerable tmpdir handling. This is the only Dependabot alert remaining
on optimizely/agent after the Go-dependency bumps in #468 cleared the
other 86.

pytest 9.0.3 requires Python >=3.10; the acceptance CI already runs
Python 3.12 (.github/workflows/agent.yml). Verified the pinned
acceptance requirements install together cleanly and all 94 acceptance
tests collect under pytest 9.0.3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Mat001
Matjaz Pirnovar (Mat001) force-pushed the mpirnovar-agent-dependabot-fssdk-13481 branch from bee80c9 to 3ff9b15 Compare November 25, 2026 18:20
@Mat001 Matjaz Pirnovar (Mat001) changed the title [FSSDK-13481] Bump acceptance pytest to 9.0.3 to clear Dependabot alert [APPX-14773] Bump acceptance pytest to 9.0.3 to clear Dependabot alert Nov 25, 2026
@datadog-optimizely-experimentation

datadog-optimizely-experimentation Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Pipelines

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 3ff9b15 | Docs | View more details | Give us feedback!

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