Skip to content

Restrict msgpack dependency to <1.0#119

Merged
stylewarning merged 3 commits intomasterfrom
pin-msgpack-lt-1.0
Feb 25, 2020
Merged

Restrict msgpack dependency to <1.0#119
stylewarning merged 3 commits intomasterfrom
pin-msgpack-lt-1.0

Conversation

@appleby
Copy link
Copy Markdown
Contributor

@appleby appleby commented Feb 24, 2020

The msgpack 1.0 release includes some changes that break deserialization of certain RewriteArithmeticResponse calls from pyquil. Restrict the version to <1.0 for now until we are ready to test and fix an upgrade to 1.0.

Also, add a reminder to requirements.txt about updating the rpcq-feedstock.

Updates #118

See also:

rigetti/pyquil#1178

The msgpack 1.0 release includes some changes that break
deserialization of certain RewriteArithmeticResponse calls from
pyquil. Restrict the version to <1.0 for now until we are ready to
test and fix an upgrade to 1.0.

Updates #118

See also:

rigetti/pyquil#1178
@appleby appleby requested a review from a team as a code owner February 24, 2020 16:09
@appleby
Copy link
Copy Markdown
Contributor Author

appleby commented Feb 24, 2020

gitlab pipeline status is here:

https://gitlab.com/rigetti/forest/rpcq/pipelines/120568628

Comment thread requirements.txt
@@ -1,4 +1,9 @@
msgpack == 0.6
# If you change the requirements here, don't forget to make the
# corresponding change in the conda-forge rcpq-feedstock here:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need to do anything feedstock-related this time around?

Copy link
Copy Markdown
Contributor Author

@appleby appleby Feb 24, 2020

Choose a reason for hiding this comment

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

Trying to figure that out now. I think we probably want to release this as rpcq 3.0.1 (or maybe 3.1.0 since we added a new message recently?), then bump the version in the rpcq-feedstock.

Alternatively, I could push a change updating the dependency in the rpcq-feedstock and just increment the build number, then it seems like conda-forge has some automagical bot that will open a PR bump the version once we release a new PYPI package.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Looks like the conda-forge auto-update bot actually reminds you to check the dependencies when it opens a PR to update the feedstock, so maybe the comment here is less helpful than I thought. I suppose it doesn't hurt...

conda-forge/rpcq-feedstock#22 (comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

With that said, I think releasing a new RPCQ version, then updating the rpcq-feedstock dependencies in the PR opened by the auto-update bot makes sense.

Comment thread requirements.txt
@stylewarning stylewarning merged commit b0e261e into master Feb 25, 2020
@stylewarning stylewarning deleted the pin-msgpack-lt-1.0 branch February 25, 2020 18:38
@notmgsk notmgsk mentioned this pull request Mar 2, 2020
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