Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to the AVP Python SDK are documented in this file.

Format follows [Keep a Changelog](https://keepachangelog.com/). Versions follow [Semantic Versioning](https://semver.org/).

## [Unreleased]

### Changed

- **Minimum `protobuf` raised to `>=5.29`** (from `>=4.21`) to match the regenerated gencode. Environments pinned to `protobuf` 4.21–5.28 must upgrade; protobuf 4.x is end-of-life.

### Fixed

- **Protobuf gencode/runtime mismatch** — the checked-in `avp_pb2.py` carried gencode 6.31.1, whose runtime guard rejects any `protobuf` older than 6.31.1, while `pyproject.toml` required only `>=4.21`. Every environment constrained below 6.31.1 failed at `import avp`, including `avp[all]`, where `autogen-core` requires `protobuf~=5.29.3`. Regenerated with protoc 5.29 (gencode 5.29.0). `grpcio-tools` is pinned to `>=1.71.2,<1.72` (1.72+ needs `protobuf>=6.30`, which cannot coexist with `autogen-core`'s pin) so a later `make proto` cannot reintroduce the mismatch. Also drops the dead `EMBEDDING` value that v0.5.0 removed from `proto/avp.proto` but never from the generated module.

## [0.6.2] - 2026-04-26

### Added
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.PHONY: proto test lint clean install

# Regenerate avp_pb2.py. Keep grpcio-tools on the 5.29 gencode line
# (>=1.71.2,<1.72): the autogen extra pins protobuf to 5.29.x, so a
# newer protoc would emit gencode the runtime refuses to load.
proto:
python -m grpc_tools.protoc \
-I proto \
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [

dependencies = [
"numpy>=1.24",
"protobuf>=4.21",
"protobuf>=5.29",
"zstandard>=0.21",
]

Expand Down Expand Up @@ -57,7 +57,10 @@ dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"ruff>=0.1",
"grpcio-tools>=1.59",
# Keep protoc on the 5.29 gencode line. grpcio-tools 1.72+ targets
# protobuf>=6.30 (1.84+ targets >=7.35.1), neither of which can coexist
# with autogen-core's protobuf~=5.29.3.
"grpcio-tools>=1.71.2,<1.72",
]

[project.entry-points."vllm.general_plugins"]
Expand Down
20 changes: 10 additions & 10 deletions src/avp/avp_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.