From bd2d0d2c3c9bf92711e5a858e93e46d390dd4229 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 25 Dec 2017 20:38:27 +0000 Subject: [PATCH] Preparing release version 3.3.2 --- CHANGELOG.rst | 38 +++++++++++++++++++++++++++++++ changelog/2784.bugfix | 1 - changelog/2981.bugfix | 1 - changelog/2985.bugfix | 1 - changelog/2995.bugfix | 1 - changelog/3001.doc | 1 - changelog/3015.trivial | 1 - changelog/3018.trivial | 1 - changelog/3021.trivial | 1 - doc/en/announce/index.rst | 1 + doc/en/announce/release-3.3.2.rst | 28 +++++++++++++++++++++++ doc/en/example/simple.rst | 4 ++-- 12 files changed, 69 insertions(+), 10 deletions(-) delete mode 100644 changelog/2784.bugfix delete mode 100644 changelog/2981.bugfix delete mode 100644 changelog/2985.bugfix delete mode 100644 changelog/2995.bugfix delete mode 100644 changelog/3001.doc delete mode 100644 changelog/3015.trivial delete mode 100644 changelog/3018.trivial delete mode 100644 changelog/3021.trivial create mode 100644 doc/en/announce/release-3.3.2.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5c2ed1759..210f43b13 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,44 @@ .. towncrier release notes start +Pytest 3.3.2 (2017-12-25) +========================= + +Bug Fixes +--------- + +- pytester: ignore files used to obtain current user metadata in the fd leak + detector. (`#2784 `_) + +- Fix **memory leak** where objects returned by fixtures were never destructed + by the garbage collector. (`#2981 + `_) + +- Fix conversion of pyargs to filename to not convert symlinks and not use + deprecated features on Python 3. (`#2985 + `_) + +- ``PYTEST_DONT_REWRITE`` is now checked for plugins too rather than only for + test modules. (`#2995 `_) + + +Improved Documentation +---------------------- + +- Add clarifying note about behavior of multiple parametrized arguments (`#3001 + `_) + + +Trivial/Internal Changes +------------------------ + +- Code cleanup. (`#3015 `_, + `#3021 `_) + +- Clean up code by replacing imports and references of `_ast` to `ast`. (`#3018 + `_) + + Pytest 3.3.1 (2017-12-05) ========================= diff --git a/changelog/2784.bugfix b/changelog/2784.bugfix deleted file mode 100644 index 21e2e67bc..000000000 --- a/changelog/2784.bugfix +++ /dev/null @@ -1 +0,0 @@ -pytester: ignore files used to obtain current user metadata in the fd leak detector. \ No newline at end of file diff --git a/changelog/2981.bugfix b/changelog/2981.bugfix deleted file mode 100644 index fd6dde37a..000000000 --- a/changelog/2981.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix **memory leak** where objects returned by fixtures were never destructed by the garbage collector. diff --git a/changelog/2985.bugfix b/changelog/2985.bugfix deleted file mode 100644 index 1a268c0c5..000000000 --- a/changelog/2985.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix conversion of pyargs to filename to not convert symlinks and not use deprecated features on Python 3. diff --git a/changelog/2995.bugfix b/changelog/2995.bugfix deleted file mode 100644 index 7a3dde4c8..000000000 --- a/changelog/2995.bugfix +++ /dev/null @@ -1 +0,0 @@ -``PYTEST_DONT_REWRITE`` is now checked for plugins too rather than only for test modules. diff --git a/changelog/3001.doc b/changelog/3001.doc deleted file mode 100644 index e9b4dbd52..000000000 --- a/changelog/3001.doc +++ /dev/null @@ -1 +0,0 @@ -Add clarifying note about behavior of multiple parametrized arguments diff --git a/changelog/3015.trivial b/changelog/3015.trivial deleted file mode 100644 index a63ba06e6..000000000 --- a/changelog/3015.trivial +++ /dev/null @@ -1 +0,0 @@ -Code cleanup. diff --git a/changelog/3018.trivial b/changelog/3018.trivial deleted file mode 100644 index 8b4b4176b..000000000 --- a/changelog/3018.trivial +++ /dev/null @@ -1 +0,0 @@ -Clean up code by replacing imports and references of `_ast` to `ast`. diff --git a/changelog/3021.trivial b/changelog/3021.trivial deleted file mode 100644 index a63ba06e6..000000000 --- a/changelog/3021.trivial +++ /dev/null @@ -1 +0,0 @@ -Code cleanup. diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index b6255bc6d..bc8d46f1f 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-3.3.2 release-3.3.1 release-3.3.0 release-3.2.5 diff --git a/doc/en/announce/release-3.3.2.rst b/doc/en/announce/release-3.3.2.rst new file mode 100644 index 000000000..a994aff25 --- /dev/null +++ b/doc/en/announce/release-3.3.2.rst @@ -0,0 +1,28 @@ +pytest-3.3.2 +======================================= + +pytest 3.3.2 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 http://doc.pytest.org/en/latest/changelog.html. + +Thanks to all who contributed to this release, among them: + +* Anthony Sottile +* Antony Lee +* Austin +* Bruno Oliveira +* Florian Bruhin +* Floris Bruynooghe +* Henk-Jaap Wagenaar +* Jurko Gospodnetić +* Ronny Pfannschmidt +* Srinivas Reddy Thatiparthy +* Thomas Hisch + + +Happy testing, +The pytest Development Team diff --git a/doc/en/example/simple.rst b/doc/en/example/simple.rst index 678a0db00..9c773aaed 100644 --- a/doc/en/example/simple.rst +++ b/doc/en/example/simple.rst @@ -385,9 +385,9 @@ Now we can profile which test functions execute the slowest:: test_some_are_slow.py ... [100%] ========================= slowest 3 test durations ========================= - 0.30s call test_some_are_slow.py::test_funcslow2 + 0.31s 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.17s call test_some_are_slow.py::test_funcfast ========================= 3 passed in 0.12 seconds ========================= incremental testing - test steps