summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Smith <39445562+smithdc1@users.noreply.github.com>2024-11-27 18:20:49 +0000
committerNatalia <124304+nessita@users.noreply.github.com>2025-04-23 11:20:26 -0300
commit07edc976c7308a223e1b1dc3c62bd80b3bfef560 (patch)
treebf77c6c1f2de94eadbd203d13d013a0c39675353
parent24eeba2c1584a79724fc83d5527f61c434c0f523 (diff)
[4.2.x] Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning for docs builds.
Backport of 73d532d9a92d4d472564f3251499a428d1da9835 from main.
-rw-r--r--.github/workflows/docs.yml3
-rw-r--r--.readthedocs.yml5
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 4206c58e35..681e22a63d 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -21,8 +21,7 @@ permissions:
jobs:
docs:
- # OS must be the same as on djangoproject.com.
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
name: docs
steps:
- name: Checkout
diff --git a/.readthedocs.yml b/.readthedocs.yml
index bde8b64da0..915d51de46 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -4,12 +4,13 @@
version: 2
build:
- os: ubuntu-20.04
+ os: ubuntu-24.04
tools:
- python: "3.8"
+ python: "3.12"
sphinx:
configuration: docs/conf.py
+ fail_on_warning: true
python:
install: