From fd7fdc3c44f423438e064bc868919c2b8622960a Mon Sep 17 00:00:00 2001
From: Ritvik Kapila <61410899+RitvikKapila@users.noreply.github.com>
Date: Mon, 24 Jun 2024 13:17:19 -0700
Subject: [PATCH] fix(docs; gha): updated .readthedocs.yaml; macos-latest to
 macos-12 (#418)

---
 .github/workflows/ci_tests.yaml | 2 +-
 .readthedocs.yaml               | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml
index 59cbb91..5bad6c4 100644
--- a/.github/workflows/ci_tests.yaml
+++ b/.github/workflows/ci_tests.yaml
@@ -22,7 +22,7 @@ jobs:
           # x86 builds are only meaningful for Windows
           - os: windows-latest
             architecture: x86
-          - os: macos-latest
+          - os: macos-12
             architecture: x64
         python:
           - 3.8
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index a19ab50..82c9c98 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -5,6 +5,12 @@
 # Required
 version: 2
 
+# Set the OS, Python version and other tools you might need
+build:
+  os: ubuntu-22.04
+  tools:
+    python: "3.8"
+
 # Build documentation in the doc/ directory with Sphinx
 sphinx:
    configuration: doc/conf.py
@@ -15,8 +21,7 @@ submodules:
   exclude: all
 
 python:
-  version: 3.8
   install:
     - requirements: dev_requirements/doc-requirements.txt
-    - method: setuptools
+    - method: pip
       path: .