From: Andrew Grimberg Date: Tue, 2 Jul 2019 22:55:51 +0000 (-0700) Subject: Pin pytest to 4.6.x X-Git-Tag: v0.25.3~6 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F16060%2F1;p=releng%2Flftools.git 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 --- 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