From 0b9f6b69b066a218b28a30ff44fca84a28ebc742 Mon Sep 17 00:00:00 2001 From: Cosmin Maria Date: Wed, 4 Feb 2026 17:49:53 +0200 Subject: [PATCH 1/2] import override from typing_extension --- CHANGELOG.md | 5 +++++ packages/uipath_langchain_client/CHANGELOG.md | 5 +++++ packages/uipath_langchain_client/pyproject.toml | 2 +- .../src/uipath_langchain_client/__version__.py | 2 +- .../uipath_langchain_client/clients/anthropic/chat_models.py | 3 ++- src/uipath_llm_client/__version__.py | 2 +- src/uipath_llm_client/settings/agenthub/__init__.py | 3 +-- src/uipath_llm_client/settings/agenthub/settings.py | 3 ++- src/uipath_llm_client/settings/llmgateway/__init__.py | 3 +-- src/uipath_llm_client/settings/llmgateway/settings.py | 3 ++- 10 files changed, 21 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64e447d..471db9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `uipath_llm_client` (core package) will be documented in this file. +## [1.0.9] - 2026-02-4 + +### Typing Fix +- import @override from typing_extension + ## [1.0.8] - 2026-02-04 ### Bug Fix diff --git a/packages/uipath_langchain_client/CHANGELOG.md b/packages/uipath_langchain_client/CHANGELOG.md index 9ebf31c..77e2488 100644 --- a/packages/uipath_langchain_client/CHANGELOG.md +++ b/packages/uipath_langchain_client/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `uipath_langchain_client` will be documented in this file. +## [1.0.10] - 2026-02-04 + +### Version Upgrade +- Updated version + ## [1.0.9] - 2026-02-04 ### Fix diff --git a/packages/uipath_langchain_client/pyproject.toml b/packages/uipath_langchain_client/pyproject.toml index abdbaf5..58917ab 100644 --- a/packages/uipath_langchain_client/pyproject.toml +++ b/packages/uipath_langchain_client/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" requires-python = ">=3.11" dependencies = [ "langchain>=1.2.7", - "uipath-llm-client>=1.0.8", + "uipath-llm-client>=1.0.9", ] [project.optional-dependencies] diff --git a/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py b/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py index 6cb2de6..8d0ea60 100644 --- a/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py +++ b/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py @@ -1,3 +1,3 @@ __title__ = "UiPath LangChain Client" __description__ = "A Python client for interacting with UiPath's LLM services via LangChain." -__version__ = "1.0.9" +__version__ = "1.0.10" diff --git a/packages/uipath_langchain_client/src/uipath_langchain_client/clients/anthropic/chat_models.py b/packages/uipath_langchain_client/src/uipath_langchain_client/clients/anthropic/chat_models.py index f0191e1..cd88031 100644 --- a/packages/uipath_langchain_client/src/uipath_langchain_client/clients/anthropic/chat_models.py +++ b/packages/uipath_langchain_client/src/uipath_langchain_client/clients/anthropic/chat_models.py @@ -1,7 +1,8 @@ from functools import cached_property -from typing import Any, Literal, Self, override +from typing import Any, Literal, Self from pydantic import Field, model_validator +from typing_extensions import override from uipath_langchain_client.base_client import UiPathBaseLLMClient from uipath_langchain_client.settings import UiPathAPIConfig diff --git a/src/uipath_llm_client/__version__.py b/src/uipath_llm_client/__version__.py index 0c13564..5a9effc 100644 --- a/src/uipath_llm_client/__version__.py +++ b/src/uipath_llm_client/__version__.py @@ -1,3 +1,3 @@ __titile__ = "UiPath LLM Client" __description__ = "A Python client for interacting with UiPath's LLM services." -__version__ = "1.0.8" +__version__ = "1.0.9" diff --git a/src/uipath_llm_client/settings/agenthub/__init__.py b/src/uipath_llm_client/settings/agenthub/__init__.py index 28b5004..ea7994e 100644 --- a/src/uipath_llm_client/settings/agenthub/__init__.py +++ b/src/uipath_llm_client/settings/agenthub/__init__.py @@ -4,9 +4,8 @@ This module provides configuration and authentication for UiPath AgentHub. """ -from typing import override - from httpx import Auth +from typing_extensions import override from uipath_llm_client.settings.agenthub.auth import AgentHubAuth from uipath_llm_client.settings.agenthub.settings import AgentHubBaseSettings diff --git a/src/uipath_llm_client/settings/agenthub/settings.py b/src/uipath_llm_client/settings/agenthub/settings.py index e20d323..9117202 100644 --- a/src/uipath_llm_client/settings/agenthub/settings.py +++ b/src/uipath_llm_client/settings/agenthub/settings.py @@ -2,11 +2,12 @@ import os from collections.abc import Mapping -from typing import Any, Self, override +from typing import Any, Self from dotenv import load_dotenv from pydantic import Field, SecretStr, model_validator from pydantic_settings import SettingsConfigDict +from typing_extensions import override from uipath._cli._auth._auth_service import AuthService from uipath.utils import EndpointManager diff --git a/src/uipath_llm_client/settings/llmgateway/__init__.py b/src/uipath_llm_client/settings/llmgateway/__init__.py index 1d3bf5a..9f2e212 100644 --- a/src/uipath_llm_client/settings/llmgateway/__init__.py +++ b/src/uipath_llm_client/settings/llmgateway/__init__.py @@ -4,9 +4,8 @@ This module provides configuration and authentication for UiPath LLM Gateway. """ -from typing import override - from httpx import Auth +from typing_extensions import override from uipath_llm_client.settings.llmgateway.auth import LLMGatewayS2SAuth from uipath_llm_client.settings.llmgateway.settings import LLMGatewayBaseSettings diff --git a/src/uipath_llm_client/settings/llmgateway/settings.py b/src/uipath_llm_client/settings/llmgateway/settings.py index 6b17ebb..c7b36ce 100644 --- a/src/uipath_llm_client/settings/llmgateway/settings.py +++ b/src/uipath_llm_client/settings/llmgateway/settings.py @@ -1,9 +1,10 @@ from collections.abc import Mapping -from typing import Any, Self, override +from typing import Any, Self from httpx import Client from pydantic import Field, SecretStr, model_validator from pydantic_settings import SettingsConfigDict +from typing_extensions import override from uipath_llm_client.settings.base import UiPathAPIConfig, UiPathBaseSettings from uipath_llm_client.settings.llmgateway.utils import LLMGatewayEndpoints From eeba6acc8a1f9edd8f950af2a82ad949a5f5a213 Mon Sep 17 00:00:00 2001 From: Cosmin Maria Date: Wed, 4 Feb 2026 17:56:19 +0200 Subject: [PATCH 2/2] fix pipeline --- .github/workflows/cd-langchain.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/cd-langchain.yml b/.github/workflows/cd-langchain.yml index b7a1ea7..99b1a9b 100644 --- a/.github/workflows/cd-langchain.yml +++ b/.github/workflows/cd-langchain.yml @@ -6,6 +6,12 @@ on: - main paths: - 'packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py' + workflow_run: + workflows: ["Publish uipath-llm-client to PyPI"] + types: + - completed + branches: + - main workflow_dispatch: jobs: @@ -16,6 +22,11 @@ jobs: permissions: contents: read id-token: write + # Only run if triggered by push/dispatch, OR if the upstream workflow succeeded + if: > + github.event_name == 'push' || + github.event_name == 'workflow_dispatch' || + (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') steps: - uses: actions/checkout@v6