From dd5d20cd283c2fdd20bb447651abee6973097fd9 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Wed, 22 Jun 2022 00:55:52 -0600 Subject: [PATCH] Update doc CI to use mamba Update docs conda env Install the dev version of ipywidgets in readthedocs --- .readthedocs.yaml | 19 +++++++++++++++++++ docs/environment.yml | 24 ++++++++++++++++++++++++ readthedocs.yml | 7 ------- 3 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 .readthedocs.yaml create mode 100644 docs/environment.yml delete mode 100644 readthedocs.yml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000000..e709670f18f --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,19 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "mambaforge-4.10" +python: + install: + - method: pip + path: ./python/ipywidgets +conda: + environment: docs/environment.yml + +# python: +# version: 3.7 +# install: +# - method: pip +# path: ./python/ipywidgets +# - requirements: docs/requirements.txt diff --git a/docs/environment.yml b/docs/environment.yml new file mode 100644 index 00000000000..42422c5a5dd --- /dev/null +++ b/docs/environment.yml @@ -0,0 +1,24 @@ +name: docs +channels: + - conda-forge + - nodefaults +dependencies: + - bqplot + - empack + - ipykernel + - jupyter_client + - matplotlib + - nbsphinx + - numpy + - packaging + - pip + - python=3.10 + - recommonmark + - scikit-image + - scikit-learn + - sphinx + - sphinx_rtd_theme + - pip: + - jupyterlite==0.1.0b9 + - jupyterlite-sphinx + - jupyterlite-xeus-python diff --git a/readthedocs.yml b/readthedocs.yml deleted file mode 100644 index f1f35059d8f..00000000000 --- a/readthedocs.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -python: - version: 3.7 - install: - - method: pip - path: ./python/ipywidgets - - requirements: docs/requirements.txt