Skip to content

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 <luiz@hashicorp.com>
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 <luiz@hashicorp.com>
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 <luiz@hashicorp.com>
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 <ian@iamthefij.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
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 <ian@iamthefij.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
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 <ian@iamthefij.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
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 <luiz@hashicorp.com>
lgfa29 added a commit that referenced this pull request May 1, 2023
This reverts commit a6e3a0c.

Backport of #17047.

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
lgfa29 added a commit that referenced this pull request May 1, 2023
This reverts commit a76ac25.

Backport of #17047.

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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