From cfe0156f5cccb7a7f2ee55874bf5af29534c98dc Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Wed, 27 Oct 2021 20:44:25 -0700 Subject: [PATCH] readthedocs: use new build configuration & update to Python 3.9 --- .readthedocs.yml | 6 +++++- docs/requirements.txt | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 92e8df0b170c..e878805a1377 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,11 @@ # Required version: 2 +build: + os: "ubuntu-20.04" + tools: + python: "3.9" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py @@ -16,6 +21,5 @@ formats: # Optionally set the version of Python and requirements required to build your docs python: - version: 3.8 install: - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt index 8f7361fb35c4..6ebda8815661 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -5,7 +5,6 @@ sphinx_rtd_theme sphinx-autodoc-typehints==1.11.1 jupyter-sphinx>=0.3.2 myst-nb -jupyter-core!=4.9.0 # https://github.com/jupyter/jupyter_core/issues/246 # Packages used for CI tests. pytest