File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -95,16 +95,21 @@ def __repr__(self):
95
95
96
96
@property
97
97
def requirements (self ):
98
- """Generate the right requirements for this version, pin
99
- breaking sub-dependencies, like jinja2, as needed."""
98
+ """Generate the right requirements for this version, pinning breaking
99
+ sub-dependencies as needed.
100
+ """
100
101
reqs = [
101
102
"blurb" ,
102
103
"jieba" ,
103
104
f"sphinx=={ self .sphinx_version } " ,
104
105
]
105
106
106
107
if version_to_tuple (self .sphinx_version ) < (4 , 5 ):
108
+ # see https://github.com/python/cpython/issues/91294
107
109
reqs += ["jinja2<3.1" ]
110
+ if version_to_tuple (self .sphinx_version ) <= (3 , 2 , 1 ):
111
+ # see https://github.com/python/cpython/issues/91483
112
+ reqs += ["docutils<=0.17.1" ]
108
113
return reqs
109
114
110
115
@property
You can’t perform that action at this time.
0 commit comments