Skip to content

ci: silence the runpod-flash sunset warning in e2e tests - #627

Draft
justinwlin wants to merge 1 commit into
mainfrom
fix/e2e-flash-import
Draft

justinwlin wants to merge 1 commit into
mainfrom
fix/e2e-flash-import

Conversation

@justinwlin

Copy link
Copy Markdown
Contributor

The e2e job, and the validation job that depends on it, has failed on every main push and PR since runpod-flash 1.21 shipped.

Cause

tests/e2e/e2e_provisioner.py imports runpod_flash, which now emits a sunset FutureWarning on import. pytest.ini sets filterwarnings = error, so loading the conftest fails before any test runs.

Change

Set runpod-flash's documented RUNPOD_FLASH_SILENCE_DEPRECATION=1 opt-out on the e2e step. Moving the provisioner off runpod-flash is a separate change.

Verification

Same install as CI (runpod-flash, pytest-asyncio, pytest-timeout, pytest-rerunfailures, httpx, editable SDK). Without the variable, pytest tests/e2e --collect-only -o addopts= fails with the FutureWarning. With it, 2 tests are collected.

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.

This branch has not been deployed

No deployments
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