From caa0ac6dd799b3f782d6958001cbf8394a29e4f8 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 11 Aug 2020 15:48:15 -0400 Subject: [PATCH] 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 --- releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml | 4 ++++ requirements.txt | 1 - tox.ini | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml 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} -- 2.16.6