Skip to content

Allow cirq-google installation with protobuf-5#7147

Merged
pavoljuhas merged 1 commit intoquantumlib:mainfrom
pavoljuhas:allow-protobuf-5
Mar 17, 2025
Merged

Allow cirq-google installation with protobuf-5#7147
pavoljuhas merged 1 commit intoquantumlib:mainfrom
pavoljuhas:allow-protobuf-5

Conversation

@pavoljuhas
Copy link
Copy Markdown
Collaborator

Unit tests pass with protobuf-5.29.3 (latest in the 5.x series).
Python protobuf sources are still generated with protobuf-4
so cirq-google can be used in environments with protobuf-4 too.

Related to #7145

Unit tests pass with protobuf-5.29.3 (latest in the 5.x series).
Python protobuf sources are still generated with protobuf-4
so cirq-google can be used in environments with protobuf-4 too.

Related to quantumlib#7145
Copy link
Copy Markdown
Contributor

@maffoo maffoo left a comment

Choose a reason for hiding this comment

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

LGTM. OOC, is there a problem with protobuf 6, or are you just being conservtive about the version constraint here?

@pavoljuhas
Copy link
Copy Markdown
Collaborator Author

LGTM. OOC, is there a problem with protobuf 6, or are you just being conservtive about the version constraint here?

Just conservative about major version bump. Also, I did not test with protobuf-6.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.13%. Comparing base (c3522c6) to head (2490c17).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7147   +/-   ##
=======================================
  Coverage   98.13%   98.13%           
=======================================
  Files        1093     1093           
  Lines       95528    95528           
=======================================
  Hits        93746    93746           
  Misses       1782     1782           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pavoljuhas pavoljuhas added this pull request to the merge queue Mar 17, 2025
Merged via the queue into quantumlib:main with commit 0551f85 Mar 17, 2025
39 checks passed
@pavoljuhas pavoljuhas deleted the allow-protobuf-5 branch March 17, 2025 20:17
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
Unit tests pass with protobuf-5.29.3 (latest in the 5.x series).
Python protobuf sources are still generated with protobuf-4
so cirq-google can be used in environments with protobuf-4 too.

Related to quantumlib#7145

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

2 participants