From 6f43eee106937b49bfa8e1f28a5a1aac091aa837 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 5 Dec 2019 15:29:25 -0500 Subject: [PATCH] Preparing release version 4.6.7 --- CHANGELOG.rst | 14 ++++++++++++++ changelog/5477.bugfix.rst | 1 - changelog/6044.bugfix.rst | 3 --- doc/en/announce/index.rst | 1 + doc/en/announce/release-4.6.7.rst | 19 +++++++++++++++++++ doc/en/example/simple.rst | 2 +- 6 files changed, 35 insertions(+), 5 deletions(-) delete mode 100644 changelog/5477.bugfix.rst delete mode 100644 changelog/6044.bugfix.rst create mode 100644 doc/en/announce/release-4.6.7.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d04bd888f5c..caacbc28374 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,20 @@ with advance notice in the **Deprecations** section of releases. .. towncrier release notes start +pytest 4.6.7 (2019-12-05) +========================= + +Bug Fixes +--------- + +- `#5477 `_: The XML file produced by ``--junitxml`` now correctly contain a ```` root element. + + +- `#6044 `_: Properly ignore ``FileNotFoundError`` (``OSError.errno == NOENT`` in Python 2) exceptions when trying to remove old temporary directories, + for instance when multiple processes try to remove the same directory (common with ``pytest-xdist`` + for example). + + pytest 4.6.6 (2019-10-11) ========================= diff --git a/changelog/5477.bugfix.rst b/changelog/5477.bugfix.rst deleted file mode 100644 index c9c9386e996..00000000000 --- a/changelog/5477.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The XML file produced by ``--junitxml`` now correctly contain a ```` root element. diff --git a/changelog/6044.bugfix.rst b/changelog/6044.bugfix.rst deleted file mode 100644 index 575bd979649..00000000000 --- a/changelog/6044.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Properly ignore ``FileNotFoundError`` (``OSError.errno == NOENT`` in Python 2) exceptions when trying to remove old temporary directories, -for instance when multiple processes try to remove the same directory (common with ``pytest-xdist`` -for example). diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index af3c4ac8094..b1b3f11345e 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-4.6.7 release-4.6.6 release-4.6.5 release-4.6.4 diff --git a/doc/en/announce/release-4.6.7.rst b/doc/en/announce/release-4.6.7.rst new file mode 100644 index 00000000000..0e6cf6a950a --- /dev/null +++ b/doc/en/announce/release-4.6.7.rst @@ -0,0 +1,19 @@ +pytest-4.6.7 +======================================= + +pytest 4.6.7 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: + +* Bruno Oliveira +* Daniel Hahler + + +Happy testing, +The pytest Development Team diff --git a/doc/en/example/simple.rst b/doc/en/example/simple.rst index 140f4b840f1..81f2dd855aa 100644 --- a/doc/en/example/simple.rst +++ b/doc/en/example/simple.rst @@ -442,7 +442,7 @@ Now we can profile which test functions execute the slowest: ========================= slowest 3 test durations ========================= 0.30s call test_some_are_slow.py::test_funcslow2 0.20s call test_some_are_slow.py::test_funcslow1 - 0.10s call test_some_are_slow.py::test_funcfast + 0.11s call test_some_are_slow.py::test_funcfast ========================= 3 passed in 0.12 seconds ========================= incremental testing - test steps