Skip to content

Commit a81eebb

Browse files
docs: use docs/requirements.txt to install Sphinx
1 parent 07ce2d6 commit a81eebb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,6 @@ def function_three():
190190
"PyTest",
191191
"PyTest-Cov",
192192
"bump2version < 1",
193-
"sphinx < 2",
194-
# jinja2 3.0.3 was the last version to have contextfunction that sphinx 1.x needs
195-
"jinja2~=3.0.3",
196193
"setuptools; python_version>='3.12'",
197194
]
198195
},

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ deps =
3030

3131
[testenv:docs]
3232
basepython = python
33-
# jinja2 3.0.3 was the last version to have contextfunction that sphinx 1.x needs
3433
deps =
35-
sphinx < 2
36-
jinja2 == 3.0.3
34+
-r docs/requirements.txt
3735
commands =
3836
sphinx-build -b html -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/html
3937
sphinx-build -b epub -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/epub

0 commit comments

Comments
 (0)