Pytest is only required for testing 10/65010/1
authorThanh Ha <zxiiro@gmail.com>
Tue, 11 Aug 2020 19:48:15 +0000 (15:48 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 11 Aug 2020 19:50:18 +0000 (15:50 -0400)
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 <zxiiro@gmail.com>
releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml [new file with mode: 0644]
requirements.txt
tox.ini

diff --git a/releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml b/releasenotes/notes/remove-pytest-dep-8a0d427bfcd1f5c3.yaml
new file mode 100644 (file)
index 0000000..29983c5
--- /dev/null
@@ -0,0 +1,4 @@
+---
+fixes:
+  - |
+    Pytest is no longer pulled in as a dependency of docs-conf.
index 46124fa..512beef 100644 (file)
@@ -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 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,7 @@ envlist =
 basepython = python3
 deps =
     -rrequirements.txt
+    pytest
 commands =
     pytest --basetemp={envtmpdir} {posargs}