Add tenacity to e2e Azure batch CI and revert importorskip

PR #22785 used pytest.importorskip which causes exit code 5 (all
skipped) in CI. Instead, add tenacity to the CI workflow pip install
and restore direct imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julio Quinteros Pro
2026-03-04 11:45:14 -03:00
parent 317c162dfe
commit aa62ddaf0a
3 changed files with 1 additions and 5 deletions
@@ -56,7 +56,7 @@ jobs:
run: |
poetry config virtualenvs.in-project true
poetry install --with dev,proxy-dev --extras "proxy"
poetry run pip install psycopg2-binary uvicorn fastapi httpx
poetry run pip install psycopg2-binary uvicorn fastapi httpx tenacity
- name: Setup litellm-enterprise
run: |
@@ -12,8 +12,6 @@ import httpx
import openai
import psycopg2
import pytest
tenacity = pytest.importorskip("tenacity", reason="tenacity required for e2e batch tests")
from tenacity import Retrying, stop_after_delay, wait_fixed
sys.path.insert(0, os.path.abspath("../.."))
@@ -7,8 +7,6 @@ import warnings
import httpx
import openai
import pytest
tenacity = pytest.importorskip("tenacity", reason="tenacity required for e2e batch tests")
from tenacity import RetryError
sys.path.insert(0, os.path.abspath("../.."))