diff --git a/.readthedocs.yml b/.readthedocs.yml
index 00ccbc9c2f3b91d551abc1f651b927580d0cf709..016f7e47a487db6eabd82a4411fa3fe3a1cf3db0 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -3,7 +3,11 @@ version: 2
 sphinx:
   configuration: doc/conf.py
 
+build:
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.8"
+
 python:
-  version: 3.8
   install:
     - requirements: doc/requirements.txt