mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-18 17:28:19 +00:00
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:
@@ -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("../.."))
|
||||
|
||||
Reference in New Issue
Block a user