Closed matrixbot closed 2 weeks ago
This comment was originally posted by @S7evinK at https://github.com/matrix-org/dendrite/issues/3367#issuecomment-2105245077.
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.
This comment was originally posted by @Dreamsorcerer at https://github.com/matrix-org/dendrite/issues/3367#issuecomment-2105316921.
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).
This comment was originally posted by @S7evinK at https://github.com/matrix-org/dendrite/issues/3367#issuecomment-2264672828.
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
This issue was originally created by @Dreamsorcerer at https://github.com/matrix-org/dendrite/issues/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+).