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

Downgrade go version requirement to 1.19 #127

Merged

Conversation

dhartunian
Copy link
Contributor

@dhartunian dhartunian commented Aug 28, 2023

Previously, we had upgraded this library to be compatible with a number of features introduced in go 1.20. Our compatibility with the multi-cause errors does not depend on those features being available in the stdlib so the requirement in go.mod is being downgraded to 1.19.

This removes the need for an older compatibility branch released as version 1.10.1 of this library.

Go 1.20 features are only necessary to run tests. GitHub actions are adjusted to additionally test for a successful build on 1.19.


This change is Reviewable

strategy:
matrix:
go:
- "1.19"
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. maybe check if we could preserve compat with 1.18 here
  2. I think the matrix can still include 1.20?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Previously, we had upgraded this library to be compatible with a
number of features introduced in go 1.20. Our compatibility with the
multi-cause errors does not depend on those features being available
in the stdlib so the requirement in go.mod is being downgraded to
1.19.

This removes the need for an older compatibility branch released as
version 1.10.1 of this library.

Go 1.20 features are only necessary to run tests. GitHub actions are
adjusted to additionally test for a successful build on 1.19.
@dhartunian dhartunian force-pushed the downgrade-go-requirement-to-1.19 branch from aa2683b to fe94800 Compare August 28, 2023 14:09
@dhartunian dhartunian merged commit c062e01 into cockroachdb:master Aug 28, 2023
@dhartunian dhartunian deleted the downgrade-go-requirement-to-1.19 branch August 28, 2023 17:56
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