From: Thanh Ha Date: Tue, 11 Aug 2020 19:48:15 +0000 (-0400) Subject: Pytest is only required for testing X-Git-Tag: v0.6.0~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=caa0ac6dd799b3f782d6958001cbf8394a29e4f8;p=releng%2Fdocs-conf.git Pytest is only required for testing The end user does not need pytest to be installed to use docs-conf so remove it from requirements.txt and include it only in test dependencies in tox.ini. Change-Id: I02180ba0985e42c9f20ba58a4faf11763a426838 Signed-off-by: Thanh Ha --- diff --git a/releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml b/releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml new file mode 100644 index 0000000..29983c5 --- /dev/null +++ b/releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Pytest is no longer pulled in as a dependency of docs-conf. diff --git a/requirements.txt b/requirements.txt index 46124fa..512beef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -pytest pyyaml Sphinx~=3.0.4 sphinx_bootstrap_theme~=0.7.1 diff --git a/tox.ini b/tox.ini index d4421cf..e1c090d 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,7 @@ envlist = basepython = python3 deps = -rrequirements.txt + pytest commands = pytest --basetemp={envtmpdir} {posargs}