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

hashicorp/go-msgpack v2 #16810

Merged
merged 4 commits into from
Apr 17, 2023
Merged

hashicorp/go-msgpack v2 #16810

merged 4 commits into from
Apr 17, 2023

Conversation

IamTheFij
Copy link
Contributor

Updates to v2 of both hashicorp/go-msgpack and hashicorp/net-rpc-msgpackrpc to resolve the dependency on a the retracted version, v1.1.5, of hashicorp/go-msgpack.

hashicorp/raft still depends on hashicorp/go-msgpack v0.5.5, which is now an indirect dependency.

Fixes #16808

lgfa29 added 2 commits April 17, 2023 16:30
go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.
@lgfa29 lgfa29 added backport/1.3.x backport to 1.3.x release line backport/1.4.x backport to 1.4.x release line backport/1.5.x backport to 1.5.x release line labels Apr 17, 2023
Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

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

Thanks for the work here @IamTheFij!

I was catching-up on this change and it seems like the v2 tag was more of a way to help the Consul team manage its dependencies since they still use v0.5.5 directly and, without this tag, Go would pull v1.5.5 which does not work for them. Creating the v2 tag makes Go aware of this incompatibility.

I pushed a commit to pin our dependency on v2.0.0 instead of v2.1.0 though. v2.1.0 does have some code changes that we the Nomad team will have to evaluate before adopting it.

Using v2.0.0 is no-op for us, so I will keep it at that for now.

@lgfa29 lgfa29 merged commit 8a98520 into hashicorp:main Apr 17, 2023
lgfa29 added a commit that referenced this pull request Apr 17, 2023
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0

Fixes #16808

* Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack

* deps: use go-msgpack v2.0.0

go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.

---------

Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request Apr 17, 2023
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0

Fixes #16808

* Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack

* deps: use go-msgpack v2.0.0

go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.

---------

Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request Apr 17, 2023
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0

Fixes #16808

* Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack

* deps: use go-msgpack v2.0.0

go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.

---------

Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request Apr 17, 2023
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0

Fixes #16808

* Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack

* deps: use go-msgpack v2.0.0

go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.

---------

Co-authored-by: Ian Fijolek <[email protected]>
Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request Apr 17, 2023
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0

Fixes #16808

* Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack

* deps: use go-msgpack v2.0.0

go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.

---------

Co-authored-by: Ian Fijolek <[email protected]>
Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request Apr 17, 2023
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0

Fixes #16808

* Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack

* deps: use go-msgpack v2.0.0

go-msgpack v2.1.0 includes some code changes that we will need to
investigate furthere to assess its impact on Nomad, so keeping this
dependency on v2.0.0 for now since it's no-op.

---------

Co-authored-by: Ian Fijolek <[email protected]>
Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request May 1, 2023
lgfa29 added a commit that referenced this pull request May 1, 2023
lgfa29 added a commit that referenced this pull request May 1, 2023
lgfa29 added a commit that referenced this pull request May 1, 2023
lgfa29 added a commit that referenced this pull request May 1, 2023
lgfa29 added a commit that referenced this pull request May 1, 2023
This reverts commit 3b2da71.

Backport of #17047.

Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request May 1, 2023
This reverts commit a6e3a0c.

Backport of #17047.

Co-authored-by: Luiz Aoqui <[email protected]>
lgfa29 added a commit that referenced this pull request May 1, 2023
This reverts commit a76ac25.

Backport of #17047.

Co-authored-by: Luiz Aoqui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x backport to 1.3.x release line backport/1.4.x backport to 1.4.x release line backport/1.5.x backport to 1.5.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using retracted version v1.1.5 of hashicorp/go-msgpack
2 participants