Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Support Go versions for longer #3367

Closed
Dreamsorcerer opened this issue Apr 21, 2024 · 3 comments
Closed

Support Go versions for longer #3367

Dreamsorcerer opened this issue Apr 21, 2024 · 3 comments

Comments

@Dreamsorcerer
Copy link

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+).

@S7evinK
Copy link
Contributor

S7evinK commented May 10, 2024

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.

@Dreamsorcerer
Copy link
Author

Dreamsorcerer commented May 10, 2024

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).

@S7evinK
Copy link
Contributor

S7evinK commented Aug 2, 2024

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants