diff --git a/Doc/constraints.txt b/Doc/constraints.txt index 66c748eb092d83..909b5e479c79cd 100644 --- a/Doc/constraints.txt +++ b/Doc/constraints.txt @@ -11,7 +11,7 @@ imagesize<1.5 Jinja2<3.2 packaging<24 # Pygments==2.15.0 breaks CI -Pygments<2.16,!=2.15.0 +Pygments!=2.15.0,<2.21 requests<3 snowballstemmer<3 sphinxcontrib-applehelp<1.1 diff --git a/Doc/requirements-oldest-sphinx.txt b/Doc/requirements-oldest-sphinx.txt index f7e0665bde445d..e43f63269cb2c5 100644 --- a/Doc/requirements-oldest-sphinx.txt +++ b/Doc/requirements-oldest-sphinx.txt @@ -26,7 +26,7 @@ imagesize==1.4.1 Jinja2==2.11.3 MarkupSafe==1.1.1 packaging==23.1 -Pygments==2.15.1 +Pygments==2.20.0 requests==2.31.0 snowballstemmer==2.2.0 sphinxcontrib-applehelp==1.0.4