From 18d0f6ee9fba34122465e865f419b319aa4ec288e5a0b96599d31fe4a22c9f9b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Jan 2026 08:36:48 +0000 Subject: [PATCH] - update to 0.11.0: * Fixed https://github.com/romis2012/aiohttp-socks/issues/52 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp-socks?expand=0&rev=32 --- .gitattributes | 23 +++++++ .gitignore | 1 + aiohttp_socks-0.10.1.tar.gz | 3 + aiohttp_socks-0.11.0.tar.gz | 3 + python-aiohttp-socks.changes | 125 +++++++++++++++++++++++++++++++++++ python-aiohttp-socks.spec | 72 ++++++++++++++++++++ 6 files changed, 227 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 aiohttp_socks-0.10.1.tar.gz create mode 100644 aiohttp_socks-0.11.0.tar.gz create mode 100644 python-aiohttp-socks.changes create mode 100644 python-aiohttp-socks.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/aiohttp_socks-0.10.1.tar.gz b/aiohttp_socks-0.10.1.tar.gz new file mode 100644 index 0000000..0b7e4d0 --- /dev/null +++ b/aiohttp_socks-0.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49f2e1f8051f2885719beb1b77e312b5a27c3e4b60f0b045a388f194d995e068 +size 10445 diff --git a/aiohttp_socks-0.11.0.tar.gz b/aiohttp_socks-0.11.0.tar.gz new file mode 100644 index 0000000..c104349 --- /dev/null +++ b/aiohttp_socks-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0afe51638527c79077e4bd6e57052c87c4824233d6e20bb061c53766421b10f0 +size 11196 diff --git a/python-aiohttp-socks.changes b/python-aiohttp-socks.changes new file mode 100644 index 0000000..16affe1 --- /dev/null +++ b/python-aiohttp-socks.changes @@ -0,0 +1,125 @@ +------------------------------------------------------------------- +Thu Jan 22 08:36:42 UTC 2026 - Dirk Müller + +- update to 0.11.0: + * Fixed https://github.com/romis2012/aiohttp-socks/issues/52 + +------------------------------------------------------------------- +Fri Dec 27 07:02:43 UTC 2024 - Jiri Slaby + +- Update to 0.10.1 + * fix ProxyConnector port type hint: str -> int + * Update README.md + * Refactoring + * Make host and port arguments required + * Fix compatibility with Python 3.8 + * minimal typing changes + +------------------------------------------------------------------- +Mon Nov 25 08:32:57 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.9.1 + * Update Github CI configuration + * Update README.md + * Update .gitignore + * Move project metadata to pyproject.toml + * Update pyproject.toml, bump version + +------------------------------------------------------------------- +Wed Aug 21 13:18:11 UTC 2024 - Frantisek Simorda + +- Update to 0.9.0: + * Fix compatibility with aiohttp v3.10 + * Update requirements-dev.txt + +------------------------------------------------------------------- +Fri Dec 29 18:52:05 UTC 2023 - ecsos + +- Add missing buildrequire to fix Leap build error. + +------------------------------------------------------------------- +Fri Nov 10 13:35:29 UTC 2023 - Dirk Müller + +- update to 0.8.4: + * Reimplement proxy chains + * Implement another solution to fix issue #27 + +------------------------------------------------------------------- +Mon Sep 18 10:18:43 UTC 2023 - Jiri Slaby + +- update to 0.8.3: + * fixes for https://github.com/romis2012/aiohttp-socks/issues/27 + +------------------------------------------------------------------- +Wed Jul 5 07:14:50 UTC 2023 - Matej Cepl + +- Clean up SPEC file. + +------------------------------------------------------------------- +Tue Jul 4 11:31:01 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Thu Feb 23 14:34:21 UTC 2023 - Dirk Müller + +- update to 0.8.0: + * Added `proxy_ssl` parameter + +------------------------------------------------------------------- +Sat Jan 15 17:22:13 UTC 2022 - Dirk Müller + +- update to 0.7.1: + Pin python-socks dependency to the >=2.0.0 + Upgrade python-socks to 2.0.0 + +------------------------------------------------------------------- +Wed Apr 21 05:47:04 UTC 2021 - Jiri Slaby + +- Update to 0.6.0: + * Use a custom proxy server and local http server for tests + * Use python-socks extended API +- Add a simple import test at least + +------------------------------------------------------------------- +Tue Feb 23 03:56:05 UTC 2021 - Steve Kowalik + +- Update to 0.5.5: + * Fix asyncio DeprecationWarning: The loop argument is deprecated + * Make deprecated API (SocksConnector etc) available again + * Misc fixes, remove deprecated API (SocksConnector etc) + * Fix cancellation handling + * Improve timeouts handling + * First use ipv4 when resolving hostnames + * Change the default value of the family parameter to AF_UNSPEC + * Make it compatible with aiohttp 2.x again + +------------------------------------------------------------------- +Thu Jan 16 16:21:13 UTC 2020 - Marketa Calabkova + +- update to 0.3.4 + * Resolve proxy host explicitly + * Add Proxy chaining support + * Fix StreamSocketReadWriteMixin.read_all + * Add HTTP proxy support + +------------------------------------------------------------------- +Mon Feb 25 11:09:50 UTC 2019 - Tomáš Chvátal + +- Use pypi archive instead of github one, no difference for us + +------------------------------------------------------------------- +Tue Feb 12 15:00:30 UTC 2019 - Tomáš Chvátal + +- Disable the tests as they do not work without direct network + access + +------------------------------------------------------------------- +Mon Feb 11 11:25:03 UTC 2019 - Jiri Slaby + +- clean up spec file + +------------------------------------------------------------------- +Wed Feb 6 12:59:49 UTC 2019 - Jiri Slaby + +- initial package diff --git a/python-aiohttp-socks.spec b/python-aiohttp-socks.spec new file mode 100644 index 0000000..cd09caa --- /dev/null +++ b/python-aiohttp-socks.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-aiohttp-socks +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-aiohttp-socks +Version: 0.11.0 +Release: 0 +Summary: SOCKS proxy connector for aiohttp +License: Apache-2.0 +URL: https://github.com/romis2012/aiohttp-socks +Source: https://files.pythonhosted.org/packages/source/a/aiohttp_socks/aiohttp_socks-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-aiohttp >= 2.3.2 +Requires: python-attrs >= 19.2.0 +Requires: python-python-socks >= 2.0.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module aiohttp >= 2.3.2} +BuildRequires: %{python_module async_timeout} +BuildRequires: %{python_module attrs >= 1.0.1} +BuildRequires: %{python_module python-socks >= 2.0.0} +# /SECTION +%python_subpackages + +%description +SOCKS proxy connector for aiohttp + +%prep +%autosetup -p1 -n aiohttp_socks-%{version} +dos2unix README.md + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# tests need access to the internet +#%%pytest + +# so try at least a simple import +%python_exec -c 'from aiohttp_socks import ProxyConnector' + +%files %{python_files} +%doc README.md +%license LICENSE.txt +%{python_sitelib}/aiohttp_socks +%{python_sitelib}/aiohttp_socks-%{version}*-info + +%changelog