Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-aiohttp-socks for openSUSE:Factory checked in at 2022-01-28 22:12:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiohttp-socks (Old) and /work/SRC/openSUSE:Factory/.python-aiohttp-socks.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp-socks" Fri Jan 28 22:12:28 2022 rev:5 rq:949572 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiohttp-socks/python-aiohttp-socks.changes 2021-04-23 17:50:51.554818272 +0200 +++ /work/SRC/openSUSE:Factory/.python-aiohttp-socks.new.1898/python-aiohttp-socks.changes 2022-01-28 22:12:38.702845225 +0100 @@ -1,0 +2,7 @@ +Sat Jan 15 17:22:13 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 0.7.1: + Pin python-socks dependency to the >=2.0.0 + Upgrade python-socks to 2.0.0 + +------------------------------------------------------------------- Old: ---- aiohttp_socks-0.6.0.tar.gz New: ---- aiohttp_socks-0.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiohttp-socks.spec ++++++ --- /var/tmp/diff_new_pack.2zHd5T/_old 2022-01-28 22:12:39.082842624 +0100 +++ /var/tmp/diff_new_pack.2zHd5T/_new 2022-01-28 22:12:39.090842570 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-aiohttp-socks # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-aiohttp-socks -Version: 0.6.0 +Version: 0.7.1 Release: 0 Summary: SOCKS proxy connector for aiohttp License: Apache-2.0 @@ -31,13 +31,13 @@ BuildRequires: python-rpm-macros Requires: python-aiohttp >= 2.3.2 Requires: python-attrs >= 19.2.0 -Requires: python-python-socks >= 1.0.1 +Requires: python-python-socks >= 2.0.0 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module aiohttp >= 2.3.2} BuildRequires: %{python_module attrs >= 1.0.1} #BuildRequires: %%{python_module pytest-asyncio} -BuildRequires: %{python_module python-socks >= 1.0.1} +BuildRequires: %{python_module python-socks >= 2.0.0} #BuildRequires: %%{python_module pytest} #BuildRequires: 3proxy # /SECTION ++++++ aiohttp_socks-0.6.0.tar.gz -> aiohttp_socks-0.7.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp_socks-0.6.0/PKG-INFO new/aiohttp_socks-0.7.1/PKG-INFO --- old/aiohttp_socks-0.6.0/PKG-INFO 2021-03-01 11:50:56.000000000 +0100 +++ new/aiohttp_socks-0.7.1/PKG-INFO 2021-11-23 16:30:47.000000000 +0100 @@ -1,91 +1,94 @@ Metadata-Version: 2.1 Name: aiohttp_socks -Version: 0.6.0 +Version: 0.7.1 Summary: Proxy connector for aiohttp Home-page: https://github.com/romis2012/aiohttp-socks Author: Roman Snegirev Author-email: snegir...@gmail.com License: Apache 2 -Description: ## aiohttp-socks - - [](https://travis-ci.com/github/romis2012/aiohttp-socks) - [](https://coveralls.io/github/romis2012/aiohttp-socks?branch=master) - [](https://badge.fury.io/py/aiohttp-socks) - [](https://pepy.tech/project/aiohttp-socks) - - The `aiohttp-socks` package provides a proxy connector for [aiohttp](https://github.com/aio-libs/aiohttp). - Supports SOCKS4(a), SOCKS5, HTTP (tunneling) as well as Proxy chains. - It uses [python-socks](https://github.com/romis2012/python-socks) for core proxy functionality. - - - ## Requirements - - Python >= 3.6 - - aiohttp >= 2.3.2 - - python-socks[asyncio] >= 1.0.1 - - ## Installation - ``` - pip install aiohttp_socks - ``` - - ## Usage - - #### aiohttp usage: - ```python - import aiohttp - from aiohttp_socks import ProxyType, ProxyConnector, ChainProxyConnector - - - async def fetch(url): - connector = ProxyConnector.from_url('socks5://user:password@127.0.0.1:1080') - - ### or use ProxyConnector constructor - # connector = ProxyConnector( - # proxy_type=ProxyType.SOCKS5, - # host='127.0.0.1', - # port=1080, - # username='user', - # password='password', - # rdns=True - # ) - - ### proxy chaining (since ver 0.3.3) - # connector = ChainProxyConnector.from_urls([ - # 'socks5://user:password@127.0.0.1:1080', - # 'socks4://127.0.0.1:1081', - # 'http://user:password@127.0.0.1:3128', - # ]) - async with aiohttp.ClientSession(connector=connector) as session: - async with session.get(url) as response: - return await response.text() - ``` - - #### aiohttp-socks also provides `open_connection` and `create_connection` functions: - - ```python - from aiohttp_socks import open_connection - - async def fetch(): - reader, writer = await open_connection( - proxy_url='socks5://user:password@127.0.0.1:1080', - host='check-host.net', - port=80 - ) - request = (b"GET /ip HTTP/1.1\r\n" - b"Host: check-host.net\r\n" - b"Connection: close\r\n\r\n") - - writer.write(request) - return await reader.read(-1) - ``` - - ## Why yet another SOCKS connector for aiohttp - - Unlike [aiosocksy](https://github.com/romis2012/aiosocksy), aiohttp_socks has only single point of integration with aiohttp. - This makes it easier to maintain compatibility with new aiohttp versions. - - - Keywords: asyncio aiohttp socks socks5 socks4 http proxy Platform: UNKNOWN Description-Content-Type: text/markdown +License-File: LICENSE.txt + +## aiohttp-socks + +[](https://travis-ci.com/github/romis2012/aiohttp-socks) +[](https://coveralls.io/github/romis2012/aiohttp-socks?branch=master) +[](https://badge.fury.io/py/aiohttp-socks) +[](https://pepy.tech/project/aiohttp-socks) + +The `aiohttp-socks` package provides a proxy connector for [aiohttp](https://github.com/aio-libs/aiohttp). +Supports SOCKS4(a), SOCKS5, HTTP (tunneling) as well as Proxy chains. +It uses [python-socks](https://github.com/romis2012/python-socks) for core proxy functionality. + + +## Requirements +- Python >= 3.6 +- aiohttp >= 2.3.2 +- python-socks[asyncio] >= 1.0.1 + +## Installation +``` +pip install aiohttp_socks +``` + +## Usage + +#### aiohttp usage: +```python +import aiohttp +from aiohttp_socks import ProxyType, ProxyConnector, ChainProxyConnector + + +async def fetch(url): + connector = ProxyConnector.from_url('socks5://user:password@127.0.0.1:1080') + + ### or use ProxyConnector constructor + # connector = ProxyConnector( + # proxy_type=ProxyType.SOCKS5, + # host='127.0.0.1', + # port=1080, + # username='user', + # password='password', + # rdns=True + # ) + + ### proxy chaining (since ver 0.3.3) + # connector = ChainProxyConnector.from_urls([ + # 'socks5://user:password@127.0.0.1:1080', + # 'socks4://127.0.0.1:1081', + # 'http://user:password@127.0.0.1:3128', + # ]) + async with aiohttp.ClientSession(connector=connector) as session: + async with session.get(url) as response: + return await response.text() +``` + +#### aiohttp-socks also provides `open_connection` and `create_connection` functions: + +```python +from aiohttp_socks import open_connection + +async def fetch(): + reader, writer = await open_connection( + proxy_url='socks5://user:password@127.0.0.1:1080', + host='check-host.net', + port=80 + ) + request = (b"GET /ip HTTP/1.1\r\n" + b"Host: check-host.net\r\n" + b"Connection: close\r\n\r\n") + + writer.write(request) + return await reader.read(-1) +``` + +## Why yet another SOCKS connector for aiohttp + +Unlike [aiosocksy](https://github.com/romis2012/aiosocksy), aiohttp_socks has only single point of integration with aiohttp. +This makes it easier to maintain compatibility with new aiohttp versions. + + + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp_socks-0.6.0/aiohttp_socks/__init__.py new/aiohttp_socks-0.7.1/aiohttp_socks/__init__.py --- old/aiohttp_socks-0.6.0/aiohttp_socks/__init__.py 2021-03-01 11:33:15.000000000 +0100 +++ new/aiohttp_socks-0.7.1/aiohttp_socks/__init__.py 2021-11-23 16:22:33.000000000 +0100 @@ -1,5 +1,5 @@ __title__ = 'aiohttp-socks' -__version__ = '0.6.0' +__version__ = '0.7.1' from python_socks import ( ProxyError, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp_socks-0.6.0/aiohttp_socks/connector.py new/aiohttp_socks-0.7.1/aiohttp_socks/connector.py --- old/aiohttp_socks-0.6.0/aiohttp_socks/connector.py 2021-03-01 11:24:35.000000000 +0100 +++ new/aiohttp_socks-0.7.1/aiohttp_socks/connector.py 2021-11-23 13:36:14.000000000 +0100 @@ -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): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp_socks-0.6.0/aiohttp_socks.egg-info/PKG-INFO new/aiohttp_socks-0.7.1/aiohttp_socks.egg-info/PKG-INFO --- old/aiohttp_socks-0.6.0/aiohttp_socks.egg-info/PKG-INFO 2021-03-01 11:50:56.000000000 +0100 +++ new/aiohttp_socks-0.7.1/aiohttp_socks.egg-info/PKG-INFO 2021-11-23 16:30:46.000000000 +0100 @@ -1,91 +1,94 @@ Metadata-Version: 2.1 Name: aiohttp-socks -Version: 0.6.0 +Version: 0.7.1 Summary: Proxy connector for aiohttp Home-page: https://github.com/romis2012/aiohttp-socks Author: Roman Snegirev Author-email: snegir...@gmail.com License: Apache 2 -Description: ## aiohttp-socks - - [](https://travis-ci.com/github/romis2012/aiohttp-socks) - [](https://coveralls.io/github/romis2012/aiohttp-socks?branch=master) - [](https://badge.fury.io/py/aiohttp-socks) - [](https://pepy.tech/project/aiohttp-socks) - - The `aiohttp-socks` package provides a proxy connector for [aiohttp](https://github.com/aio-libs/aiohttp). - Supports SOCKS4(a), SOCKS5, HTTP (tunneling) as well as Proxy chains. - It uses [python-socks](https://github.com/romis2012/python-socks) for core proxy functionality. - - - ## Requirements - - Python >= 3.6 - - aiohttp >= 2.3.2 - - python-socks[asyncio] >= 1.0.1 - - ## Installation - ``` - pip install aiohttp_socks - ``` - - ## Usage - - #### aiohttp usage: - ```python - import aiohttp - from aiohttp_socks import ProxyType, ProxyConnector, ChainProxyConnector - - - async def fetch(url): - connector = ProxyConnector.from_url('socks5://user:password@127.0.0.1:1080') - - ### or use ProxyConnector constructor - # connector = ProxyConnector( - # proxy_type=ProxyType.SOCKS5, - # host='127.0.0.1', - # port=1080, - # username='user', - # password='password', - # rdns=True - # ) - - ### proxy chaining (since ver 0.3.3) - # connector = ChainProxyConnector.from_urls([ - # 'socks5://user:password@127.0.0.1:1080', - # 'socks4://127.0.0.1:1081', - # 'http://user:password@127.0.0.1:3128', - # ]) - async with aiohttp.ClientSession(connector=connector) as session: - async with session.get(url) as response: - return await response.text() - ``` - - #### aiohttp-socks also provides `open_connection` and `create_connection` functions: - - ```python - from aiohttp_socks import open_connection - - async def fetch(): - reader, writer = await open_connection( - proxy_url='socks5://user:password@127.0.0.1:1080', - host='check-host.net', - port=80 - ) - request = (b"GET /ip HTTP/1.1\r\n" - b"Host: check-host.net\r\n" - b"Connection: close\r\n\r\n") - - writer.write(request) - return await reader.read(-1) - ``` - - ## Why yet another SOCKS connector for aiohttp - - Unlike [aiosocksy](https://github.com/romis2012/aiosocksy), aiohttp_socks has only single point of integration with aiohttp. - This makes it easier to maintain compatibility with new aiohttp versions. - - - Keywords: asyncio aiohttp socks socks5 socks4 http proxy Platform: UNKNOWN Description-Content-Type: text/markdown +License-File: LICENSE.txt + +## aiohttp-socks + +[](https://travis-ci.com/github/romis2012/aiohttp-socks) +[](https://coveralls.io/github/romis2012/aiohttp-socks?branch=master) +[](https://badge.fury.io/py/aiohttp-socks) +[](https://pepy.tech/project/aiohttp-socks) + +The `aiohttp-socks` package provides a proxy connector for [aiohttp](https://github.com/aio-libs/aiohttp). +Supports SOCKS4(a), SOCKS5, HTTP (tunneling) as well as Proxy chains. +It uses [python-socks](https://github.com/romis2012/python-socks) for core proxy functionality. + + +## Requirements +- Python >= 3.6 +- aiohttp >= 2.3.2 +- python-socks[asyncio] >= 1.0.1 + +## Installation +``` +pip install aiohttp_socks +``` + +## Usage + +#### aiohttp usage: +```python +import aiohttp +from aiohttp_socks import ProxyType, ProxyConnector, ChainProxyConnector + + +async def fetch(url): + connector = ProxyConnector.from_url('socks5://user:password@127.0.0.1:1080') + + ### or use ProxyConnector constructor + # connector = ProxyConnector( + # proxy_type=ProxyType.SOCKS5, + # host='127.0.0.1', + # port=1080, + # username='user', + # password='password', + # rdns=True + # ) + + ### proxy chaining (since ver 0.3.3) + # connector = ChainProxyConnector.from_urls([ + # 'socks5://user:password@127.0.0.1:1080', + # 'socks4://127.0.0.1:1081', + # 'http://user:password@127.0.0.1:3128', + # ]) + async with aiohttp.ClientSession(connector=connector) as session: + async with session.get(url) as response: + return await response.text() +``` + +#### aiohttp-socks also provides `open_connection` and `create_connection` functions: + +```python +from aiohttp_socks import open_connection + +async def fetch(): + reader, writer = await open_connection( + proxy_url='socks5://user:password@127.0.0.1:1080', + host='check-host.net', + port=80 + ) + request = (b"GET /ip HTTP/1.1\r\n" + b"Host: check-host.net\r\n" + b"Connection: close\r\n\r\n") + + writer.write(request) + return await reader.read(-1) +``` + +## Why yet another SOCKS connector for aiohttp + +Unlike [aiosocksy](https://github.com/romis2012/aiosocksy), aiohttp_socks has only single point of integration with aiohttp. +This makes it easier to maintain compatibility with new aiohttp versions. + + + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp_socks-0.6.0/aiohttp_socks.egg-info/requires.txt new/aiohttp_socks-0.7.1/aiohttp_socks.egg-info/requires.txt --- old/aiohttp_socks-0.6.0/aiohttp_socks.egg-info/requires.txt 2021-03-01 11:50:56.000000000 +0100 +++ new/aiohttp_socks-0.7.1/aiohttp_socks.egg-info/requires.txt 2021-11-23 16:30:46.000000000 +0100 @@ -1,3 +1,3 @@ aiohttp>=2.3.2 attrs>=19.2.0 -python-socks[asyncio]>=1.2.2 +python-socks[asyncio]<3.0.0,>=2.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp_socks-0.6.0/setup.py new/aiohttp_socks-0.7.1/setup.py --- old/aiohttp_socks-0.6.0/setup.py 2021-03-01 11:16:34.000000000 +0100 +++ new/aiohttp_socks-0.7.1/setup.py 2021-11-23 16:23:42.000000000 +0100 @@ -40,6 +40,6 @@ install_requires=[ 'aiohttp>=2.3.2', 'attrs>=19.2.0', - 'python-socks[asyncio]>=1.2.2', + 'python-socks[asyncio]>=2.0.0,<3.0.0', ], )