diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 55db6efddf7604394896ea6f57ef5d1b7cf37d15..ac57d362e1bdb76c7abbcb47c9c21698a1b68c7e 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -1,4 +1,9 @@
 version: 2
 
+build:
+  os: ubuntu-22.04
+  tools:
+    python: "3.12"
+
 sphinx:
-    configuration: conf.py
+  configuration: conf.py