Skip to content

Python: Downgrade protobuf dependency to >=3.20#5655

Open
liorsve wants to merge 1 commit intomainfrom
protobuf-downgrade
Open

Python: Downgrade protobuf dependency to >=3.20#5655
liorsve wants to merge 1 commit intomainfrom
protobuf-downgrade

Conversation

@liorsve
Copy link
Collaborator

@liorsve liorsve commented Mar 24, 2026

Summary

  • Lowers the minimum protobuf Python dependency from >=6.20 to >=3.20 for glide-async and glide-shared
  • Installs protoc 3.20.0 in the PyPI CD workflow to generate backward-compatible protobuf files
  • Broadens compatibility for users pinned to older protobuf versions

issue - #5221

Tested Compatibility Matrix

Validated on the PyPI CD workflow across 4 platforms (Linux x86_64, Linux aarch64, macOS arm64, macOS x86_64) with both async and sync clients.

CPython

Python 3.20.0 3.20.3 4.21.12 4.25.8 5.26.1 5.29.6 6.30.2 6.33.5
3.9
3.10
3.11
3.12
3.13
3.14 ⏭️ ⏭️ ⏭️ ⏭️ ⏭️

PyPy

PyPy 3.20.0 3.20.3 4.21.12 4.25.8 5.26.1 5.29.6 6.30.2 6.33.5
3.9
3.10
3.11

⏭️ = Skipped (Python 3.14 + protobuf < 5.29 — known incompatibility with metaclass tp_new removal)

Signed-off-by: Lior Sventitzky <liorsve@amazon.com>
@liorsve liorsve requested a review from a team as a code owner March 24, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant