Skip to content

Commit

Permalink
Simplify Version.requirements (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Oct 10, 2024
1 parent 65c2c30 commit 743a3a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ def requirements(self):
"""
if self.name == "3.5":
return ["jieba", "blurb", "sphinx==1.8.4", "jinja2<3.1", "docutils<=0.17.1"]
if self.name in ("3.7", "3.6", "2.7"):
if self.name in {"3.7", "3.6", "2.7"}:
return ["jieba", "blurb", "sphinx==2.3.1", "jinja2<3.1", "docutils<=0.17.1"]
if self.name == ("3.8", "3.9"):
return ["jieba", "blurb", "sphinx==2.4.4", "jinja2<3.1", "docutils<=0.17.1"]

return [
"jieba", # To improve zh search.
Expand Down

0 comments on commit 743a3a3

Please sign in to comment.