Skip to content

Commit 4845623

Browse files
cosminachoclaude
andauthored
Chore: add upper-bound constraints + pin litellm to exact version (#71)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cfb4fea commit 4845623

7 files changed

Lines changed: 81 additions & 68 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to `uipath_llm_client` (core package) will be documented in this file.
44

5+
## [1.9.8] - 2026-04-22
6+
7+
### Changed
8+
- Added upper-bound version constraints (`<next_major`) to all production and dev dependencies to prevent unexpected breaking changes from major-version upgrades.
9+
- `litellm` is now pinned to an exact version (`==1.83.7`) due to its frequent breaking changes between minor releases.
10+
511
## [1.9.6] - 2026-04-22
612

713
### Changed

packages/uipath_langchain_client/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to `uipath_langchain_client` will be documented in this file.
44

5+
## [1.9.8] - 2026-04-22
6+
7+
### Changed
8+
- Added upper-bound version constraints (`<next_major`) to all dependencies to prevent unexpected breaking changes from major-version upgrades.
9+
- `langchain-litellm` is pinned to an exact version (`==0.6.4`) alongside `litellm`.
10+
- Minimum `uipath-llm-client` bumped to 1.9.8 to match the core dependency-constraints release.
11+
512
## [1.9.7] - 2026-04-22
613

714
### Changed

packages/uipath_langchain_client/pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,35 @@ dynamic = ["version"]
55
readme = "README.md"
66
requires-python = ">=3.11"
77
dependencies = [
8-
"langchain>=1.2.15",
9-
"uipath-llm-client>=1.9.6",
8+
"langchain>=1.2.15,<2.0.0",
9+
"uipath-llm-client>=1.9.8,<2.0.0",
1010
]
1111

1212
[project.optional-dependencies]
1313
openai = [
14-
"langchain-openai>=1.1.16",
14+
"langchain-openai>=1.1.16,<2.0.0",
1515
]
1616
google = [
17-
"langchain-google-genai>=4.2.2",
17+
"langchain-google-genai>=4.2.2,<5.0.0",
1818
]
1919
anthropic = [
20-
"langchain-anthropic>=1.4.1",
21-
"anthropic[bedrock,vertex]>=0.96.0",
20+
"langchain-anthropic>=1.4.1,<2.0.0",
21+
"anthropic[bedrock,vertex]>=0.96.0,<1.0.0",
2222
]
2323
bedrock = [
24-
"langchain-aws[anthropic]>=1.4.4",
24+
"langchain-aws[anthropic]>=1.4.4,<2.0.0",
2525
]
2626
vertexai = [
27-
"langchain-google-vertexai>=3.2.2",
27+
"langchain-google-vertexai>=3.2.2,<4.0.0",
2828
]
2929
azure = [
30-
"langchain-azure-ai>=1.2.2",
30+
"langchain-azure-ai>=1.2.2,<2.0.0",
3131
]
3232
fireworks = [
33-
"langchain-fireworks>=1.1.0",
33+
"langchain-fireworks>=1.1.0,<2.0.0",
3434
]
3535
litellm = [
36-
"langchain-litellm>=0.6.4",
36+
"langchain-litellm==0.6.4",
3737
]
3838
all = [
3939
"uipath-langchain-client[openai,bedrock,google,anthropic,azure,vertexai,fireworks,litellm]"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__title__ = "UiPath LangChain Client"
22
__description__ = "A Python client for interacting with UiPath's LLM services via LangChain."
3-
__version__ = "1.9.7"
3+
__version__ = "1.9.8"

pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ description = "UiPath LLM Client"
55
readme = "README.md"
66
requires-python = ">=3.11"
77
dependencies = [
8-
"httpx>=0.28.1",
9-
"tenacity>=9.1.4",
10-
"pydantic>=2.12.5",
11-
"pydantic-settings>=2.14.0",
12-
"uipath-platform>=0.1.34",
8+
"httpx>=0.28.1,<1.0.0",
9+
"tenacity>=9.1.4,<10.0.0",
10+
"pydantic>=2.12.5,<3.0.0",
11+
"pydantic-settings>=2.14.0,<3.0.0",
12+
"uipath-platform>=0.1.34,<1.0.0",
1313
]
1414

1515
authors = [
@@ -19,32 +19,32 @@ authors = [
1919

2020
[project.optional-dependencies]
2121
openai = [
22-
"openai>=2.30.0",
22+
"openai>=2.30.0,<3.0.0",
2323
]
2424
google = [
25-
"google-genai>=1.73.1",
25+
"google-genai>=1.73.1,<2.0.0",
2626
]
2727
anthropic = [
28-
"anthropic>=0.96.0",
28+
"anthropic>=0.96.0,<1.0.0",
2929
]
3030
litellm = [
31-
"litellm>=1.83.7",
31+
"litellm==1.83.7",
3232
]
3333
all = [
3434
"uipath-llm-client[openai,google,anthropic,litellm]",
3535
]
3636

3737
[dependency-groups]
3838
dev = [
39-
"langchain-tests>=1.1.6",
40-
"pytest>=9.0.3",
41-
"pytest-asyncio>=1.3.0",
42-
"pytest-recording>=0.13.4",
43-
"pyright>=1.1.408",
44-
"ruff>=0.15.11",
39+
"langchain-tests>=1.1.6,<2.0.0",
40+
"pytest>=9.0.3,<10.0.0",
41+
"pytest-asyncio>=1.3.0,<2.0.0",
42+
"pytest-recording>=0.13.4,<1.0.0",
43+
"pyright>=1.1.408,<2.0.0",
44+
"ruff>=0.15.11,<1.0.0",
4545
"uipath-llm-client[all]",
4646
"uipath_langchain_client[all]",
47-
"openinference-instrumentation-langchain>=0.1.63",
47+
"openinference-instrumentation-langchain>=0.1.63,<1.0.0",
4848
]
4949

5050
[tool.uv.workspace]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__title__ = "UiPath LLM Client"
22
__description__ = "A Python client for interacting with UiPath's LLM services."
3-
__version__ = "1.9.6"
3+
__version__ = "1.9.8"

uv.lock

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)