diff --git a/.readthedocs.yml b/.readthedocs.yml
index f88f9894dff00e34b41e8a11e61ceb2795d75aa0..2bfe2797103350b6208a0ccf25cf4d722b5c8a5f 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -5,6 +5,13 @@
 # Required
 version: 2
 
+
+build:
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.8"
+
+
 # Build documentation in the docs/ directory with Sphinx
 # sphinx:
 #   configuration: docs/conf.py
@@ -18,6 +25,5 @@ formats: all
 
 # Optionally set the version of Python and requirements required to build your docs
 python:
-  version: 3.8
   install:
     - requirements: docs/requirements.txt