Skip to content

Bump golang.org/x/crypto#2503

Merged
mandre merged 1 commit intogophercloud:masterfrom
shiftstack:bump_crypto
Nov 7, 2022
Merged

Bump golang.org/x/crypto#2503
mandre merged 1 commit intogophercloud:masterfrom
shiftstack:bump_crypto

Conversation

@pierreprinetti
Copy link
Copy Markdown
Member

Update the depedency to the last commit that is compatible with Go v1.14. The next commit replaces calls to io/ioutil to its replacements in the io and os packages, which are not available in Go v1.14.

Update the depedency to the last commit that is compatible with Go
v1.14. The [next commit][1] replaces calls to `io/ioutil` to its
replacements in the `io` and `os` packages, which are not available in
Go v1.14.

[1]: https://go-review.googlesource.com/c/crypto/+/430797
@pierreprinetti
Copy link
Copy Markdown
Member Author

The go vet command embedded in our unit tests somehow triggers a bump of the crypto library, which then fails to compile under Go v1.14 (happens here as well).

Copy link
Copy Markdown
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

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

LGTM. We should consider dropping go 1.14 support at some point so we can upgrade to a newer version of golang.org/x/crypto.

@mandre
Copy link
Copy Markdown
Contributor

mandre commented Nov 7, 2022

Not sure why the go vet command tries to bump the lib either...

@mandre mandre merged commit 7f760aa into gophercloud:master Nov 7, 2022
@mandre mandre deleted the bump_crypto branch November 7, 2022 16:56
@pierreprinetti pierreprinetti restored the bump_crypto branch November 7, 2022 17:27
@pierreprinetti pierreprinetti deleted the bump_crypto branch November 7, 2022 17:27
@pierreprinetti pierreprinetti restored the bump_crypto branch November 7, 2022 17:27
@pierreprinetti
Copy link
Copy Markdown
Member Author

Not sure why the go vet command tries to bump the lib either...

Fixed here

@pierreprinetti pierreprinetti added this to the v1.1.0 milestone Nov 24, 2022
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.

2 participants