* [Buildroot] [PATCH] package/python-aiohttp-sse: bump to version 3.0
@ 2026-10-24 18:28 James Hilliard
2026-10-25 11:56 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2026-10-24 18:28 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard
Drop the Python 3.14 compatibility patch, which is included upstream [1].
Update the license hash for the replacement of the abbreviated notice
with the full Apache-2.0 license text [2].
[1] https://github.com/aio-libs/aiohttp-sse/commit/9eec5f5b0355bb3853d0e4f2af6486c9a5887e38
[2] https://github.com/aio-libs/aiohttp-sse/commit/390f93d64bcb01db32b02195c8c90d2fafe5d8a1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
.../0001-Fix-build-with-python-3.14.patch | 35 -------------------
.../python-aiohttp-sse.hash | 6 ++--
.../python-aiohttp-sse/python-aiohttp-sse.mk | 6 ++--
3 files changed, 6 insertions(+), 41 deletions(-)
delete mode 100644 package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch
diff --git a/package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch b/package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch
deleted file mode 100644
index 76b595c7de..0000000000
--- a/package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 7a649de6561ec181208a9c4fa712aed614a224d4 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd@kuhls.net>
-Date: Mon, 8 Dec 2025 18:03:03 +0100
-Subject: [PATCH] Fix build with python 3.14
-
-ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited
-from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can
-use the latter on both old and newer python versions.
-
-Patch was inspired by
-https://hg-edge.mozilla.org/mozilla-central/rev/dbf9702ed87e
-
-Upstream: https://github.com/aio-libs/aiohttp-sse/commit/9eec5f5b0355bb3853d0e4f2af6486c9a5887e38
-
-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 6843260..fa41025 100644
---- a/setup.py
-+++ b/setup.py
-@@ -25,7 +25,7 @@ class VersionFinder(ast.NodeVisitor):
- def visit_Assign(self, node):
- if not self.version:
- if node.targets[0].id == "__version__":
-- self.version = node.value.s
-+ self.version = node.value.value
-
-
- def read_version():
---
-2.47.3
-
diff --git a/package/python-aiohttp-sse/python-aiohttp-sse.hash b/package/python-aiohttp-sse/python-aiohttp-sse.hash
index e8382e7f8e..63aa6bb6d5 100644
--- a/package/python-aiohttp-sse/python-aiohttp-sse.hash
+++ b/package/python-aiohttp-sse/python-aiohttp-sse.hash
@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/aiohttp-sse/json
-md5 8c86e737a2f3642941c1d383f42ce6ae aiohttp-sse-2.2.0.tar.gz
-sha256 a48dd5774031d3f41a29e159ebdbb93e89c8f37c1e9e83e196296be51885a5c2 aiohttp-sse-2.2.0.tar.gz
+md5 86392c1b821f9e2b22b787a295f9beff aiohttp_sse-3.0.tar.gz
+sha256 4c2158dc7221fbcad225699c2b7c368c15ae45ef195447ddd0ba3dea5af24c70 aiohttp_sse-3.0.tar.gz
# Locally computed sha256 checksums
-sha256 5585eb91ec607b4fdbe97d44a61146a9cc27bb703336628bc3c6a1eaffe60307 LICENSE
+sha256 2e4be5fc6c4c72a466fcb665d726e049a6891981fe536c4f04b6366749461d23 LICENSE
diff --git a/package/python-aiohttp-sse/python-aiohttp-sse.mk b/package/python-aiohttp-sse/python-aiohttp-sse.mk
index bf46c98528..a8c27218a4 100644
--- a/package/python-aiohttp-sse/python-aiohttp-sse.mk
+++ b/package/python-aiohttp-sse/python-aiohttp-sse.mk
@@ -4,9 +4,9 @@
#
################################################################################
-PYTHON_AIOHTTP_SSE_VERSION = 2.2.0
-PYTHON_AIOHTTP_SSE_SOURCE = aiohttp-sse-$(PYTHON_AIOHTTP_SSE_VERSION).tar.gz
-PYTHON_AIOHTTP_SSE_SITE = https://files.pythonhosted.org/packages/80/df/4ddb30e689695fd91cf41c072e154061120ed166e8baf6c9a0020f27dffc
+PYTHON_AIOHTTP_SSE_VERSION = 3.0
+PYTHON_AIOHTTP_SSE_SOURCE = aiohttp_sse-$(PYTHON_AIOHTTP_SSE_VERSION).tar.gz
+PYTHON_AIOHTTP_SSE_SITE = https://files.pythonhosted.org/packages/af/6d/01d7f71e38ac91a912dd8c4ed1a1481316dc83cb6c42043bbfa1b647c0e4
PYTHON_AIOHTTP_SSE_SETUP_TYPE = setuptools
PYTHON_AIOHTTP_SSE_LICENSE = Apache-2.0
PYTHON_AIOHTTP_SSE_LICENSE_FILES = LICENSE
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/python-aiohttp-sse: bump to version 3.0
2026-10-24 18:28 [Buildroot] [PATCH] package/python-aiohttp-sse: bump to version 3.0 James Hilliard
@ 2026-10-25 11:56 ` Julien Olivain via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-10-25 11:56 UTC (permalink / raw)
To: James Hilliard; +Cc: buildroot
On 24/10/2026 20:28, James Hilliard wrote:
> Drop the Python 3.14 compatibility patch, which is included upstream
> [1].
>
> Update the license hash for the replacement of the abbreviated notice
> with the full Apache-2.0 license text [2].
>
> [1]
> https://github.com/aio-libs/aiohttp-sse/commit/9eec5f5b0355bb3853d0e4f2af6486c9a5887e38
> [2]
> https://github.com/aio-libs/aiohttp-sse/commit/390f93d64bcb01db32b02195c8c90d2fafe5d8a1
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-25 11:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24 18:28 [Buildroot] [PATCH] package/python-aiohttp-sse: bump to version 3.0 James Hilliard
2026-10-25 11:56 ` Julien Olivain via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox