From 492cc4219ca00fff2ba9823dc704a2f4aa9d4a1e Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 11 Mar 2019 12:59:54 -0300 Subject: [PATCH] Prepare release 4.3.1 --- CHANGELOG.rst | 22 ++++++++++++++++++++++ changelog/4768.trivial.rst | 1 - changelog/4810.bugfix.rst | 1 - changelog/4861.bugfix.rst | 1 - changelog/4898.bugfix.rst | 1 - doc/en/announce/index.rst | 1 + doc/en/announce/release-4.3.1.rst | 29 +++++++++++++++++++++++++++++ doc/en/example/parametrize.rst | 6 ++++-- doc/en/tmpdir.rst | 1 - 9 files changed, 56 insertions(+), 7 deletions(-) delete mode 100644 changelog/4768.trivial.rst delete mode 100644 changelog/4810.bugfix.rst delete mode 100644 changelog/4861.bugfix.rst delete mode 100644 changelog/4898.bugfix.rst create mode 100644 doc/en/announce/release-4.3.1.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9f98f6408..839b4c439 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,28 @@ with advance notice in the **Deprecations** section of releases. .. towncrier release notes start +pytest 4.3.1 (2019-03-11) +========================= + +Bug Fixes +--------- + +- `#4810 `_: Logging messages inside ``pytest_runtest_logreport()`` are now properly captured and displayed. + + +- `#4861 `_: Improve validation of contents written to captured output so it behaves the same as when capture is disabled. + + +- `#4898 `_: Fix ``AttributeError: FixtureRequest has no 'confg' attribute`` bug in ``testdir.copy_example``. + + + +Trivial/Internal Changes +------------------------ + +- `#4768 `_: Avoid pkg_resources import at the top-level. + + pytest 4.3.0 (2019-02-16) ========================= diff --git a/changelog/4768.trivial.rst b/changelog/4768.trivial.rst deleted file mode 100644 index c84b29b79..000000000 --- a/changelog/4768.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid pkg_resources import at the top-level. diff --git a/changelog/4810.bugfix.rst b/changelog/4810.bugfix.rst deleted file mode 100644 index 32d9b97a5..000000000 --- a/changelog/4810.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Logging messages inside ``pytest_runtest_logreport()`` are now properly captured and displayed. diff --git a/changelog/4861.bugfix.rst b/changelog/4861.bugfix.rst deleted file mode 100644 index b4bf125d1..000000000 --- a/changelog/4861.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Improve validation of contents written to captured output so it behaves the same as when capture is disabled. diff --git a/changelog/4898.bugfix.rst b/changelog/4898.bugfix.rst deleted file mode 100644 index 43efee011..000000000 --- a/changelog/4898.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``AttributeError: FixtureRequest has no 'confg' attribute`` bug in ``testdir.copy_example``. diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index 9574229d0..96123f3fb 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-4.3.1 release-4.3.0 release-4.2.1 release-4.2.0 diff --git a/doc/en/announce/release-4.3.1.rst b/doc/en/announce/release-4.3.1.rst new file mode 100644 index 000000000..45d14fffe --- /dev/null +++ b/doc/en/announce/release-4.3.1.rst @@ -0,0 +1,29 @@ +pytest-4.3.1 +======================================= + +pytest 4.3.1 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: + +* Andras Mitzki +* Anthony Sottile +* Bruno Oliveira +* Daniel Hahler +* Danilo Horta +* Grygorii Iermolenko +* Jeff Hale +* Kyle Altendorf +* Stephan Hoyer +* Zac Hatfield-Dodds +* Zac-HD +* songbowen + + +Happy testing, +The pytest Development Team diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 05932d164..b5d4693ad 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -436,8 +436,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 - ........................... [100%] - 27 passed in 0.12 seconds + ...sss...sssssssss...sss... [100%] + ========================= short test summary info ========================== + SKIPPED [15] $REGENDOC_TMPDIR/CWD/multipython.py:30: 'python3.4' not found + 12 passed, 15 skipped in 0.12 seconds Indirect parametrization of optional implementations/imports -------------------------------------------------------------------- diff --git a/doc/en/tmpdir.rst b/doc/en/tmpdir.rst index e2b8fc32b..f16b9260c 100644 --- a/doc/en/tmpdir.rst +++ b/doc/en/tmpdir.rst @@ -66,7 +66,6 @@ Running this would result in a passed test except for the last test_tmp_path.py:13: AssertionError ========================= 1 failed in 0.12 seconds ========================= - .. _`tmp_path_factory example`: The ``tmp_path_factory`` fixture