-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Conversation
cirq-rigetti/requirements.txt
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh good catch.
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? |
We usually just create issues for unpins so we don't forget. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reverts #5666 now that python-rapidjson/python-rapidjson#166 has been fixed.
Should fix CI breaks on mac. Matches rapidjson used here: https://github.com/rigetti/pyquil/blob/v3.0.0/poetry.lock
Reverts quantumlib#5666 now that python-rapidjson/python-rapidjson#166 has been fixed.
Should fix CI breaks on mac. Matches rapidjson used here: https://github.com/rigetti/pyquil/blob/v3.0.0/poetry.lock