[Proposal] General rule for minimum package versions and distribution support
Author: tobtohtCreated Aug 20, 2024Updated Sep 23, 2026
Labelsimportantproposaldiscussionbuild system
It would be nice if we could reach consensus on a general rule for minimum package versions and distribution support. This comes up occasionally (e.g. #9443, #9171, #8922) and it always seems to spark a debate that goes nowhere.
I would like to propose that we guarantee support for distributions until EOL date + 1 year, to give users ample time to upgrade their machine.
Users on distributions that don't package the minimum version of a required library can still build Monero using make depends.
Why?
- To give developers access to new library features when they believe this would benefit their code.
- To reduce maintenance burden associated with guaranteeing compatibility with a wide range of library versions / compilers / operating systems.
- To prevent us from having to argue about this every time a minimum version change is proposed.
Example
| OS | EOL date | Boost version | Supported |
|---|---|---|---|
| Ubuntu 16.04 | 02 Apr 2021 | 1.58 | No |
| Ubuntu 18.04 | 21 May 2023 | 1.65 | No |
| Ubuntu 20.04 | 02 Apr 2025 | 1.71 | No |
| Debian 9 (LTS) | 01 Jul 2022 | 1.62 | No |
| Debian 10 (LTS) | 30 Jun 2024 | 1.67 | No |
| Debian 11 (LTS) | 31 Aug 2026 | 1.74 | Yes |
With the proposed rule, we would currently guarantee support for Boost 1.74 at minimum.
A more complete list
| Build tool | Version |
|---|---|
| binutils | 2.35 |
| cmake | 3.18 |
| curl | 7.74.0 |
| cxx standard | c++17 |
| doxygen | 1.9.1 |
| gcc | 10.2.1 |
| graphviz | 2.42.2 |
| make | 4.3 |
| python | 3.9 |
| Library | |
| boost | 1.74 |
| hidapi | 0.10.1 |
| libsodium | 1.0.18 |
| libusb | 1.0.23 |
| libzmq | 4.3.2 |
| openssl | 1.1.1w |
| protobuf | 3.12.4 |
| readline | 8.1 |
| unbound | 1.13.1 |
| Runtime | |
| glibc | 2.31 |
| Operating system | Version | Until |
|---|---|---|
| Windows | 10 (22H2) | 14 Oct 2026 |
| Android | 13 | 02 Mar 2027 |
| FreeBSD | 13 | 30 Apr 2027 |
| macOS | 14 | 14 Sep 2027 |
| Ubuntu | 22.04 | 01 Apr 2028 |
| Debian | 12 | 30 Jun 2028 |
Source: monero-project/monero