Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FE17FA374B for ; Fri, 2 Jan 2026 15:27:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 545EB810FF; Fri, 2 Jan 2026 15:27:45 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id BDHspNFoLcFR; Fri, 2 Jan 2026 15:27:43 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A4157810DB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1767367663; bh=SOtupSFC15k+9n0hnHBPfjpGq7w00yX/ETHOapcShQ8=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=dQsZw40FqXCr7ZZ/3Qk57X3qKEBNqrsR0V+9/DkDH6orTkVAff76DbUZ6g89bx3vw vq2BpQLrzpCZw+ZbF4syz3A8j2VmhRLVoL4c3eOZURbVsSdxv5Dwju72SeXlvgm3N+ s/kE9EOud295niHIgGcvXmaSDZIdyT6EK0LtxThCD3BSBbANRUQwAu9uEK83ORLhhn VuMhOoJt/bMYHskKEf+4o3Ijpy1PBJFJ6RyX3fDF4ro79g7ppGZg4BuAA0AzQnLiL7 XuhpC5M/4kman3jUmOZnD5uTzBLvjotxNFdIbCoFsDPNuWAk6GjQFDjEiaRxzCqY8E isKoDAYeGdeSA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id A4157810DB; Fri, 2 Jan 2026 15:27:43 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id 6DF40D7 for ; Fri, 2 Jan 2026 15:27:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 54CAA40636 for ; Fri, 2 Jan 2026 15:27:41 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id zOGcnrBGxoCt for ; Fri, 2 Jan 2026 15:27:40 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 4E15540598 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4E15540598 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp4.osuosl.org (Postfix) with ESMTPS id 4E15540598 for ; Fri, 2 Jan 2026 15:27:40 +0000 (UTC) Received: from fli4l.lan.fli4l (p5b3a0cbc.dip0.t-ipconnect.de [91.58.12.188]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 7956CA4C3294; Fri, 2 Jan 2026 16:26:41 +0100 (CET) Received: from bruckner.lan.fli4l ([192.168.1.1]:37006) by fli4l.lan.fli4l with esmtp (Exim 4.99.1) (envelope-from ) id 1vbh2y-000000004IY-424I; Fri, 02 Jan 2026 15:26:37 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 2 Jan 2026 16:26:33 +0100 Message-ID: <20260102152635.924052-5-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260102152635.924052-1-bernd@kuhls.net> References: <20260102152635.924052-1-bernd@kuhls.net> MIME-Version: 1.0 X-Spamd-Bar: ++ X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202511301023; t=1767367601; bh=H6NeKNPcxyUajOvu1vgV2go/LME6h93+ugOEF6EPOxI=; h=From:To:Cc:Subject:Date:In-Reply-To:From; b=ZPYzLxZ7jsHTBAjwZqd12PWt1RUz4EalOFdwjs15TQwnIZd0wS3bg/Wj/rBNR94tI zs3y91vCHOE546bWt/eOr9TRDAkGoDnQr4VByXYky/xbG6BYqrlIVJio+wpVU7CcwT 4LJGuAZJcQWDE7wRfzX9rNb+JiKO5fMdkyq0x0mxGszdDT4GKfmVWMUrPSWov/nGV3 aclIOhrS+phRO6oADeNy1tCK8PRBWcrvUSigqq8bYxBI6eFurTazXajPB2Z0hCb6xH z/wOen77o6jPou4SitDx0L8P11GdyT/lKPuYs8mcYTZGAqNxrQCqeaOaT0C7WOtGbV ZUGGVdgTs5Kxg== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202511301023 header.b=ZPYzLxZ7 Subject: [Buildroot] [PATCH v3 4/6] package/python-aiohttp-sse: fix build with python 3.14 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Angelo Compagnucci , Guillaume William Brs , James Hilliard , Woodrow Douglass , Jagan Teki , Thomas Petazzoni , Fabrice Fontaine Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Bernd Kuhls --- .../0001-Fix-build-with-python-3.14.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create 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 new file mode 100644 index 0000000000..76b595c7de --- /dev/null +++ b/package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch @@ -0,0 +1,35 @@ +From 7a649de6561ec181208a9c4fa712aed614a224d4 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +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 +--- + 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 + -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot