Merge pull request #7575 from nicoddemus/fix-changelog-entries-release-process

This commit is contained in:
Bruno Oliveira 2020-07-29 11:56:11 -03:00 committed by GitHub
commit 49628786f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 3 additions and 38 deletions

View File

@ -69,9 +69,9 @@ Both automatic and manual processes described above follow the same steps from t
git fetch --all --prune
git checkout origin/master -b cherry-pick-release
git cherry-pick --no-commit -m1 origin/MAJOR.MINOR.x
git checkout origin/master -- changelog
git commit # no arguments
git cherry-pick -x -m1 origin/MAJOR.MINOR.x
#. Open a PR for ``cherry-pick-release`` and merge it once CI passes. No need to wait for approvals if there were no conflicts on the previous step.
#. Send an email announcement with the contents from::

View File

@ -1,23 +0,0 @@
**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
stopgap 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>`__.

View File

@ -1 +0,0 @@
Fixture scope ``package`` is no longer considered experimental.

View File

@ -1 +0,0 @@
Fix the reported location of tests skipped with ``@pytest.mark.skip`` when ``--runxfail`` is used.

View File

@ -1 +0,0 @@
Clarified when the ``usefixtures`` mark can apply fixtures to test.

View File

@ -1 +0,0 @@
Add a note about ``-q`` option used in getting started guide.

View File

@ -1 +0,0 @@
Added support for :envvar:`NO_COLOR` and :envvar:`FORCE_COLOR` environment variables to control colored output.

View File

@ -1 +0,0 @@
``--log-file`` CLI option and ``log_file`` ini marker now create subdirectories if needed.

View File

@ -1 +0,0 @@
The ``exec_()`` and ``is_true()`` methods of ``_pytest._code.Frame`` have been removed.

View File

@ -1 +0,0 @@
The :func:`pytest.raises` function has a clearer error message when ``match`` equals the obtained string but is not a regex match. In this case it is suggested to escape the regex.

View File

@ -1,2 +0,0 @@
:fixture:`tmpdir` and :fixture:`tmp_path` no longer raise an error if the lock to check for
stale temporary directories is not accessible.

View File

@ -1 +0,0 @@
Preserve line endings when captured via ``capfd``.

View File

@ -1 +0,0 @@
Restored the previous formatting of ``TracebackEntry.__str__`` which was changed by accident.