From a25821c534907392f5dbe554b869d215a2e2388d Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 16 Oct 2026 20:14:54 -0400 Subject: [PATCH] ci: silence the runpod-flash sunset warning in e2e tests runpod-flash 1.21 emits a FutureWarning on import announcing its deprecation. pytest.ini turns warnings into errors, so the e2e conftest failed to import tests/e2e/e2e_provisioner.py and every e2e run (and the validation job behind it) has failed on main since. Set the documented RUNPOD_FLASH_SILENCE_DEPRECATION opt-out for the e2e step. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3797cbeb..c405dde1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,9 @@ jobs: source .venv/bin/activate pytest tests/e2e/ -v -p no:xdist --timeout=600 --reruns 1 --reruns-delay 5 --log-cli-level=INFO -o "addopts=" env: + # the e2e provisioner still drives runpod-flash, whose import-time + # sunset FutureWarning is an error under pytest.ini filterwarnings + RUNPOD_FLASH_SILENCE_DEPRECATION: "1" RUNPOD_API_KEY: ${{ secrets.RUNPOD_API_KEY }} RUNPOD_SDK_GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}