Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Add tenacity to e2e Azure batch CI and revert importorskip

Julio Quinteros Proaa62ddaf0a13
diff --git a/.github/workflows/test-proxy-e2e-azure-batches.yml b/.github/workflows/test-proxy-e2e-azure-batches.yml
index 38d436dc1f3..4d74f3db0ac 100644
--- a/.github/workflows/test-proxy-e2e-azure-batches.yml
+++ b/.github/workflows/test-proxy-e2e-azure-batches.yml
@@ -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: |
diff --git a/tests/proxy_e2e_azure_batches_tests/test_managed_files_base.py b/tests/proxy_e2e_azure_batches_tests/test_managed_files_base.py
index a55818ce698..79e7e58f39b 100644
--- a/tests/proxy_e2e_azure_batches_tests/test_managed_files_base.py
+++ b/tests/proxy_e2e_azure_batches_tests/test_managed_files_base.py
@@ -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("../.."))
diff --git a/tests/proxy_e2e_azure_batches_tests/test_proxy_e2e_azure_batches.py b/tests/proxy_e2e_azure_batches_tests/test_proxy_e2e_azure_batches.py
index db37674ac9b..262c55efc5d 100644
--- a/tests/proxy_e2e_azure_batches_tests/test_proxy_e2e_azure_batches.py
+++ b/tests/proxy_e2e_azure_batches_tests/test_proxy_e2e_azure_batches.py
@@ -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("../.."))