From 86bdd388581baf69a052435a889653fc4712dad2 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Tue, 2 Jul 2019 15:55:51 -0700 Subject: [PATCH] Pin pytest to 4.6.x PyTest 5 was released on June 28th that now requires Python >= 3.5 so pin to the 4.6.x stream until we are ready to drop 2.7 support. Change-Id: If25020214f778390c4e2705fbf454ce4db59791c Signed-off-by: Andrew Grimberg --- releasenotes/notes/pin-pytest-f940a8c95ebb3b96.yaml | 5 +++++ requirements-docs.txt | 2 ++ requirements-test.txt | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/pin-pytest-f940a8c95ebb3b96.yaml diff --git a/releasenotes/notes/pin-pytest-f940a8c95ebb3b96.yaml b/releasenotes/notes/pin-pytest-f940a8c95ebb3b96.yaml new file mode 100644 index 00000000..05aba53e --- /dev/null +++ b/releasenotes/notes/pin-pytest-f940a8c95ebb3b96.yaml @@ -0,0 +1,5 @@ +--- +issues: + - | + Pytest 5 has come out and requires Python >= 3.5 which we're not presently + testing on. Pytest is now pinned to 4.6.4 until we update. diff --git a/requirements-docs.txt b/requirements-docs.txt index fb109beb..b0763bdd 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -2,3 +2,5 @@ lfdocs-conf reno~=2.11.2 sphinxcontrib-programoutput +# pytest 5 requires Python >= 3.5 +pytest~=4.6.4 diff --git a/requirements-test.txt b/requirements-test.txt index bf38ce7b..21f24376 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,6 @@ -r requirements.txt -pytest~=4.3.0 +# pytest 5 requires Python >= 3.5 +pytest~=4.6.4 pytest-click pytest-datafiles pytest-mock -- 2.16.6