Scrapy, a fast high-level web crawling & scraping framework for Python.
Use new pytest for new Twisted. (#6893)
Andrey Rakhmatullin91b186cf1868
diff --git a/tox.ini b/tox.iniindex f28467ec1..85935b011 100644--- a/tox.ini+++ b/tox.ini@@ -14,16 +14,16 @@ deps =pexpect >= 4.8.0pyftpdlib >= 2.0.1pygments- pytest != 8.2.* # https://github.com/pytest-dev/pytest/issues/12275+ pytestpytest-cov >= 4.0.0pytest-xdistsybil >= 1.3.0 # https://github.com/cjw296/sybil/issues/20#issuecomment-605433422testfixtures- 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 PyPymitmproxy; implementation_name != "pypy"@@ -96,6 +96,8 @@ commands =[pinned]basepython = python3.9deps =+ # pytest 8.4.1 adds support for Twisted 25.5.0 but drops support for Twisted < 24.10.0+ pytest==8.4.0Protego==0.1.15Twisted==21.7.0cryptography==37.0.0@@ -195,6 +197,7 @@ basepython = pypy3.10deps =PyPyDispatcher==2.1.0{[test-requirements]deps}+ pytest==8.4.0Protego==0.1.15Twisted==21.7.0cryptography==41.0.5