Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd53c8a6

Browse files
authored
Add constraints for sphinxcontrib dependencies (#295)
1 parentc642946 commitd53c8a6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

‎build_docs.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ def requirements(self) -> list[str]:
183183
184184
"""
185185
dependencies= [
186+
"-rrequirements.txt",
186187
"jieba",# To improve zh search.
187188
"PyStemmer~=2.2.0",# To improve performance for word stemming.
188-
"-rrequirements.txt",
189189
]
190190
ifself.as_tuple()>= (3,11):
191191
returndependencies
@@ -194,7 +194,19 @@ def requirements(self) -> list[str]:
194194
returndependencies+ ["standard-imghdr"]
195195

196196
# Requirements/constraints for Python 3.7 and older, pre-requirements.txt
197-
reqs= ["jieba","blurb<1.2","jinja2<3.1","docutils<0.18","standard-imghdr"]
197+
reqs= [
198+
"blurb<1.2",
199+
"docutils<=0.17.1",
200+
"jieba",
201+
"jinja2<3.1",
202+
"sphinxcontrib-applehelp<=1.0.2",
203+
"sphinxcontrib-devhelp<=1.0.2",
204+
"sphinxcontrib-htmlhelp<=2.0",
205+
"sphinxcontrib-jsmath<=1.0.1",
206+
"sphinxcontrib-qthelp<=1.0.3",
207+
"sphinxcontrib-serializinghtml<=1.1.5",
208+
"standard-imghdr",
209+
]
198210
ifself.namein {"3.7","3.6","2.7"}:
199211
returnreqs+ ["sphinx==2.3.1"]
200212
ifself.name=="3.5":

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp