From 328ba36601a1d1d77cebcfe317097d4c1677b8fc Mon Sep 17 00:00:00 2001 From: ccurme Date: Wed, 19 Nov 2025 09:29:12 -0500 Subject: [PATCH] chore(openai): skip Azure text completions tests (#34021) --- .../openai/tests/integration_tests/llms/test_azure.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/partners/openai/tests/integration_tests/llms/test_azure.py b/libs/partners/openai/tests/integration_tests/llms/test_azure.py index 36c980758a..ea9cbf40d1 100644 --- a/libs/partners/openai/tests/integration_tests/llms/test_azure.py +++ b/libs/partners/openai/tests/integration_tests/llms/test_azure.py @@ -19,6 +19,15 @@ DEPLOYMENT_NAME = os.environ.get( os.environ.get("AZURE_OPENAI_LLM_DEPLOYMENT_NAME", ""), ) +pytestmark = pytest.mark.skipif( + True, + reason=( + "This entire module is skipped as all Azure OpenAI models supporting text " + "completions are retired. See: " + "https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/legacy-models" + ), +) + def _get_llm(**kwargs: Any) -> AzureOpenAI: return AzureOpenAI( # type: ignore[call-arg, call-arg, call-arg]