Github messages for voidlinux
 help / color / mirror / Atom feed
From: ar-jan <ar-jan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-aiohttp_socks: update to 0.8.4 and add required dependencies
Date: Wed, 15 Nov 2023 22:32:17 +0100	[thread overview]
Message-ID: <20231115213217.Ze4RRKFGfHes3NCdj2bw8osopKeR476MHZDiQPWY6Fk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46383@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

There is an updated pull request by ar-jan against master on the void-packages repository

https://github.com/ar-jan/void-packages aiohttp-socks083
https://github.com/void-linux/void-packages/pull/46383

python3-aiohttp_socks: update to 0.8.4 and add required dependencies
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

I accidentally had to add and update multiple packages in order to update python3-aiohttp_socks (I've now removed packages added only for satisfying tests):

- ~~New package: python3-tiny-proxy-0.2.0: needed for python3-aiohttp_socks tests~~
- ~~New package: python3-httpx-socks-0.7.8: needed for python3-tiny-proxy tests~~
- New package: python3-aiosignal-1.3.1: needed for python3-tiny-proxy tests, and python3-aiohttp v3.8
- New package: python3-frozenlist-1.4.0: needed for python3-aiosignal
- ~~New package: python3-proxy.py-2.4.3: needed for python3-aiohttp tests~~
- ~~New package: python3-re_assert-1.1.0: needed for python3-aiohttp tests~~
- python3-aiohttp: update to 3.9.0b1: needed for passing python3-aiohttp_socks tests; prerelease needed for Python 3.12 compatibility
- python3-async-timeout: update to 4.0.3: needed for python3-aiohttp v3.8

@the-maldridge would you care to take a look at this since you maintain python3-aiohttp and python3-async-timeout?

A patch file from https://github.com/void-linux/void-packages/pull/46383.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-aiohttp-socks083-46383.patch --]
[-- Type: text/x-diff, Size: 8536 bytes --]

From 6a43f6aba75ef6abff0fb05c19f068a33dc2a4aa Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Mon, 2 Oct 2023 13:36:47 +0200
Subject: [PATCH 1/5] New package: python3-frozenlist-1.4.0

---
 srcpkgs/python3-frozenlist/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-frozenlist/template

diff --git a/srcpkgs/python3-frozenlist/template b/srcpkgs/python3-frozenlist/template
new file mode 100644
index 0000000000000..8c7983a4e0180
--- /dev/null
+++ b/srcpkgs/python3-frozenlist/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-frozenlist'
+pkgname=python3-frozenlist
+version=1.4.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio python3-pytest-cov"
+short_desc="List-like structure which implements collections.abc.MutableSequence"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/frozenlist"
+distfiles="${PYPI_SITE}/f/frozenlist/frozenlist-${version}.tar.gz"
+checksum=09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251

From d39faa922ef407e39a6361ee2c7a65ccb61e62cf Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Mon, 2 Oct 2023 13:38:07 +0200
Subject: [PATCH 2/5] New package: python3-aiosignal-1.3.1

---
 srcpkgs/python3-aiosignal/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-aiosignal/template

diff --git a/srcpkgs/python3-aiosignal/template b/srcpkgs/python3-aiosignal/template
new file mode 100644
index 0000000000000..25a34eeed8cb7
--- /dev/null
+++ b/srcpkgs/python3-aiosignal/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-aiosignal'
+pkgname=python3-aiosignal
+version=1.3.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-frozenlist"
+checkdepends="python3-pytest python3-pytest-asyncio python3-pytest-cov
+ python3-frozenlist"
+short_desc="List of registered asynchronous callbacks"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/aiosignal"
+distfiles="${PYPI_SITE}/a/aiosignal/aiosignal-${version}.tar.gz"
+checksum=54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc

From fd999d276e6a9d21c16c90ae7d819f6523911ad5 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Mon, 2 Oct 2023 12:22:43 +0200
Subject: [PATCH 3/5] python3-async-timeout: update to 4.0.3.

---
 srcpkgs/python3-async-timeout/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-async-timeout/template b/srcpkgs/python3-async-timeout/template
index 9ac63119dade0..717438a506364 100644
--- a/srcpkgs/python3-async-timeout/template
+++ b/srcpkgs/python3-async-timeout/template
@@ -1,9 +1,8 @@
 # Template file for 'python3-async-timeout'
 pkgname=python3-async-timeout
-version=3.0.1
-revision=6
+version=4.0.3
+revision=1
 build_style=python3-module
-pycompile_module="async_timeout"
 hostmakedepends="python3-setuptools"
 depends="python3"
 checkdepends="python3-pytest-asyncio"
@@ -13,7 +12,7 @@ license="Apache-2.0"
 #changelog="https://raw.githubusercontent.com/aio-libs/async-timeout/master/CHANGES.rst"
 homepage="https://github.com/aio-libs/async-timeout"
 distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz"
-checksum=d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949
+checksum=c63f1252d5fa878fdceb7a6894f1df6a73f92546e52a0b7999a5de429fd64ff8
 
 do_check() {
 	# don't enable coverage

From 03155cd0cae70010350fd1d25eedb118b9b81d31 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Mon, 2 Oct 2023 12:45:04 +0200
Subject: [PATCH 4/5] python3-aiohttp: update to 3.9.0rc0

Version 3.9.0 is required for Python 3.12
Requires python3-async-timeout>=4
Depends on python3-aiosignal
Disable tests; now depends on proxy.py and re_assert
---
 .../patches/chardet-version.patch             | 30 -------------------
 srcpkgs/python3-aiohttp/template              | 14 ++++-----
 2 files changed, 7 insertions(+), 37 deletions(-)
 delete mode 100644 srcpkgs/python3-aiohttp/patches/chardet-version.patch

diff --git a/srcpkgs/python3-aiohttp/patches/chardet-version.patch b/srcpkgs/python3-aiohttp/patches/chardet-version.patch
deleted file mode 100644
index 91cc8ca7efb18..0000000000000
--- a/srcpkgs/python3-aiohttp/patches/chardet-version.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b0ed732d0a637e43c72bb1a777d02776cde37376 Mon Sep 17 00:00:00 2001
-From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
-Date: Fri, 11 Dec 2020 10:24:17 +0200
-Subject: [PATCH] Bump chardet from 3.0.4 to 4.0.0 (#5333)
-
-Bumps [chardet](https://github.com/chardet/chardet) from 3.0.4 to 4.0.0.
-- [Release notes](https://github.com/chardet/chardet/releases)
-- [Commits](https://github.com/chardet/chardet/compare/3.0.4...4.0.0)
-
-Signed-off-by: dependabot[bot] <support@github.com>
-
-Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
----
- requirements/base.txt | 2 +-
- setup.py              | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git setup.py setup.py
-index a9edd5d0c8..54b548c7b4 100644
---- a/setup.py
-+++ b/setup.py
-@@ -66,7 +66,7 @@
- 
- install_requires = [
-     "attrs>=17.3.0",
--    "chardet>=2.0,<4.0",
-+    "chardet>=2.0,<5.0",
-     "multidict>=4.5,<7.0",
-     "async_timeout>=4.0a2,<5.0",
-     'asynctest==0.13.0; python_version<"3.8"',
diff --git a/srcpkgs/python3-aiohttp/template b/srcpkgs/python3-aiohttp/template
index bd88c59be31dd..2cd42da775539 100644
--- a/srcpkgs/python3-aiohttp/template
+++ b/srcpkgs/python3-aiohttp/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-aiohttp'
 pkgname=python3-aiohttp
-version=3.7.4
-revision=5
+version=3.9.0rc0
+revision=1
 build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools python3-wheel"
 makedepends="python3-devel http-parser-devel"
-depends="python3-async-timeout python3-attrs python3-chardet python3-yarl
- python3-typing_extensions python3-multidict"
+depends="python3-aiosignal python3-async-timeout python3-attrs
+ python3-chardet python3-yarl python3-typing_extensions python3-multidict"
 short_desc="HTTP client/server for asyncio (PEP-3156)"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://aiohttp.readthedocs.io/"
 distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz"
-checksum=5d84ecc73141d0a0d61ece0742bb7ff5751b0657dab8405f899d3ceb104cc7de
+checksum=486e5d48681d9cd016ba911815f9b91cccb1f8edae44953431d0b5143995094d
+make_check=no # Depends on proxy.py and re_assert
 
 post_patch() {
 	# use system http-parser
 	vsed -i '/http_parser\.c/d' -i setup.py
-	vsed -i '/http_parser\.h/s/".*\//"/' -i aiohttp/_cparser.pxd
 }

From 4208ff2fda35fb9afdf6f68db3861077d4331a81 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Mon, 2 Oct 2023 13:52:26 +0200
Subject: [PATCH 5/5] python3-aiohttp_socks: update to 0.8.4.

Use GitHub for distfiles since PyPI package does not include tests
---
 srcpkgs/python3-aiohttp_socks/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-aiohttp_socks/template b/srcpkgs/python3-aiohttp_socks/template
index b3899c64985d6..11f8f7fc149b5 100644
--- a/srcpkgs/python3-aiohttp_socks/template
+++ b/srcpkgs/python3-aiohttp_socks/template
@@ -1,14 +1,14 @@
 # Template file for 'python3-aiohttp_socks'
 pkgname=python3-aiohttp_socks
-version=0.8.0
-revision=2
+version=0.8.4
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3-aiohttp python3-socks"
-checkdepends="python3-aiohttp python3-attrs python3-socks"
 short_desc="SOCKS proxy connector for aiohttp"
 maintainer="Christian Buschau <christian.buschau@mailbox.org>"
 license="Apache-2.0"
 homepage="https://github.com/romis2012/aiohttp-socks"
-distfiles="${PYPI_SITE}/a/aiohttp_socks/aiohttp_socks-${version}.tar.gz"
-checksum=927b1d3b347448f86ff5245c9ca19e40f397eb93906682be592790678c982f37
+distfiles="https://github.com/romis2012/aiohttp-socks/archive/v${version}.tar.gz"
+checksum=58154eaa319968743bc18c9f4c0718e86c2312828bc1e481856409365ef4e403
+make_check=no # Requires python3-tiny-proxy

  parent reply	other threads:[~2023-11-15 21:32 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02 13:48 [PR PATCH] python3-aiohttp_socks: update to 0.8.3 " ar-jan
2023-10-02 13:54 ` [PR PATCH] [Updated] " ar-jan
2023-10-02 13:57 ` ar-jan
2023-10-02 14:17 ` ar-jan
2023-10-02 14:30 ` [PR PATCH] [Updated] " ar-jan
2023-10-02 14:46 ` ar-jan
2023-10-02 15:03 ` ar-jan
2023-10-02 15:38 ` ar-jan
2023-10-03  8:43 ` ar-jan
2023-10-03 16:21 ` ar-jan
2023-10-10 18:33 ` ar-jan
2023-10-14 15:30 ` ahesford
2023-10-16 22:18 ` ar-jan
2023-11-13 15:11 ` [PR PATCH] [Updated] python3-aiohttp_socks: update to 0.8.4 " ar-jan
2023-11-13 15:18 ` ar-jan
2023-11-13 15:24 ` ar-jan
2023-11-13 16:45 ` [PR REVIEW] " ahesford
2023-11-13 16:45 ` ahesford
2023-11-13 17:32 ` [PR PATCH] [Updated] " ar-jan
2023-11-13 17:35 ` ar-jan
2023-11-15 13:37 ` ar-jan
2023-11-15 14:17 ` ar-jan
2023-11-15 21:04 ` [PR PATCH] [Updated] " ar-jan
2023-11-15 21:32 ` ar-jan [this message]
2023-11-18 10:36 ` [PR PATCH] [Updated] Update python3-aiohttp_socks, python3-aiohttp, python3-async-timeout; add dependencies ar-jan
2023-11-26 20:47 ` ar-jan
2023-11-26 20:55 ` ar-jan
2023-11-26 21:17 ` [PR PATCH] [Merged]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231115213217.Ze4RRKFGfHes3NCdj2bw8osopKeR476MHZDiQPWY6Fk@z \
    --to=ar-jan@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).