From 806d6114361acfbf70bf09f19c440069971b8a77 Mon Sep 17 00:00:00 2001 From: Zhiyi Wu Date: Sun, 31 Mar 2024 11:03:20 +0100 Subject: [PATCH] fix RTD --- .github/workflows/ci.yaml | 2 +- devtools/conda-envs/test_env.yaml | 2 +- docs/requirements.yaml | 9 +++++++++ readthedocs.yml | 4 ++-- 4 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 docs/requirements.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 89754ab3..6c666e99 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macOS-latest", "windows-latest"] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11"] # Only test lowest and highest version on the expensive/slow # macOS and windows runners (UPDATE when supported versions change): exclude: diff --git a/devtools/conda-envs/test_env.yaml b/devtools/conda-envs/test_env.yaml index 662527fa..a8795f1c 100644 --- a/devtools/conda-envs/test_env.yaml +++ b/devtools/conda-envs/test_env.yaml @@ -24,5 +24,5 @@ dependencies: - sphinx_rtd_theme - pip: - - alchemtest @ git+https://github.com/xiki-tempula/alchemtest.git@feat_main + - alchemtest @ https://github.com/alchemistry/alchemtest/archive/master.zip diff --git a/docs/requirements.yaml b/docs/requirements.yaml new file mode 100644 index 00000000..c008b03e --- /dev/null +++ b/docs/requirements.yaml @@ -0,0 +1,9 @@ +name: docs +channels: +dependencies: + # Base depends + - python=3.10 + - pip + # Doc + - sphinx + - sphinx_rtd_theme diff --git a/readthedocs.yml b/readthedocs.yml index 0c61d50f..4c77a2b4 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -13,9 +13,9 @@ build: python: "mambaforge-4.10" conda: - environment: devtools/conda-envs/test_env.yaml + environment: docs/requirements.yaml python: install: - method: pip - path: . + path: . \ No newline at end of file