Skip to content

Commit 04be98e

Browse files
committed
Bump hypothesis-python version to 6.42.2 and update changelog
[skip ci]
1 parent ff4152b commit 04be98e

File tree

3 files changed

+22
-17
lines changed

3 files changed

+22
-17
lines changed

hypothesis-python/RELEASE.rst

-16
This file was deleted.

hypothesis-python/docs/changes.rst

+21
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,27 @@ Hypothesis 6.x
1818

1919
.. include:: ../RELEASE.rst
2020

21+
.. _v6.42.2:
22+
23+
-------------------
24+
6.42.2 - 2022-04-10
25+
-------------------
26+
27+
The Hypothesis pytest plugin was not outputting valid xunit2 nodes when
28+
``--junit-xml`` was specified. This has been broken since Pytest 5.4, which
29+
changed the internal API for adding nodes to the junit report.
30+
31+
This also fixes the issue when using hypothesis with ``--junit-xml`` and
32+
``pytest-xdist`` where the junit xml report would not be xunit2 compatible.
33+
Now, when using with ``pytest-xdist``, the junit report will just omit the
34+
``<properties>`` node.
35+
36+
For more details, see `this pytest issue <https://github.com/pytest-dev/pytest/issues/1126#issuecomment-484581283>`__,
37+
`this pytest issue <https://github.com/pytest-dev/pytest/issues/7767#issuecomment-1082436256>`__,
38+
and :issue:`1935`
39+
40+
Thanks to Brandon Chinn for this bug fix!
41+
2142
.. _v6.42.1:
2243

2344
-------------------

hypothesis-python/src/hypothesis/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11-
__version_info__ = (6, 42, 1)
11+
__version_info__ = (6, 42, 2)
1212
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)