diff --git a/poetry.lock b/poetry.lock index 461e5e8..58aeec6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -133,6 +133,23 @@ aiohttp = ">=3.8.1,<4.0.0" async-timeout = ">=4.0.2,<5.0.0" yarl = ">=1.5.1,<2.0.0" +[[package]] +name = "aiohttp-socks" +version = "0.10.1" +description = "Proxy connector for aiohttp" +optional = true +python-versions = ">=3.8.0" +groups = ["main"] +markers = "extra == \"socks\"" +files = [ + {file = "aiohttp_socks-0.10.1-py3-none-any.whl", hash = "sha256:6fd4d46c09f952f971a011ff446170daab8d539cf5310c0627f8423df2fb15ea"}, + {file = "aiohttp_socks-0.10.1.tar.gz", hash = "sha256:49f2e1f8051f2885719beb1b77e312b5a27c3e4b60f0b045a388f194d995e068"}, +] + +[package.dependencies] +aiohttp = ">=3.10.0" +python-socks = {version = ">=2.4.3,<3.0.0", extras = ["asyncio"]} + [[package]] name = "aiosignal" version = "1.3.2" @@ -2289,6 +2306,28 @@ asyncio-client = ["aiohttp (>=3.4)"] client = ["requests (>=2.21.0)", "websocket-client (>=0.54.0)"] docs = ["sphinx"] +[[package]] +name = "python-socks" +version = "2.7.1" +description = "Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python" +optional = true +python-versions = ">=3.8.0" +groups = ["main"] +markers = "extra == \"socks\"" +files = [ + {file = "python_socks-2.7.1-py3-none-any.whl", hash = "sha256:2603c6454eeaeb82b464ad705be188989e8cf1a4a16f0af3c921d6dd71a49cec"}, + {file = "python_socks-2.7.1.tar.gz", hash = "sha256:f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550"}, +] + +[package.dependencies] +async-timeout = {version = ">=4.0", optional = true, markers = "python_version < \"3.11\" and extra == \"asyncio\""} + +[package.extras] +anyio = ["anyio (>=3.3.4,<5.0.0)"] +asyncio = ["async-timeout (>=4.0) ; python_version < \"3.11\""] +curio = ["curio (>=1.4)"] +trio = ["trio (>=0.24)"] + [[package]] name = "pyyaml" version = "6.0.2" @@ -2776,7 +2815,10 @@ idna = ">=2.0" multidict = ">=4.0" propcache = ">=0.2.1" +[extras] +socks = ["aiohttp-socks"] + [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "3a5ca427686cd80e749ac69aa795540a0e0b3bd0d539cd3a8a264e94eeb48782" +content-hash = "07754bc1fa6fc5e4b15c253a68cfe32368ae0a1bb9e83d8f7fd80ee61013c401" diff --git a/pyproject.toml b/pyproject.toml index 4216c44..3725da1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,9 @@ dependencies = [ "anyio (>=4.9.0,<5.0.0)" ] +[project.optional-dependencies] +socks = ["aiohttp-socks (>=0.10.1,<0.11.0)"] + [tool.poetry] packages = [{include = "pydase", from = "src"}]