Skip to content

Commit

Permalink
Preparing release version 4.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Oct 11, 2019
1 parent 62c0d82 commit 5b499ba
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 10 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -18,6 +18,32 @@ with advance notice in the **Deprecations** section of releases.
.. towncrier release notes start
pytest 4.6.6 (2019-10-11)
=========================

Bug Fixes
---------

- `#5523 <https://github.com/pytest-dev/pytest/issues/5523>`_: Fixed using multiple short options together in the command-line (for example ``-vs``) in Python 3.8+.


- `#5537 <https://github.com/pytest-dev/pytest/issues/5537>`_: Replace ``importlib_metadata`` backport with ``importlib.metadata`` from the
standard library on Python 3.8+.


- `#5806 <https://github.com/pytest-dev/pytest/issues/5806>`_: Fix "lexer" being used when uploading to bpaste.net from ``--pastebin`` to "text".


- `#5902 <https://github.com/pytest-dev/pytest/issues/5902>`_: Fix warnings about deprecated ``cmp`` attribute in ``attrs>=19.2``.



Trivial/Internal Changes
------------------------

- `#5801 <https://github.com/pytest-dev/pytest/issues/5801>`_: Fixes python version checks (detected by ``flake8-2020``) in case python4 becomes a thing.


pytest 4.6.5 (2019-08-05)
=========================

Expand Down
1 change: 0 additions & 1 deletion changelog/5523.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/5537.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/5801.trivial.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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


release-4.6.6
release-4.6.5
release-4.6.4
release-4.6.3
Expand Down
20 changes: 20 additions & 0 deletions doc/en/announce/release-4.6.6.rst
@@ -0,0 +1,20 @@
pytest-4.6.6
=======================================

pytest 4.6.6 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
* Michael Goerz


Happy testing,
The pytest Development Team
4 changes: 2 additions & 2 deletions doc/en/example/reportingdemo.rst
Expand Up @@ -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: 'int' object is not iterable
E TypeError: cannot unpack non-iterable int object
failure_demo.py:182: TypeError
--------------------------- Captured stdout call ---------------------------
Expand Down Expand Up @@ -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: 'int' object is not iterable
E TypeError: cannot unpack non-iterable int object
failure_demo.py:222: TypeError
______________________ TestMoreErrors.test_startswith ______________________
Expand Down
2 changes: 1 addition & 1 deletion doc/en/example/simple.rst
Expand Up @@ -440,7 +440,7 @@ Now we can profile which test functions execute the slowest:
test_some_are_slow.py ... [100%]
========================= slowest 3 test durations =========================
0.31s call test_some_are_slow.py::test_funcslow2
0.30s call test_some_are_slow.py::test_funcslow2
0.20s call test_some_are_slow.py::test_funcslow1
0.10s call test_some_are_slow.py::test_funcfast
========================= 3 passed in 0.12 seconds =========================
Expand Down
2 changes: 1 addition & 1 deletion doc/en/getting-started.rst
Expand Up @@ -28,7 +28,7 @@ Install ``pytest``
.. code-block:: bash
$ pytest --version
This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest.py
This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.7/site-packages/pytest.py
.. _`simpletest`:

Expand Down

0 comments on commit 5b499ba

Please sign in to comment.