Add Pygments to upper-constraints

Pygments is already in global-requirements, but not in
upper-constraints. Pygments is required by Sphinx.

Pygments removed support for py2 in version 2.6.0 so we
need to ensure that it is properly pinned to prevent
tests/docs failing.

Pygments was added to the blacklist in
I643c7632a02c87820c9c51f03fa34f0764384783 but it's not
entirely clear why. To ensure that it is managed in
upper-constraints from now on, we remove it from the
blacklist.

Change-Id: I18a50482e588176047ede81c4ee994c9d7df282b
Closes-Bug: #1869174
This commit is contained in:
Jesse Pretorius (odyssey4me) 2020-03-26 11:00:31 +00:00
parent fe8ad8b87b
commit 72c5ac955c
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,6 @@ pre-commit
pyflakes
pycodestyle
pylint
Pygments
# The following horizon and Neutron libraries need to be blacklisted
# as they do not use cycle-with-intermediary. The only time they

View File

@ -823,3 +823,6 @@ sphinxcontrib-applehelp===1.0.2;python_version=='3.7'
scikit-learn===0.20.0;python_version=='2.7'
scikit-learn===0.22.2.post1;python_version=='3.6'
scikit-learn===0.22.2.post1;python_version=='3.7'
Pygments===2.5.2;python_version=='2.7'
Pygments===2.6.1;python_version=='3.6'
Pygments===2.6.1;python_version=='3.7'