-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Go runtime should not depend on Go 1.22 yet #4663
Comments
The source in that other tree is not yet updated. The “fix” is the other
way around.
…On Fri, Jul 26, 2024 at 02:34 Maarten Sijm ***@***.***> wrote:
@jimidle <https://github.com/jimidle> bumped the Go version to 1.22 in
***@***.***
<antlr4-go/antlr@4d7e188>
(released as v4.13.1), but the Go version in this repo is still set to
1.20:
https://github.com/antlr/antlr4/blob/master/runtime/Go/antlr/v4/go.mod#L3
My request is to downgrade the Go version in the
https://github.com/antlr4-go/antlr repo, because it promises to be a
clone of the Go runtime in this repository.
Another reason is that the version bump would force projects using the
ANTLR Go runtime as dependency are forced to use at least Go 1.22, while Go
1.21 is still officially supported.
—
Reply to this email directly, view it on GitHub
<#4663>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ7TMCQ4HPTPR36MUUFJILZOICZJAVCNFSM6AAAAABLQCJ7DCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCNZRG43TONA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for the clarification! In that case, I would like to repeat my request to not yet depend on Go 1.22, since Go 1.21 is still supported 🙂 |
as a apolicy, I keep the runtime at the latest version of Go whenever we make a new release. I won't go backwards though. Given Go's backward compatibility guarantee, it should not be an issue for anyone to upgrade, though I know corporate devops can be slow to do such things. Think of it this way: We know that Go 1.22.x has security fixes over Go 1.21 - so we should upgrade. What is your particular problem with upgrading? |
The problem is that, with this policy, this library forces other modules that depend on it to upgrade their Go version, even when this is not strictly required. Our module structure is quite complex: while we like to keep our dependencies up-to-date as much as possible using Note that, since Go 1.21, the See also these discussions on Reddit and StackOverflow. |
@jimidle bumped the Go version to 1.22 in antlr4-go/antlr@4d7e188 (released as v4.13.1), but the Go version in this repo is still set to 1.20: https://github.com/antlr/antlr4/blob/master/runtime/Go/antlr/v4/go.mod#L3
My request is to downgrade the Go version in the https://github.com/antlr4-go/antlr repo, because it promises to be a clone of the Go runtime in this repository.
Another reason is that the version bump would force projects using the ANTLR Go runtime as dependency are forced to use at least Go 1.22, while Go 1.21 is still officially supported.
The text was updated successfully, but these errors were encountered: