Use new pytest for new Twisted. (#6893)

This commit is contained in:
Andrey Rakhmatullin 2025-06-23 20:42:11 +05:00 committed by GitHub
parent 85aeda365d
commit 91b186cf18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -14,16 +14,16 @@ deps =
pexpect >= 4.8.0
pyftpdlib >= 2.0.1
pygments
pytest != 8.2.* # https://github.com/pytest-dev/pytest/issues/12275
pytest
pytest-cov >= 4.0.0
pytest-xdist
sybil >= 1.3.0 # https://github.com/cjw296/sybil/issues/20#issuecomment-605433422
testfixtures
Twisted < 25.5.0 # https://github.com/twisted/twisted/issues/12467
[testenv]
deps =
{[test-requirements]deps}
pytest >= 8.4.1 # https://github.com/pytest-dev/pytest/pull/13502
# mitmproxy does not support PyPy
mitmproxy; implementation_name != "pypy"
@ -96,6 +96,8 @@ commands =
[pinned]
basepython = python3.9
deps =
# pytest 8.4.1 adds support for Twisted 25.5.0 but drops support for Twisted < 24.10.0
pytest==8.4.0
Protego==0.1.15
Twisted==21.7.0
cryptography==37.0.0
@ -195,6 +197,7 @@ basepython = pypy3.10
deps =
PyPyDispatcher==2.1.0
{[test-requirements]deps}
pytest==8.4.0
Protego==0.1.15
Twisted==21.7.0
cryptography==41.0.5