Which site best fits your project?
Free for open-source software.
Sign upPlans starting at $50/month.
Sign upWhich site best fits your project?
Free for open-source software.
Sign upPlans starting at $50/month.
Sign up
Photo by Fredy Jacob on Unsplash
We are announcing the deprecation of the ubuntu-20.04 build image on Read the Docs.
The removal date is set to Monday, June 1st, 2026.
After this date, projects configured to build with build.os: ubuntu-20.04 will stop building until they are updated to a supported Ubuntu image.
This change is part of our work to keep our build images current and to prepare for adding Ubuntu 26.04 LTS on Read the Docs once it is available. Ubuntu 20.04 LTS is now an older base image, and continuing to support it increases maintenance cost and slows down our build image lifecycle.
This deprecation affects a significant number of projects.
More than 10,000 projects have successfully built with ubuntu-20.04 over time,
and around 1,300 projects used it in the last 90 days.
We want to give maintainers enough time to migrate before the image is removed.
ubuntu-20.04.ubuntu-20.04 build image from Read the Docs.If your project currently uses ubuntu-20.04, update your .readthedocs.yaml file to use a newer supported image instead.
For most projects, we recommend migrating to ubuntu-24.04 or ubuntu-lts-latest.
In the following weeks, once it's officially released, we will expose ubuntu-26.04 as well.
version: 2
build:
os: ubuntu-24.04
tools:
python: "3.13"
Read the Docs currently supports ubuntu-22.04, ubuntu-24.04, and ubuntu-lts-latest for build.os.
You can review all supported values in our build configuration reference.
If your project depends on system packages or language versions that behave differently on a newer Ubuntu release, we recommend testing the change as soon as possible and adjusting your build configuration before June 1st.
If you are already using ubuntu-22.04, ubuntu-24.04, or ubuntu-lts-latest, no action is required.
Contact us if you have any questions, or if you run into issues migrating your project to a newer Ubuntu image.