[openstreetmap/openstreetmap-website] Update to rails 7.2.0 (PR #5070)
Andy Allan
notifications at github.com
Wed Aug 28 13:53:57 UTC 2024
I think it's a shame that we have to drop 22.04 support, since I expect some developers won't have yet upgraded their Ubuntu to 24.04. (I haven't, but I used rbenv - we don't want to rely on that for new developers).
It seems like an unfortunate combination of release dates and support periods:
* ruby 3.0 was released in Dec 2020
* ruby 3.1 was released in Dec 2021, which was in time for Ubuntu 22.04 but wasn't the chosen version
* ruby 3.0 support ceased in Apr 2024
* rails drops 3.0 support (and therefore Ubuntu 22.04 support) in Aug 2024
So we end up with a period of only 4 months where we have two versions of Ubuntu available. We'll face a similar problem in two year's time, because Ubuntu 24.04 shipped with ruby 3.2, which will be EOL in Mar 2026 i.e. just before Ubuntu 26.04 LTS. I wish either ruby would extend their support a little, or Ubuntu would use the newest ruby, or rails would be more tolerant of slightly EOL rubies, all the make this developer experience a bit smoother.
Nevertheless, I'm happy to move forward. I would say that we should:
* Drop 22.04 from the testing matrix. If we can't run on real Ubuntu 22.04, there's little point in testing on Github Flavoured Ubuntu
* Adjust the Vagrantfile to use `ubuntu/noble64` or `generic/ubuntu2404` as appropriate
* There's a failure in building the docker image in CI
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5070#issuecomment-2315384421
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5070/c2315384421 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240828/0536797a/attachment.htm>
More information about the rails-dev
mailing list