Skip to content

Commit b847d57

Browse files
authored
Merge pull request #5923 from nicoddemus/mm
Merge master into features
2 parents c1361b4 + 74aed6e commit b847d57

30 files changed

+195
-44
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ jobs:
4949
# - pytester's LsofFdLeakChecker
5050
# - TestArgComplete (linux only)
5151
# - numpy
52+
# - old attrs
5253
# Empty PYTEST_ADDOPTS to run this non-verbose.
53-
- env: TOXENV=py37-lsof-numpy-twisted-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
54+
- env: TOXENV=py37-lsof-oldattrs-numpy-twisted-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
5455

5556
# Specialized factors for py37.
5657
# Coverage for:

CHANGELOG.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,54 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 5.2.1 (2019-10-06)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#5902 <https://github.com/pytest-dev/pytest/issues/5902>`_: Fix warnings about deprecated ``cmp`` attribute in ``attrs>=19.2``.
28+
29+
30+
pytest 5.2.0 (2019-09-28)
31+
=========================
32+
33+
Deprecations
34+
------------
35+
36+
- `#1682 <https://github.com/pytest-dev/pytest/issues/1682>`_: Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them
37+
as a keyword argument instead.
38+
39+
40+
41+
Features
42+
--------
43+
44+
- `#1682 <https://github.com/pytest-dev/pytest/issues/1682>`_: The ``scope`` parameter of ``@pytest.fixture`` can now be a callable that receives
45+
the fixture name and the ``config`` object as keyword-only parameters.
46+
See `the docs <https://docs.pytest.org/en/latest/fixture.html#dynamic-scope>`__ for more information.
47+
48+
49+
- `#5764 <https://github.com/pytest-dev/pytest/issues/5764>`_: New behavior of the ``--pastebin`` option: failures to connect to the pastebin server are reported, without failing the pytest run
50+
51+
52+
53+
Bug Fixes
54+
---------
55+
56+
- `#5806 <https://github.com/pytest-dev/pytest/issues/5806>`_: Fix "lexer" being used when uploading to bpaste.net from ``--pastebin`` to "text".
57+
58+
59+
- `#5884 <https://github.com/pytest-dev/pytest/issues/5884>`_: Fix ``--setup-only`` and ``--setup-show`` for custom pytest items.
60+
61+
62+
63+
Trivial/Internal Changes
64+
------------------------
65+
66+
- `#5056 <https://github.com/pytest-dev/pytest/issues/5056>`_: The HelpFormatter uses ``py.io.get_terminal_width`` for better width detection.
67+
68+
2169
pytest 5.1.3 (2019-09-18)
2270
=========================
2371

changelog/1682.deprecation.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog/1682.feature.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog/5056.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/5764.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/5806.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/en/announce/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-5.2.1
10+
release-5.2.0
911
release-5.1.3
1012
release-5.1.2
1113
release-5.1.1

doc/en/announce/release-5.2.0.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
pytest-5.2.0
2+
=======================================
3+
4+
The pytest team is proud to announce the 5.2.0 release!
5+
6+
pytest is a mature Python testing tool with more than a 2000 tests
7+
against itself, passing on many different interpreters and platforms.
8+
9+
This release contains a number of bugs fixes and improvements, so users are encouraged
10+
to take a look at the CHANGELOG:
11+
12+
https://docs.pytest.org/en/latest/changelog.html
13+
14+
For complete documentation, please visit:
15+
16+
https://docs.pytest.org/en/latest/
17+
18+
As usual, you can upgrade from pypi via:
19+
20+
pip install -U pytest
21+
22+
Thanks to all who contributed to this release, among them:
23+
24+
* Andrzej Klajnert
25+
* Anthony Sottile
26+
* Bruno Oliveira
27+
* Daniel Hahler
28+
* James Cooke
29+
* Michael Goerz
30+
* Ran Benita
31+
* Tomáš Chvátal
32+
* aklajnert
33+
34+
35+
Happy testing,
36+
The Pytest Development Team

doc/en/announce/release-5.2.1.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pytest-5.2.1
2+
=======================================
3+
4+
pytest 5.2.1 has just been released to PyPI.
5+
6+
This is a bug-fix release, being a drop-in replacement. To upgrade::
7+
8+
pip install --upgrade pytest
9+
10+
The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.
11+
12+
Thanks to all who contributed to this release, among them:
13+
14+
* Anthony Sottile
15+
* Bruno Oliveira
16+
* Florian Bruhin
17+
* Hynek Schlawack
18+
* Kevin J. Foley
19+
* tadashigaki
20+
21+
22+
Happy testing,
23+
The pytest Development Team

0 commit comments

Comments
 (0)