From 34fc7f2a8498da4d8c8f801318ba1b172ffed66f Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Wed, 6 Jan 2021 12:19:46 -0800 Subject: [PATCH] Allow latest Pygments to be installed Otherwise, installation conflicts can result when plugins/themes require more recent Pygments versions. --- pyproject.toml | 3 ++- requirements/test.pip | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c41f8787..cef0a16f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ blinker = "^1.4" docutils = "^0.16" feedgenerator = "^1.9" jinja2 = "~2.11" -pygments = "~2.6.1" +pygments = "^2.6" python-dateutil = "^2.8" pytz = "^2020.1" unidecode = "^1.1" @@ -50,6 +50,7 @@ sphinx = "^3.0" sphinx_rtd_theme = "^0.5" livereload = "^2.6" psutil = {version = "^5.7", optional = true} +pygments = "~2.7.4" pytest = "^6.0" pytest-cov = "^2.8" pytest-pythonpath = "^0.7.3" diff --git a/requirements/test.pip b/requirements/test.pip index d36405f0..30b52845 100644 --- a/requirements/test.pip +++ b/requirements/test.pip @@ -1,5 +1,5 @@ # Tests -Pygments==2.6.1 +Pygments==2.7.4 pytest pytest-cov pytest-xdist[psutil]