Skip to content

Commit 404bc78

Browse files
committed
Update changelog and remove last cruft.
1 parent a966694 commit 404bc78

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

CHANGELOG.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,25 @@ Changelog
22
=========
33

44

5-
3.1.0 (future)
5+
4.0.0 (future)
66
-------------------
77

8+
**Note that this release drops support for multiprocessing.**
9+
10+
811
* `--cov-fail-under` no longer causes `pytest --collect-only` to fail
912
Contributed by Zac Hatfield-Dodds in
1013
`#511 <https://github.com/pytest-dev/pytest-cov/pull/511>`_.
14+
* Dropped support for multiprocessing (mostly because `issue 82408 <https://github.com/python/cpython/issues/82408>`_). This feature was
15+
mostly working but made out test suite very flaky and slow.
16+
17+
There is builtin multiprocessing support in coverage and you can switch to that if you feel lucky. All you need is this in your
18+
``.coveragerc``::
19+
20+
[run]
21+
concurrency = multiprocessing
22+
parallel = true
23+
sigterm = true
1124

1225

1326
3.0.0 (2021-10-04)

tests/test_pytest_cov.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,13 +1400,6 @@ def test_basic(no_cover):
14001400
raise NotImplementedError
14011401
'''
14021402

1403-
MP_COVERAGERC = '''
1404-
[run]
1405-
concurrency = multiprocessing
1406-
parallel = true
1407-
sigterm = True
1408-
'''
1409-
14101403
EXCLUDED_TEST = '''
14111404
14121405
def func():

0 commit comments

Comments
 (0)