Skip to content

Commit 156cd57

Browse files
committed
fix tox compatibility for docs build
Issue: ZENKO-4975
1 parent 2b81d96 commit 156cd57

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = ["setuptools>=61", "wheel", "setuptools_scm>=8.0.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]
6+
# Empty section to satisfy setuptools_scm

docs/tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ description = Render documentation
1919
skip_install = true
2020
deps =
2121
# {[testenv]deps}
22-
-r{toxinidir}/docsource/requirements.txt
2322
commands =
23+
pip install --upgrade pip
24+
pip install setuptools==64.0.0
25+
pip install -r{toxinidir}/docsource/requirements.txt
26+
pip list
2427
make -C docsource {posargs:html}
2528
setenv =
2629
O=-j4 -n -W
2730
SPHINXOPTS=-j4 -n -W
2831
whitelist_externals =
2932
make
33+
pip
34+

0 commit comments

Comments
 (0)