Skip to content

Commit

Permalink
Add CHANGELOG entry for pytest-dev#5584
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Jun 13, 2020
1 parent dca95c7 commit b3ae807
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions changelog/5584.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**PytestDeprecationWarning are now errors by default.**

Following our plan to remove deprecated features with as little disruption as
possible, all warnings of type ``PytestDeprecationWarning`` now generate errors
instead of warning messages.

**The affected features will be effectively removed in pytest 6.1**, so please consult the
`Deprecations and Removals <https://docs.pytest.org/en/latest/deprecations.html>`__
section in the docs for directions on how to update existing code.

In the pytest ``6.0.X`` series, it is possible to change the errors back into warnings as a stop
gap measure by adding this to your ``pytest.ini`` file:

.. code-block:: ini
[pytest]
filterwarnings =
ignore::pytest.PytestDeprecationWarning
But this will stop working when pytest ``6.1`` is released.

**If you have concerns** about the removal of a specific feature, please add a
comment to `#5584 <https://github.com/pytest-dev/pytest/issues/5584>`__.

0 comments on commit b3ae807

Please sign in to comment.