diff --git a/litellm-proxy-extras/build_and_publish.md b/litellm-proxy-extras/build_and_publish.md index e283166200f..6bf16b99466 100644 --- a/litellm-proxy-extras/build_and_publish.md +++ b/litellm-proxy-extras/build_and_publish.md @@ -10,6 +10,25 @@ This runbook covers building and publishing a new version of the `litellm-proxy- ## Step 1: Bump the Version +### Option A: Automatic Version Bump (Recommended) + +Use commitizen to automatically bump the version across all files: + +```bash +cd litellm-proxy-extras +cz bump --increment patch +``` + +This will automatically: +- Bump the version in `pyproject.toml` (both `[tool.poetry].version` and `[tool.commitizen].version`) +- Update the version in `../requirements.txt` +- Update the version in `../pyproject.toml` (root) +- Create a git commit with the version bump + +Then skip to Step 3 (Install Build Dependencies). + +### Option B: Manual Version Bump + Update the version in `pyproject.toml`: ```bash @@ -21,7 +40,7 @@ grep 'version' pyproject.toml Edit `pyproject.toml` and bump the version (both `[tool.poetry].version` and `[tool.commitizen].version`). -## Step 2: Update Version in Root Package Files +#### Step 2: Update Version in Root Package Files (Manual Only) After bumping the version in `litellm-proxy-extras/pyproject.toml`, you **must** also update the version reference in the root-level files: diff --git a/litellm-proxy-extras/pyproject.toml b/litellm-proxy-extras/pyproject.toml index 45a6f975c78..28786969747 100644 --- a/litellm-proxy-extras/pyproject.toml +++ b/litellm-proxy-extras/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm-proxy-extras" -version = "0.4.38" +version = "0.4.39" description = "Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package." authors = ["BerriAI"] readme = "README.md" @@ -22,7 +22,7 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.commitizen] -version = "0.4.38" +version = "0.4.39" version_files = [ "pyproject.toml:version", "../requirements.txt:litellm-proxy-extras==", diff --git a/poetry.lock b/poetry.lock index a4ee1b39f48..875fcbb3d96 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3176,15 +3176,15 @@ files = [ [[package]] name = "litellm-proxy-extras" -version = "0.4.38" +version = "0.4.39" description = "Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package." optional = true python-versions = "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8" groups = ["main"] markers = "extra == \"proxy\"" files = [ - {file = "litellm_proxy_extras-0.4.38-py3-none-any.whl", hash = "sha256:a5fbbbb74777cc1f7d58d7ec2d6ba35e5248c52077ebb9017495e7ffc5f55137"}, - {file = "litellm_proxy_extras-0.4.38.tar.gz", hash = "sha256:120ddc949c3048d52c8681ea73d833cde67826765534e6fad19c5829506e7714"}, + {file = "litellm_proxy_extras-0.4.39-py3-none-any.whl", hash = "sha256:e5f72b0b74d32e7217d049de604442520ab8c4ef6da94a7e2135e8d469ab9913"}, + {file = "litellm_proxy_extras-0.4.39.tar.gz", hash = "sha256:86afd3a7db023d9524a69bb7dd20059c370fb3d132a9909d6af7c350734244f2"}, ] [[package]] @@ -7701,4 +7701,4 @@ utils = ["numpydoc"] [metadata] lock-version = "2.1" python-versions = ">=3.9,<4.0" -content-hash = "a4aeafda4e80164ff378a73d218584feca7eaa39127f87ed6e27a818d3fd6159" +content-hash = "0415dbaddd69fc406df167f28db97140b003975dbb2a34d8b594d47fa9feef65" diff --git a/pyproject.toml b/pyproject.toml index f943cc22cd3..d7591560bcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ boto3 = { version = "1.40.76", optional = true } redisvl = {version = "^0.4.1", optional = true, markers = "python_version >= '3.9' and python_version < '3.14'"} mcp = {version = ">=1.25.0,<2.0.0", optional = true, python = ">=3.10"} a2a-sdk = {version = "^0.3.22", optional = true, python = ">=3.10"} -litellm-proxy-extras = {version = "0.4.38", optional = true} +litellm-proxy-extras = {version = "0.4.39", optional = true} rich = {version = "13.7.1", optional = true} litellm-enterprise = {version = "0.1.32", optional = true} diskcache = {version = "^5.6.1", optional = true} diff --git a/requirements.txt b/requirements.txt index ce008fdb1f6..22450663304 100644 --- a/requirements.txt +++ b/requirements.txt @@ -55,7 +55,7 @@ grpcio>=1.75.0; python_version >= "3.14" sentry_sdk==2.21.0 # for sentry error handling detect-secrets==1.5.0 # Enterprise - secret detection / masking in LLM requests tzdata==2025.1 # IANA time zone database -litellm-proxy-extras==0.4.38 # for proxy extras - e.g. prisma migrations +litellm-proxy-extras==0.4.39 # for proxy extras - e.g. prisma migrations llm-sandbox==0.3.31 # for skill execution in sandbox ### LITELLM PACKAGE DEPENDENCIES python-dotenv==1.0.1 # for env