From 3ff9b15b6b83e13b21c5c5e8f9a3bf1f0f146d98 Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Wed, 25 Nov 2026 09:19:40 -0800 Subject: [PATCH 1/2] [APPX-14773] Bump acceptance pytest to 9.0.3 to clear Dependabot alert 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 --- tests/acceptance/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/requirements.txt b/tests/acceptance/requirements.txt index b17e4511..a77c5cd0 100644 --- a/tests/acceptance/requirements.txt +++ b/tests/acceptance/requirements.txt @@ -1,4 +1,4 @@ -pytest==8.4.2 +pytest==9.0.3 requests==2.34.2 openapi_core==0.18.2 openapi_spec_validator==0.7.2 From 8dbb237c8da699ec37338c13e28b0cf2f43faf3b Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Tue, 1 Dec 2026 09:45:37 -0800 Subject: [PATCH 2/2] [APPX-14773] Fix stale Python floor in acceptance README (review nit) tests/acceptance/README.md said "Python 3.7 or greater"; the acceptance suite has required Python >= 3.10 since requests==2.34.2 was pinned, and pytest 9.0.3 (this PR) requires it too. Per Alex's review nit. Co-Authored-By: Claude Opus 4.8 --- tests/acceptance/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/README.md b/tests/acceptance/README.md index d2f2b927..6fadc577 100644 --- a/tests/acceptance/README.md +++ b/tests/acceptance/README.md @@ -5,7 +5,7 @@ The project lives on app.optimzely.com and is maintained by the Feature Experime First, do everything from the agent's root directory. -Python version 3.7 or greater is required. +Python 3.10 or greater is required (CI uses 3.12). It is recommended to set up a python virtual environment. Activate virtual environment. Install requirements `pip install -r tests/acceptance/requirements.txt`