From 6a26ac41255a304eb3eec2da565101caf2112394 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 20 Jan 2020 13:53:31 -0300 Subject: [PATCH] Preparing release version 5.3.4 --- changelog/6496.bugfix.rst | 2 -- doc/en/announce/index.rst | 1 + doc/en/announce/release-5.3.4.rst | 20 ++++++++++++++++++++ doc/en/changelog.rst | 10 ++++++++++ doc/en/example/parametrize.rst | 4 ++-- doc/en/example/reportingdemo.rst | 4 ++-- doc/en/example/simple.rst | 2 +- doc/en/getting-started.rst | 2 +- 8 files changed, 37 insertions(+), 8 deletions(-) delete mode 100644 changelog/6496.bugfix.rst create mode 100644 doc/en/announce/release-5.3.4.rst diff --git a/changelog/6496.bugfix.rst b/changelog/6496.bugfix.rst deleted file mode 100644 index ff541f52f8e..00000000000 --- a/changelog/6496.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Revert `#6436 `__: unfortunately this change has caused a number of regressions in many suites, -so the team decided to revert this change and make a new release while we continue to look for a solution. diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index 85277fb5adc..fb17b8e9320 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-5.3.4 release-5.3.3 release-5.3.2 release-5.3.1 diff --git a/doc/en/announce/release-5.3.4.rst b/doc/en/announce/release-5.3.4.rst new file mode 100644 index 00000000000..75bf4e6f34e --- /dev/null +++ b/doc/en/announce/release-5.3.4.rst @@ -0,0 +1,20 @@ +pytest-5.3.4 +======================================= + +pytest 5.3.4 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 +* Ran Benita + + +Happy testing, +The pytest Development Team diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index 48ea96882c7..0bda6bb54f5 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -28,6 +28,16 @@ with advance notice in the **Deprecations** section of releases. .. towncrier release notes start +pytest 5.3.4 (2020-01-20) +========================= + +Bug Fixes +--------- + +- `#6496 `_: Revert `#6436 `__: unfortunately this change has caused a number of regressions in many suites, + so the team decided to revert this change and make a new release while we continue to look for a solution. + + pytest 5.3.3 (2020-01-16) ========================= diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 8b7725152f0..15593b28a02 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -475,10 +475,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%] + ssssssssssss...ssssssssssss [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.6' not found + SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.7' not found 3 passed, 24 skipped in 0.12s Indirect parametrization of optional implementations/imports diff --git a/doc/en/example/reportingdemo.rst b/doc/en/example/reportingdemo.rst index eb978c5eaba..1c06782f631 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}".format(items)) > a, b = items.pop() - E TypeError: cannot unpack non-iterable int object + E TypeError: 'int' object is not iterable failure_demo.py:181: TypeError --------------------------- Captured stdout call --------------------------- @@ -516,7 +516,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 c1e13e3b1bd..1570850fc50 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.21s call test_some_are_slow.py::test_funcslow1 + 0.20s call test_some_are_slow.py::test_funcslow1 0.11s call test_some_are_slow.py::test_funcfast ============================ 3 passed in 0.12s ============================= diff --git a/doc/en/getting-started.rst b/doc/en/getting-started.rst index 25df2f15381..59197d0d7ee 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 5.x.y, imported from $PYTHON_PREFIX/lib/python3.7/site-packages/pytest/__init__.py + This is pytest version 5.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest/__init__.py .. _`simpletest`: