fix(packaging): keep the litellm-proxy package version in step with litellm (#51807)

The litellm-proxy manifest still said 1.109.0 after litellm moved to 1.110.0 and 1.111.0, because version bumps only rewrote the root pyproject.toml. The Docker image builds that manifest unchanged, so ghcr.io/berriai/litellm:v1.111.0-dev.2 reports litellm-proxy 1.109.0, a version that was never published.

Set the manifest and uv.lock to 1.111.0, add the manifest to the commitizen version_files so cz bump rewrites it, and add a test that fails when the two versions or the lock entry disagree.
This commit is contained in:
yujonglee 2026-11-15 11:16:47 +09:00 • committed by GitHub
parent e38187324a
commit 745886e5ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[project]
name = "litellm-proxy"
version = "1.109.0"
version = "1.111.0"
description = "Opt-in Rust HTTP forwarding server for the LiteLLM Python proxy"
requires-python = ">=3.10, <3.16"
license = "MIT"

View file

@ -445,6 +445,7 @@ members = ["litellm/enterprise", "litellm/proxy-extras", "litellm/packaging/lite
version = "1.111.0"
version_files = [
"pyproject.toml:^version",
"litellm/packaging/litellm-proxy/pyproject.toml:^version",
]
[tool.pytest.ini_options]

View file

@ -76,6 +76,13 @@ def test_importing_litellm_reports_the_declared_release_version() -> None:
assert litellm._version.version == PYPROJECT["project"]["version"]
def test_gateway_binary_package_ships_at_the_litellm_release_version() -> None:
manifest: Final = tomllib.loads((PROJECT_ROOT / "litellm/packaging/litellm-proxy/pyproject.toml").read_text())
assert manifest["project"]["version"] == PYPROJECT["project"]["version"]
assert _locked_package("litellm-proxy")["version"] == PYPROJECT["project"]["version"]
def test_every_declared_extra_is_locked_with_its_requirements() -> None:
declared: Final = {
canonicalize_name(extra): _requirement_names(requirements)

2
uv.lock generated
View file

@ -5588,7 +5588,7 @@ source = { editable = "litellm/enterprise" }
[[package]]
name = "litellm-proxy"
version = "1.109.0"
version = "1.111.0"
source = { editable = "litellm/packaging/litellm-proxy" }
[[package]]