Skip to content

Commit d3971c3

Browse files
committed
Prepare release version 6.2.1
1 parent 780044b commit d3971c3

File tree

6 files changed

+44
-13
lines changed

6 files changed

+44
-13
lines changed

changelog/7678.bugfix.rst

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

changelog/8132.bugfix.rst

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

doc/en/announce/index.rst

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

88

9+
release-6.2.1
910
release-6.2.0
1011
release-6.1.2
1112
release-6.1.1

doc/en/announce/release-6.2.1.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
pytest-6.2.1
2+
=======================================
3+
4+
pytest 6.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/stable/changelog.html.
11+
12+
Thanks to all of the contributors to this release:
13+
14+
* Bruno Oliveira
15+
* Jakob van Santen
16+
* Ran Benita
17+
18+
19+
Happy testing,
20+
The pytest Development Team

doc/en/changelog.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,28 @@ with advance notice in the **Deprecations** section of releases.
2828

2929
.. towncrier release notes start
3030
31+
pytest 6.2.1 (2020-12-15)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#7678 <https://github.com/pytest-dev/pytest/issues/7678>`_: Fixed bug where ``ImportPathMismatchError`` would be raised for files compiled in
38+
the host and loaded later from an UNC mounted path (Windows).
39+
40+
41+
- `#8132 <https://github.com/pytest-dev/pytest/issues/8132>`_: Fixed regression in ``approx``: in 6.2.0 ``approx`` no longer raises
42+
``TypeError`` when dealing with non-numeric types, falling back to normal comparison.
43+
Before 6.2.0, array types like tf.DeviceArray fell through to the scalar case,
44+
and happened to compare correctly to a scalar if they had only one element.
45+
After 6.2.0, these types began failing, because they inherited neither from
46+
standard Python number hierarchy nor from ``numpy.ndarray``.
47+
48+
``approx`` now converts arguments to ``numpy.ndarray`` if they expose the array
49+
protocol and are not scalars. This treats array-like objects like numpy arrays,
50+
regardless of size.
51+
52+
3153
pytest 6.2.0 (2020-12-12)
3254
=========================
3355

doc/en/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Install ``pytest``
2828
.. code-block:: bash
2929
3030
$ pytest --version
31-
pytest 6.2.0
31+
pytest 6.2.1
3232
3333
.. _`simpletest`:
3434

0 commit comments

Comments
 (0)