Skip to content

Commit

Permalink
Upgrade python-socks to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romis2012 committed Nov 23, 2021
1 parent 564fc77 commit 6936737
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aiohttp_socks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'aiohttp-socks'
__version__ = '0.6.1'
__version__ = '0.7.0'

from python_socks import (
ProxyError,
Expand Down
4 changes: 2 additions & 2 deletions aiohttp_socks/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from aiohttp.abc import AbstractResolver

from python_socks import ProxyType, parse_proxy_url
from python_socks.async_.asyncio.ext import Proxy
from python_socks.async_.asyncio.ext import ProxyChain
from python_socks.async_.asyncio.v2 import Proxy
from python_socks.async_.asyncio.v2 import ProxyChain


class NoResolver(AbstractResolver):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
install_requires=[
'aiohttp>=2.3.2',
'attrs>=19.2.0',
'python-socks[asyncio]>=1.2.4,<2.0.0',
'python-socks[asyncio]>=2.0.0',
],
)
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest # noqa

# noinspection PyProtectedMember
from python_socks._resolver_async_aio import Resolver as AsyncioResolver
from python_socks.async_.asyncio._resolver import Resolver as AsyncioResolver
from tests.config import (
PROXY_HOST_IPV4, PROXY_HOST_IPV6,
SOCKS5_PROXY_PORT, LOGIN, PASSWORD, SKIP_IPV6_TESTS,
Expand Down

0 comments on commit 6936737

Please sign in to comment.