Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix protobuf version specifiers in cirq-google/requirements.txt #5408

Merged
merged 1 commit into from
May 26, 2022

Conversation

maffoo
Copy link
Contributor

@maffoo maffoo commented May 26, 2022

I encountered an error in CI where pip was installing protobuf 4 (https://github.com/quantumlib/Cirq/runs/6606535751?check_suite_focus=true) and I think it was because the multiple version specifiers are supposed to be separated by a comma. Cleaned up the requirements file to add the comma as well as some whitespace for clarity (and consistency with the first line).

@maffoo maffoo requested review from wcourtney, a team, vtomole, cduck and verult as code owners May 26, 2022 08:50
@maffoo maffoo requested a review from viathor May 26, 2022 08:50
@CirqBot CirqBot added the Size: XS <10 lines changed label May 26, 2022
Copy link
Collaborator

@viathor viathor left a comment

Choose a reason for hiding this comment

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

Indeed, pip documentation says version specifiers follow PEP 440 which says

A version specifier consists of a series of version clauses, separated by commas. For example: ~= 0.9, >= 1.0, != 1.3.4.*, < 2.0

@dabacon dabacon merged commit e5dc478 into master May 26, 2022
@dabacon
Copy link
Collaborator

dabacon commented May 26, 2022

Thanks @maffoo, not sure how I missed the comma.

@viathor viathor deleted the u/maffoo/proto-versions branch May 26, 2022 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants