Skip to content

Commit 743a3a3

Browse files
authored
Simplify Version.requirements (#218)
1 parent 65c2c30 commit 743a3a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build_docs.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,8 @@ def requirements(self):
110110
"""
111111
if self.name == "3.5":
112112
return ["jieba", "blurb", "sphinx==1.8.4", "jinja2<3.1", "docutils<=0.17.1"]
113-
if self.name in ("3.7", "3.6", "2.7"):
113+
if self.name in {"3.7", "3.6", "2.7"}:
114114
return ["jieba", "blurb", "sphinx==2.3.1", "jinja2<3.1", "docutils<=0.17.1"]
115-
if self.name == ("3.8", "3.9"):
116-
return ["jieba", "blurb", "sphinx==2.4.4", "jinja2<3.1", "docutils<=0.17.1"]
117115

118116
return [
119117
"jieba", # To improve zh search.

0 commit comments

Comments
 (0)