wenjin272 opened a new pull request, #1052:
URL: https://github.com/apache/flink-agents/pull/1052

   Linked issue: N/A (hotfix)
   
   ### Purpose of change
   
   Fresh Python dependency resolution can install `googleapis-common-protos` 
1.75.1 or newer, whose generated protobufs require protobuf 6.33.5 or newer. 
Installing a supported PyFlink release afterwards can downgrade the protobuf 
runtime to 4.23.4 or 5.29.6, causing pytest collection and user imports through 
Chroma/OpenTelemetry to fail with a protobuf gencode/runtime `VersionError`.
   
   Constrain `googleapis-common-protos` below 1.72.1 so normal package 
resolution selects the verified 1.72.0 release, which remains compatible with 
the protobuf runtimes selected by supported PyFlink versions.
   
   ### Tests
   
   - `tools/ut.sh -p` — 930 passed, 13 skipped, 165 deselected.
   - Verified `googleapis-common-protos<1.72.1` resolves to 1.72.0 and imports 
`google.rpc.error_details_pb2` with protobuf 4.23.4 and 5.29.6.
   - Verified the original `chromadb -> OpenTelemetry -> google.rpc` import 
chain after installing PyFlink 2.3.0.
   
   ### API
   
   No public API changes. This only constrains a Python package dependency.
   
   ### Documentation
   
   - [ ] `doc-needed`
   - [x] `doc-not-needed`
   - [ ] `doc-included`
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   - [x] Yes
   - [ ] No
   
   Generated-by: Codex (GPT-5)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to