Skip to content

Conversation

@aepfli
Copy link
Member

@aepfli aepfli commented Jul 15, 2025

Currently, our release artifact is built with Protobuf version 6. This can cause trouble if another version of Protobuf is used in a project. Based on https://protobuf.dev/support/cross-version-runtime-guarantee/#python, we should be able to support backward compatibility on a higher level by binding it to this range.

I removed the dependency's version bounds, and I am building the protobuf files with the latest patch version of 4.x.x.

FYI: @gruebel

@aepfli aepfli requested review from a team as code owners July 15, 2025 12:01
@codecov
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.21%. Comparing base (72e6bd3) to head (f723d9c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   94.21%   94.21%           
=======================================
  Files          20       20           
  Lines        1020     1020           
=======================================
  Hits          961      961           
  Misses         59       59           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aepfli aepfli force-pushed the feat/pin_protobuf_version_to_lower_numbers branch 4 times, most recently from 836623d to 8757d7f Compare July 15, 2025 14:27
…nflict with other version

Signed-off-by: Simon Schrottner <[email protected]>
@aepfli aepfli force-pushed the feat/pin_protobuf_version_to_lower_numbers branch from 8757d7f to fa7c7b6 Compare July 15, 2025 16:32
@toddbaert toddbaert self-requested a review July 16, 2025 18:51
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aepfli is the title and description still accurate?

@aepfli aepfli changed the title fix(flagd): Add upperbound to protobuf version to reduce potential conflict with other version fix(flagd): fix protobuf version for file generation to lowest 5.x version Jul 17, 2025
@aepfli aepfli merged commit 5ad2896 into main Jul 17, 2025
28 checks passed
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.

4 participants