From 2d398d870604b4d2f95b4a0157b97553008e762a Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Thu, 19 Dec 2019 14:42:09 -0800 Subject: [PATCH] Preparing release version 4.6.8 --- CHANGELOG.rst | 23 +++++++++++++++++++++++ changelog/5430.bugfix.rst | 1 - changelog/5471.feature.rst | 1 - changelog/6345.trivial.rst | 1 - doc/en/announce/index.rst | 1 + doc/en/announce/release-4.6.8.rst | 20 ++++++++++++++++++++ doc/en/example/parametrize.rst | 7 +++---- doc/en/example/reportingdemo.rst | 4 ++-- doc/en/example/simple.rst | 2 +- doc/en/getting-started.rst | 2 +- 10 files changed, 51 insertions(+), 11 deletions(-) delete mode 100644 changelog/5430.bugfix.rst delete mode 100644 changelog/5471.feature.rst delete mode 100644 changelog/6345.trivial.rst create mode 100644 doc/en/announce/release-4.6.8.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index caacbc283..8fea3e991 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,29 @@ with advance notice in the **Deprecations** section of releases. .. towncrier release notes start +pytest 4.6.8 (2019-12-19) +========================= + +Features +-------- + +- `#5471 `_: JUnit XML now includes a timestamp and hostname in the testsuite tag. + + + +Bug Fixes +--------- + +- `#5430 `_: junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase. + + + +Trivial/Internal Changes +------------------------ + +- `#6345 `_: Pin ``colorama`` to ``0.4.1`` only for Python 3.4 so newer Python versions can still receive colorama updates. + + pytest 4.6.7 (2019-12-05) ========================= diff --git a/changelog/5430.bugfix.rst b/changelog/5430.bugfix.rst deleted file mode 100644 index 734685063..000000000 --- a/changelog/5430.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase. diff --git a/changelog/5471.feature.rst b/changelog/5471.feature.rst deleted file mode 100644 index 154b64ea7..000000000 --- a/changelog/5471.feature.rst +++ /dev/null @@ -1 +0,0 @@ -JUnit XML now includes a timestamp and hostname in the testsuite tag. diff --git a/changelog/6345.trivial.rst b/changelog/6345.trivial.rst deleted file mode 100644 index e95458314..000000000 --- a/changelog/6345.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Pin ``colorama`` to ``0.4.1`` only for Python 3.4 so newer Python versions can still receive colorama updates. diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index b1b3f1134..2ea08be78 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-4.6.8 release-4.6.7 release-4.6.6 release-4.6.5 diff --git a/doc/en/announce/release-4.6.8.rst b/doc/en/announce/release-4.6.8.rst new file mode 100644 index 000000000..3c04e5dbe --- /dev/null +++ b/doc/en/announce/release-4.6.8.rst @@ -0,0 +1,20 @@ +pytest-4.6.8 +======================================= + +pytest 4.6.8 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 +* Ryan Mast + + +Happy testing, +The pytest Development Team diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 2ab5e3ab1..e3fd4564d 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -434,11 +434,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 - ...ssssssssssssssssssssssss [100%] + ......sss......ssssssssssss [100%] ========================= short test summary info ========================== - SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.4' not found - SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.5' not found - 3 passed, 24 skipped in 0.12 seconds + SKIPPED [15] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.5' not found + 12 passed, 15 skipped in 0.12 seconds Indirect parametrization of optional implementations/imports -------------------------------------------------------------------- diff --git a/doc/en/example/reportingdemo.rst b/doc/en/example/reportingdemo.rst index d00c98362..928c365ca 100644 --- a/doc/en/example/reportingdemo.rst +++ b/doc/en/example/reportingdemo.rst @@ -436,7 +436,7 @@ Here is a nice run of several failures and how ``pytest`` presents things: items = [1, 2, 3] print("items is %r" % items) > a, b = items.pop() - E TypeError: cannot unpack non-iterable int object + E TypeError: 'int' object is not iterable failure_demo.py:182: TypeError --------------------------- Captured stdout call --------------------------- @@ -515,7 +515,7 @@ Here is a nice run of several failures and how ``pytest`` presents things: def test_z2_type_error(self): items = 3 > a, b = items - E TypeError: cannot unpack non-iterable int object + E TypeError: 'int' object is not iterable failure_demo.py:222: TypeError ______________________ TestMoreErrors.test_startswith ______________________ diff --git a/doc/en/example/simple.rst b/doc/en/example/simple.rst index 81f2dd855..140f4b840 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.11s call test_some_are_slow.py::test_funcfast + 0.10s call test_some_are_slow.py::test_funcfast ========================= 3 passed in 0.12 seconds ========================= incremental testing - test steps diff --git a/doc/en/getting-started.rst b/doc/en/getting-started.rst index 882385b29..d6c62cbe8 100644 --- a/doc/en/getting-started.rst +++ b/doc/en/getting-started.rst @@ -28,7 +28,7 @@ Install ``pytest`` .. code-block:: bash $ pytest --version - This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.7/site-packages/pytest.py + This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest.py .. _`simpletest`: