From 6f30e16497a711b3ed18317813c334de444482d4 Mon Sep 17 00:00:00 2001 From: "Andrew T. Wilson" Date: Thu, 21 Sep 2023 21:54:34 -0600 Subject: [PATCH] Use libmamba solver on ReadTheDocs --- .readthedocs.yml | 12 +++++++++--- CHANGELOG.md | 1 + documentation_build_environment.yml | 3 ++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 2409253e..b8744703 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -24,10 +24,16 @@ sphinx: # Eventually we will also build docs as PDF and ePub. # formats: all -# The Docker image for building the docs +# This OS version build: - image: latest - + os: ubuntu-22.04 + # This Conda environment (per the Read The Docs documentation, URL below) + # uses libmamba to handle conda install requests. That should be much, + # much faster than the old version. + tools: + python: "mambaforge-22.9" + + # The Anaconda environment to build the docs conda: environment: documentation_build_environment.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 28ac4bf1..bd3cdeaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ any given one. ### TRACKTABLE 1.7.0 +- 298: Update ReadTheDocs config to use libmamba - 296: Conda YML per OS and Python version - 293: Add brand new CHANGELOG for 1.7.0 and future releases - 294: Update PyPI tags for Python 3.11 diff --git a/documentation_build_environment.yml b/documentation_build_environment.yml index 0e52bc49..814e628c 100644 --- a/documentation_build_environment.yml +++ b/documentation_build_environment.yml @@ -15,7 +15,8 @@ dependencies: - scipy>=1.5.2 - tracktable - tracktable-data>=1.7.0 - + - pip + # Jupyter Dependencies - ipykernel - jupyter