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

Pin python-rapidjson in cirq-rigetti. #5666

Merged
merged 2 commits into from
Jul 6, 2022

Conversation

MichaelBroughton
Copy link
Collaborator

Should fix CI breaks on mac. Matches rapidjson used here: https://github.com/rigetti/pyquil/blob/v3.0.0/poetry.lock

@MichaelBroughton MichaelBroughton requested review from a team, vtomole and cduck as code owners July 6, 2022 20:36
@CirqBot CirqBot added the Size: XS <10 lines changed label Jul 6, 2022
@@ -9,6 +9,9 @@ pydantic~=1.8.2
pyjwt~=1.7.1
pyquil~=2.28.2; python_version < "3.7"
pyquil~=3.0.0; python_version >= "3.7"
# Dependencies not pinned here in pyquil pip package.
python-rapidjson==1.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
python-rapidjson==1.0
python-rapidjson<=1.6

This problem is due to the latest release of rapid-json. We had a similar issue in cirq-superstaq: https://github.com/SupertechLabs/cirq-superstaq/pull/289

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ahh good catch.

@vtomole
Copy link
Collaborator

vtomole commented Jul 6, 2022

@pavoljuhas
Copy link
Collaborator

LGTM with Victory's suggestion. python-rapidjson has an issue for this at python-rapidjson/python-rapidjson#166

Just curious - do we have a process to unpin after python-rapidjson ships a fixup release?

@vtomole
Copy link
Collaborator

vtomole commented Jul 6, 2022

do we have a process to unpin after python-rapidjson ships a fixup release?

We usually just create issues for unpins so we don't forget.

@MichaelBroughton MichaelBroughton requested a review from vtomole July 6, 2022 21:29
Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

LGTM

@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 6, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 6, 2022
@CirqBot CirqBot merged commit 3e34f5d into quantumlib:master Jul 6, 2022
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jul 6, 2022
vtomole added a commit that referenced this pull request Jul 7, 2022
CirqBot pushed a commit that referenced this pull request Jul 7, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
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.

4 participants