Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-socks for
openSUSE:Factory checked in at 2026-04-10 17:50:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-socks (Old)
and /work/SRC/openSUSE:Factory/.python-python-socks.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-socks"
Fri Apr 10 17:50:49 2026 rev:13 rq:1345723 version:2.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-socks/python-python-socks.changes
2025-08-07 16:49:55.939114313 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-socks.new.21863/python-python-socks.changes
2026-04-10 17:57:11.404185126 +0200
@@ -1,0 +2,13 @@
+Fri Apr 10 01:59:02 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Remove unneeded BuildRequires on curio.
+
+-------------------------------------------------------------------
+Wed Apr 8 20:54:26 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.8.1:
+ * Fix socks5 reply reading by @rigens
+- update to 2.8.0:
+ * Add `ProxyException` base class
+
+-------------------------------------------------------------------
Old:
----
python-socks-2.7.2.tar.gz
New:
----
python-socks-2.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-socks.spec ++++++
--- /var/tmp/diff_new_pack.6O8ez7/_old 2026-04-10 17:57:11.888205127 +0200
+++ /var/tmp/diff_new_pack.6O8ez7/_new 2026-04-10 17:57:11.888205127 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-socks
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,14 +26,14 @@
%endif
%{?sle15_python_module_pythons}
Name: python-python-socks%{psuffix}
-Version: 2.7.2
+Version: 2.8.1
Release: 0
Summary: Core proxy client functionality for Python
License: Apache-2.0
URL: https://github.com/romis2012/python-socks
# gh#romis2012/python-socks#30
Source:
https://github.com/romis2012/python-socks/archive/refs/tags/v%{version}.tar.gz#/python-socks-%{version}.tar.gz
-BuildRequires: %{python_module anyio}
+BuildRequires: %{python_module anyio >= 3.3.4}
BuildRequires: %{python_module async-timeout}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -52,7 +52,7 @@
BuildRequires: %{python_module pytest-trio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tiny-proxy}
-BuildRequires: %{python_module trio}
+BuildRequires: %{python_module trio >= 0.24}
BuildRequires: %{python_module trustme}
BuildRequires: %{python_module yarl}
%endif
++++++ python-socks-2.7.2.tar.gz -> python-socks-2.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/.github/workflows/ci.yml
new/python-socks-2.8.1/.github/workflows/ci.yml
--- old/python-socks-2.7.2/.github/workflows/ci.yml 2025-08-01
08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/.github/workflows/ci.yml 2026-02-16
06:14:57.000000000 +0100
@@ -12,7 +12,7 @@
runs-on: "${{ matrix.os }}"
strategy:
matrix:
- python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest]
steps:
- name: Checkout
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/README.md
new/python-socks-2.8.1/README.md
--- old/python-socks-2.7.2/README.md 2025-08-01 08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/README.md 2026-02-16 06:14:57.000000000 +0100
@@ -3,6 +3,7 @@
[](https://github.com/romis2012/python-socks/actions/workflows/ci.yml)
[](https://codecov.io/gh/romis2012/python-socks)
[](https://pypi.python.org/pypi/python-socks)
+[](https://github.com/romis2012/python-socks)
<!--
[](https://pepy.tech/project/python-socks)
-->
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/pyproject.toml
new/python-socks-2.8.1/pyproject.toml
--- old/python-socks-2.7.2/pyproject.toml 2025-08-01 08:37:53.000000000
+0200
+++ new/python-socks-2.8.1/pyproject.toml 2026-02-16 06:14:57.000000000
+0100
@@ -32,6 +32,7 @@
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
+ "Programming Language :: Python :: 3.14",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: POSIX :: Linux",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-socks-2.7.2/python_socks/_connectors/socks5_async.py
new/python-socks-2.8.1/python_socks/_connectors/socks5_async.py
--- old/python-socks-2.7.2/python_socks/_connectors/socks5_async.py
2025-08-01 08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/python_socks/_connectors/socks5_async.py
2026-02-16 06:14:57.000000000 +0100
@@ -72,7 +72,7 @@
# noinspection PyMethodMayBeStatic
async def _read_reply(self, stream: AsyncSocketStream) -> bytes:
- data = await stream.read_exact(4)
+ data = await stream.read_exact(3)
if data[0] != socks5.SOCKS_VER:
return data
if data[1] != socks5.ReplyCode.SUCCEEDED:
@@ -80,6 +80,7 @@
if data[2] != socks5.RSV:
return data
+ data += await stream.read_exact(1)
addr_type = data[3]
if addr_type == socks5.AddressType.IPV4:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-socks-2.7.2/python_socks/_connectors/socks5_sync.py
new/python-socks-2.8.1/python_socks/_connectors/socks5_sync.py
--- old/python-socks-2.7.2/python_socks/_connectors/socks5_sync.py
2025-08-01 08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/python_socks/_connectors/socks5_sync.py
2026-02-16 06:14:57.000000000 +0100
@@ -63,7 +63,7 @@
# noinspection PyMethodMayBeStatic
def _read_reply(self, stream: SyncSocketStream) -> bytes:
- data = stream.read_exact(4)
+ data = stream.read_exact(3)
if data[0] != socks5.SOCKS_VER:
return data
if data[1] != socks5.ReplyCode.SUCCEEDED:
@@ -71,6 +71,7 @@
if data[2] != socks5.RSV:
return data
+ data += stream.read_exact(1)
addr_type = data[3]
if addr_type == socks5.AddressType.IPV4:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/python_socks/_errors.py
new/python-socks-2.8.1/python_socks/_errors.py
--- old/python-socks-2.7.2/python_socks/_errors.py 2025-08-01
08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/python_socks/_errors.py 2026-02-16
06:14:57.000000000 +0100
@@ -1,12 +1,16 @@
-class ProxyError(Exception):
- def __init__(self, message, error_code=None):
- super().__init__(message)
- self.error_code = error_code
+class ProxyException(Exception):
+ pass
-class ProxyTimeoutError(TimeoutError):
+class ProxyTimeoutError(ProxyException, TimeoutError):
pass
-class ProxyConnectionError(OSError):
+class ProxyConnectionError(ProxyException, OSError):
pass
+
+
+class ProxyError(ProxyException):
+ def __init__(self, message, error_code=None):
+ super().__init__(message)
+ self.error_code = error_code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/python_socks/_version.py
new/python-socks-2.8.1/python_socks/_version.py
--- old/python-socks-2.7.2/python_socks/_version.py 2025-08-01
08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/python_socks/_version.py 2026-02-16
06:14:57.000000000 +0100
@@ -1,2 +1,2 @@
__title__ = 'python-socks'
-__version__ = '2.7.2'
+__version__ = '2.8.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/python_socks/sync/_stream.py
new/python-socks-2.8.1/python_socks/sync/_stream.py
--- old/python-socks-2.7.2/python_socks/sync/_stream.py 2025-08-01
08:37:53.000000000 +0200
+++ new/python-socks-2.8.1/python_socks/sync/_stream.py 2026-02-16
06:14:57.000000000 +0100
@@ -7,7 +7,7 @@
class SyncSocketStream(abc.SyncSocketStream):
- _socket: socket.socket = None
+ _socket: socket.socket
def __init__(self, sock: socket.socket):
self._socket = sock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-socks-2.7.2/requirements-dev.txt
new/python-socks-2.8.1/requirements-dev.txt
--- old/python-socks-2.7.2/requirements-dev.txt 2025-08-01 08:37:53.000000000
+0200
+++ new/python-socks-2.8.1/requirements-dev.txt 2026-02-16 06:14:57.000000000
+0100
@@ -1,14 +1,14 @@
flake8>=3.9.1
-pytest==8.0.2
-pytest-cov==4.1.0
-pytest-asyncio==0.23.5
+pytest>=8.3.4
+pytest-cov>=5.0.0
+pytest-asyncio>=0.24.0
+trustme>=0.9.0
trio>=0.24.0
-pytest-trio==0.8.0
-trustme==0.9.0
+pytest-trio>=0.8.0
attrs>=22.1.0
curio>=1.4; python_version < "3.12" #
https://github.com/dabeaz/curio/issues/367
anyio>=3.3.4,<5.0.0
yarl>=1.4.2
-async-timeout==4.0.0; python_version < "3.11"
+async-timeout>=4.0.0; python_version < "3.11"
flask>=1.1.2
tiny-proxy>=0.1.1