diff --git a/requirements-testing.txt b/requirements-testing.txt index a6041972cd..fa1b1b88f5 100644 --- a/requirements-testing.txt +++ b/requirements-testing.txt @@ -10,7 +10,6 @@ jsonschema executing asttokens responses -pysocks socksio httpcore[http2] setuptools diff --git a/scripts/populate_tox/tox.jinja b/scripts/populate_tox/tox.jinja index 40426d30fb..d31ce88ed6 100644 --- a/scripts/populate_tox/tox.jinja +++ b/scripts/populate_tox/tox.jinja @@ -81,6 +81,7 @@ deps = py3.8-common: hypothesis common: pytest-asyncio common: httpcore[asyncio] + common: pysocks # See https://github.com/pytest-dev/pytest/issues/9621 # and https://github.com/pytest-dev/pytest-forked/issues/67 # for justification of the upper bound on pytest @@ -97,6 +98,7 @@ deps = # for justification of the upper bound on pytest {py3.6,py3.7}-gevent: pytest<7.0.0 {py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest + gevent: pysocks gevent: pytest-asyncio gevent: setuptools<82 {py3.10,py3.11}-gevent: zope.event<5.0.0 diff --git a/tox.ini b/tox.ini index e91115d32e..3eabcab990 100644 --- a/tox.ini +++ b/tox.ini @@ -404,6 +404,7 @@ deps = py3.8-common: hypothesis common: pytest-asyncio common: httpcore[asyncio] + common: pysocks # See https://github.com/pytest-dev/pytest/issues/9621 # and https://github.com/pytest-dev/pytest-forked/issues/67 # for justification of the upper bound on pytest @@ -420,6 +421,7 @@ deps = # for justification of the upper bound on pytest {py3.6,py3.7}-gevent: pytest<7.0.0 {py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest + gevent: pysocks gevent: pytest-asyncio gevent: setuptools<82 {py3.10,py3.11}-gevent: zope.event<5.0.0