From 6dc161cf273421436d1c34dbb07930e71b4bdeda Mon Sep 17 00:00:00 2001 From: Skye Wanderman-Milne Date: Fri, 11 Sep 2020 11:16:54 -0700 Subject: [PATCH] Pin pygments version in RTD build. (#4267) This fixes our RTD failures, which were caused by RTD installing an older version of pygments: ``` jupyterlab-pygments 0.1.1 requires pygments<3,>=2.4.1, but you'll have pygments 2.3.1 which is incompatible. nbconvert 6.0.1 requires pygments>=2.4.1, but you'll have pygments 2.3.1 which is incompatible. ``` --- docs/requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/requirements.txt b/docs/requirements.txt index 169a365fa..14e6e5c49 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -13,6 +13,10 @@ myst-parser[sphinx] # The next packages are for notebooks matplotlib sklearn +# RTD defaults to an older version of pygments which is incompatible with the +# nbsphinx/jupyter versions that gets installed. This can be removed if/when RTD +# defaults to a newer version. +pygments==2.4.1 # For CI tests. pytest pytest-xdist