Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-05-03 07:56:18 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-05-03 15:48:13 +0300
commitcfb9183715b70c5c283d35b8db98f17c73450f3f (patch)
treeef2c506b6ea0665a3a098bbd4069e2c90f824b0c /setup.py
parent53c6353714f7883cb6abdf88e2569c39f23bf192 (diff)
Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
Jinja2 and MarkupSafe have a plan to major release in the near future. And it will introduce some changes for its APIs. To lessen the noise of the DeprecationWarnings, this pins the versions to current stable release.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index b669afc00..7ce37f9ea 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,8 @@ install_requires = [
'sphinxcontrib-htmlhelp',
'sphinxcontrib-serializinghtml',
'sphinxcontrib-qthelp',
- 'Jinja2>=2.3',
+ 'Jinja2>=2.3,<3.0',
+ 'MarkupSafe<2.0',
'Pygments>=2.0',
'docutils>=0.14,<0.18',
'snowballstemmer>=1.1',