Skip to content

Commit 0c41b7b

Browse files
jaracowebknjaz
authored andcommitted
Disable forked and unpin pytest. Ref #511. Closes #680.
1 parent dd19c36 commit 0c41b7b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

cheroot/test/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def test_reuse_port(http_server, ip_addr, mocker):
400400
assert spy.spy_exception is None
401401

402402

403-
ISSUE511 = IS_MACOS
403+
ISSUE511 = True
404404

405405

406406
if not IS_WINDOWS and not ISSUE511:

requirements/tests.in

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,20 @@ pypytools
3434

3535
pytest-clarity
3636
pytest-cov==2.12.0
37-
pytest-forked>=1.2.0; sys_platform != "win32"
37+
# pytest-forked is currently incompatible with pytest 7
38+
# Refs:
39+
# * https://github.com/cherrypy/cheroot/issues/511
40+
# * https://github.com/pytest-dev/pytest-forked/issues/67
41+
# pytest-forked>=1.2.0; sys_platform != "win32"
3842
pytest-mock>=1.11.0
3943
pytest-rerunfailures
4044
pytest-sugar>=0.9.3
4145
pytest-watch==4.2.0
4246
pytest-xdist>=1.28.0
4347

44-
# pytest-forked is currently incompatible with pytest 7
45-
# Refs:
46-
# * https://github.com/cherrypy/cheroot/issues/511
47-
# * https://github.com/pytest-dev/pytest-forked/issues/67
48-
pytest >= 4.6.6, < 7
48+
# pytest 7.2 introduces deprecations triggered by pytest-cov
49+
# * https://github.com/cherrypy/cheroot/issues/682
50+
pytest >= 7, <7.2
4951

5052
# HTTP over UNIX socket
5153
requests-unixsocket

0 commit comments

Comments
 (0)