Skip to content

Commit

Permalink
Merge pull request #6918 from pytest-dev/release-5.4.1
Browse files Browse the repository at this point in the history
Prepare release 5.4.1
  • Loading branch information
nicoddemus authored Mar 13, 2020
2 parents 8da758b + 3d0f3ba commit ee1950a
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 8 deletions.
3 changes: 0 additions & 3 deletions changelog/6909.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/6910.bugfix.rst

This file was deleted.

1 change: 1 addition & 0 deletions doc/en/announce/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release announcements
:maxdepth: 2


release-5.4.1
release-5.4.0
release-5.3.5
release-5.3.4
Expand Down
18 changes: 18 additions & 0 deletions doc/en/announce/release-5.4.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pytest-5.4.1
=======================================

pytest 5.4.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:

* Bruno Oliveira


Happy testing,
The pytest Development Team
22 changes: 18 additions & 4 deletions doc/en/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ with advance notice in the **Deprecations** section of releases.

.. towncrier release notes start
pytest 5.4.1 (2020-03-13)
=========================

Bug Fixes
---------

- `#6909 <https://github.com/pytest-dev/pytest/issues/6909>`_: Revert the change introduced by `#6330 <https://github.com/pytest-dev/pytest/pull/6330>`_, which required all arguments to ``@pytest.mark.parametrize`` to be explicitly defined in the function signature.

The intention of the original change was to remove what was expected to be an unintended/surprising behavior, but it turns out many people relied on it, so the restriction has been reverted.


- `#6910 <https://github.com/pytest-dev/pytest/issues/6910>`_: Fix crash when plugins return an unknown stats while using the ``--reportlog`` option.


pytest 5.4.0 (2020-03-12)
=========================

Expand Down Expand Up @@ -63,10 +77,10 @@ Breaking Changes
Deprecations
------------

- `#3238 <https://github.com/pytest-dev/pytest/issues/3238>`_: Option ``--no-print-logs`` is deprecated and meant to be removed in a future release. If you use ``--no-print-logs``, please try out ``--show-capture`` and
provide feedback.

``--show-capture`` command-line option was added in ``pytest 3.5.0`` and allows to specify how to
- `#3238 <https://github.com/pytest-dev/pytest/issues/3238>`_: Option ``--no-print-logs`` is deprecated and meant to be removed in a future release. If you use ``--no-print-logs``, please try out ``--show-capture`` and
provide feedback.

``--show-capture`` command-line option was added in ``pytest 3.5.0`` and allows to specify how to
display captured output when tests fail: ``no``, ``stdout``, ``stderr``, ``log`` or ``all`` (the default).


Expand Down

0 comments on commit ee1950a

Please sign in to comment.