Skip to content

Commit

Permalink
Disable forked and unpin pytest. Ref #511. Closes #680.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco authored and webknjaz committed Apr 26, 2024
1 parent dd19c36 commit 0c41b7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cheroot/test/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def test_reuse_port(http_server, ip_addr, mocker):
assert spy.spy_exception is None


ISSUE511 = IS_MACOS
ISSUE511 = True


if not IS_WINDOWS and not ISSUE511:
Expand Down
14 changes: 8 additions & 6 deletions requirements/tests.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,20 @@ pypytools

pytest-clarity
pytest-cov==2.12.0
pytest-forked>=1.2.0; sys_platform != "win32"
# pytest-forked is currently incompatible with pytest 7
# Refs:
# * https://github.com/cherrypy/cheroot/issues/511
# * https://github.com/pytest-dev/pytest-forked/issues/67
# pytest-forked>=1.2.0; sys_platform != "win32"
pytest-mock>=1.11.0
pytest-rerunfailures
pytest-sugar>=0.9.3
pytest-watch==4.2.0
pytest-xdist>=1.28.0

# pytest-forked is currently incompatible with pytest 7
# Refs:
# * https://github.com/cherrypy/cheroot/issues/511
# * https://github.com/pytest-dev/pytest-forked/issues/67
pytest >= 4.6.6, < 7
# pytest 7.2 introduces deprecations triggered by pytest-cov
# * https://github.com/cherrypy/cheroot/issues/682
pytest >= 7, <7.2

# HTTP over UNIX socket
requests-unixsocket
Expand Down

0 comments on commit 0c41b7b

Please sign in to comment.