aliyun / aliyun/aliyun-log-python-sdk

Relax protobuf upper bound for protobuf 6/7 compatibility

Open
#359 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
176
Forks
119
Avg merge
3h 56m
Merged PRs (30d)
2

Description

Hi, thanks for maintaining aliyun-log-python-sdk.

The latest release 0.9.46 still declares this protobuf dependency range:

protobuf>=3.20.3,<6.0.0

This upper bound prevents projects that use newer protobuf-based libraries from resolving dependencies in the same Python environment. For example, applications that use ConnectRPC / generated protobuf clients may need to integrate with protobuf 6+ compatible packages, but aliyun-log-python-sdk forces the environment to stay on protobuf 5.x.

Would you consider testing aliyun-log-python-sdk with protobuf 6/7 and relaxing the upper bound if compatible? For example:

protobuf>=3.20.3,<8.0.0

or another validated compatible range.

Current workaround on our side is to keep runtime protobuf on 5.x, but this makes integration with newer protobuf ecosystem packages harder.

Environment observed:

  • aliyun-log-python-sdk: 0.9.46
  • Resolved protobuf due to this constraint: 5.29.6
  • Python: 3.13 / 3.14

Related older protobuf compatibility issues exist, but they appear to target protobuf 4-era breakage rather than the current upper-bound constraint for protobuf 6/7 compatibility.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No dependency file or test is named in the issue. Start by locating the package metadata that declares the protobuf range, then run the existing test suite against protobuf 6 and 7; done means a validated compatible upper bound without breaking the SDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.