summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-05-03 13:56:18 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-05-03 13:56:23 +0900
commit7acfc7826f5ae0a250ef2641142433e37354f6a2 (patch)
tree8dc68ca651d44da0f2f084b9b31ebd853ae9adb3 /setup.py
parent742a2e0c0a39f42d1264975d1ac33d2cce5eedf5 (diff)
downloadsphinx-git-7acfc7826f5ae0a250ef2641142433e37354f6a2.tar.gz
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',