diff --git a/.readthedocs.yml b/.readthedocs.yml
index 81f82c557453363d574d249163d09710423f1d83..aaa9c86a2352663cbfbd2dac53efbfbcf3a9e227 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -11,6 +11,10 @@ sphinx:
 
 # Optionally set the version of Python and requirements required to build your docs
 python:
-   version: 3.8
    install:
    - requirements: docs/requirements.txt
+
+build:
+    os: ubuntu-22.04
+    tools:
+        python: "3.8"