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

Support Go versions for longer #3367

Closed
matrixbot opened this issue Nov 2, 2024 · 3 comments
Closed

Support Go versions for longer #3367

matrixbot opened this issue Nov 2, 2024 · 3 comments

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @Dreamsorcerer at matrix-org/dendrite#3367.

Could we maintain support for older versions of Go for a little longer in future?
At a minimum, I think Dendrite should run on the version included in the latest Debian stable and Ubuntu LTS releases (which today, would mean 1.19+).

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @S7evinK at matrix-org/dendrite#3367 (comment).

imo, we shouldn't maintain "old" Go versions as long as possible.

Go is easy to install manually. Even my Raspberry Pi Zero is on 1.22.2 now, by manually installing it (without using too much shell witchcraft). (Distribution had 1.17.6 in the repos..)

Bumping go to 1.21 seems sensible to me.

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @Dreamsorcerer at matrix-org/dendrite#3367 (comment).

We're only talking about last 3 years of versions, similar to what anybody would expect for a Python application.

However, if I understand correctly, Go is only needed to build the binaries, not to run them. In which case, it would make sense to just build them locally on a newer release and then copy the results to the server. If I'm right, then I think it's fine to close this (though maybe clarify that in the install instructions).

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @S7evinK at matrix-org/dendrite#3367 (comment).

That's correct, you can compile Dendrite on a different machine and copy it over to the server.
Alternatively, you can manually install Go in any version as described here

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

No branches or pull requests

1 participant