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.
```
This commit is contained in:
Skye Wanderman-Milne 2020-09-11 11:16:54 -07:00 committed by GitHub
parent ca1d8f4109
commit 6dc161cf27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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