From b322004047774f4b0992bfc8b9b1123069a6d0f1 Mon Sep 17 00:00:00 2001 From: pytest bot Date: Tue, 2 Jun 2020 15:22:35 +0000 Subject: [PATCH] Preparing release version 5.4.3 --- changelog/6428.bugfix.rst | 2 -- changelog/6755.bugfix.rst | 1 - changelog/6956.bugfix.rst | 1 - changelog/7150.bugfix.rst | 1 - changelog/7215.bugfix.rst | 2 -- doc/en/announce/index.rst | 1 + doc/en/announce/release-5.4.3.rst | 21 +++++++++++++++++++++ doc/en/changelog.rst | 23 +++++++++++++++++++++++ doc/en/example/parametrize.rst | 7 +++---- 9 files changed, 48 insertions(+), 11 deletions(-) delete mode 100644 changelog/6428.bugfix.rst delete mode 100644 changelog/6755.bugfix.rst delete mode 100644 changelog/6956.bugfix.rst delete mode 100644 changelog/7150.bugfix.rst delete mode 100644 changelog/7215.bugfix.rst create mode 100644 doc/en/announce/release-5.4.3.rst diff --git a/changelog/6428.bugfix.rst b/changelog/6428.bugfix.rst deleted file mode 100644 index 581b2b7cece..00000000000 --- a/changelog/6428.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Paths appearing in error messages are now correct in case the current working directory has -changed since the start of the session. diff --git a/changelog/6755.bugfix.rst b/changelog/6755.bugfix.rst deleted file mode 100644 index 8077baa4f55..00000000000 --- a/changelog/6755.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Support deleting paths longer than 260 characters on windows created inside tmpdir. diff --git a/changelog/6956.bugfix.rst b/changelog/6956.bugfix.rst deleted file mode 100644 index a88ef94b6d5..00000000000 --- a/changelog/6956.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent pytest from printing ConftestImportFailure traceback to stdout. diff --git a/changelog/7150.bugfix.rst b/changelog/7150.bugfix.rst deleted file mode 100644 index 42cf5c7d2b9..00000000000 --- a/changelog/7150.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent hiding the underlying exception when ``ConfTestImportFailure`` is raised. diff --git a/changelog/7215.bugfix.rst b/changelog/7215.bugfix.rst deleted file mode 100644 index 81514913285..00000000000 --- a/changelog/7215.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix regression where running with ``--pdb`` would call the ``tearDown`` methods of ``unittest.TestCase`` -subclasses for skipped tests. diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index eeea782743d..4405e6fe04b 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-5.4.3 release-5.4.2 release-5.4.1 release-5.4.0 diff --git a/doc/en/announce/release-5.4.3.rst b/doc/en/announce/release-5.4.3.rst new file mode 100644 index 00000000000..4d48fc1193f --- /dev/null +++ b/doc/en/announce/release-5.4.3.rst @@ -0,0 +1,21 @@ +pytest-5.4.3 +======================================= + +pytest 5.4.3 has just been released to PyPI. + +This is a bug-fix release, being a drop-in replacement. To upgrade:: + + pip install --upgrade pytest + +The full changelog is available at https://docs.pytest.org/en/latest/changelog.html. + +Thanks to all who contributed to this release, among them: + +* Anthony Sottile +* Bruno Oliveira +* Ran Benita +* Tor Colvin + + +Happy testing, +The pytest Development Team diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index ed4a8ded881..c7b447dfc25 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -28,6 +28,29 @@ with advance notice in the **Deprecations** section of releases. .. towncrier release notes start +pytest 5.4.3 (2020-06-02) +========================= + +Bug Fixes +--------- + +- `#6428 `_: Paths appearing in error messages are now correct in case the current working directory has + changed since the start of the session. + + +- `#6755 `_: Support deleting paths longer than 260 characters on windows created inside tmpdir. + + +- `#6956 `_: Prevent pytest from printing ConftestImportFailure traceback to stdout. + + +- `#7150 `_: Prevent hiding the underlying exception when ``ConfTestImportFailure`` is raised. + + +- `#7215 `_: Fix regression where running with ``--pdb`` would call the ``tearDown`` methods of ``unittest.TestCase`` + subclasses for skipped tests. + + pytest 5.4.2 (2020-05-08) ========================= diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 14e6537adaa..96fc55be5a8 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -481,11 +481,10 @@ Running it results in some skips if we don't have all the python interpreters in .. code-block:: pytest . $ pytest -rs -q multipython.py - ssssssssssss...ssssssssssss [100%] + ssssssssssss......sss...... [100%] ========================= short test summary info ========================== - SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.5' not found - SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.7' not found - 3 passed, 24 skipped in 0.12s + SKIPPED [15] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.5' not found + 12 passed, 15 skipped in 0.12s Indirect parametrization of optional implementations/imports --------------------------------------------------------------------