Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable forked and unpin pytest #681

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading