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 98CFAFA374B for ; Fri, 2 Jan 2026 14:09:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6260080FA6; Fri, 2 Jan 2026 14:09:18 +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 ccbOt5KO-yWh; Fri, 2 Jan 2026 14:09:17 +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 8656A80F86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1767362957; 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=OTfrezL3Tlr1fMJjRmp/fDPJjtz7A/39PXa7lhbBwRiVT0E/tKWn03+PF/J62k1f8 I4yn2cFzGEPqxJCE0M/n2jFcu4iheYZnQqRqqfnXwfDU+ZX5SJ+Y5hYNm7W8BMoIJv Avj+AvLMfQFX8kMqUeWbsSRbi/xZcBxE54eOAVLlWx6/44dhpYLQR6i/fNNOU4TGUT KfR48Mt625JHul3nXPYsh8/IqfYlA4elN1+GaRRcvlbB4Chx0NaPUfmGYkzxPZkKXD X4uBZaF7zc2AhKI6MGCpquQF+ITHBCoM7OahIlNGnQQ+hYN/bewb/JrL2lKgv1XZRX B80FiaF/K34Vg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 8656A80F86; Fri, 2 Jan 2026 14:09:17 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists1.osuosl.org (Postfix) with ESMTP id 01BD7351 for ; Fri, 2 Jan 2026 14:09:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E852980F86 for ; Fri, 2 Jan 2026 14:09:16 +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 AxdZpPald4C3 for ; Fri, 2 Jan 2026 14:09:16 +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 smtp1.osuosl.org E0A2A80F80 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E0A2A80F80 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp1.osuosl.org (Postfix) with ESMTPS id E0A2A80F80 for ; Fri, 2 Jan 2026 14:09:15 +0000 (UTC) Received: from fli4l.lan.fli4l (p5b3a0cbc.dip0.t-ipconnect.de [91.58.12.188]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 79EFCA4C3218; Fri, 2 Jan 2026 15:08:14 +0100 (CET) Received: from bruckner.lan.fli4l ([192.168.1.1]:40334) by fli4l.lan.fli4l with esmtp (Exim 4.99.1) (envelope-from ) id 1vbfp2-000000006rb-2cZF; Fri, 02 Jan 2026 14:08:08 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 2 Jan 2026 15:08:02 +0100 Message-ID: <20260102140805.166641-5-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260102140805.166641-1-bernd@kuhls.net> References: <20260102140805.166641-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=1767362894; bh=H6NeKNPcxyUajOvu1vgV2go/LME6h93+ugOEF6EPOxI=; h=From:To:Cc:Subject:Date:In-Reply-To:From; b=uXAMu/DumfZ1h/uXiDyvDxvk9zqBawtdmVnOTYGGB4/j0y66zIyo+S4qkPdUqG3wV FJmV+Hhpjl0HEh8pQsSk4rgD84KPPrynI/brgBuefMI6OYXzxZ/A7jRZP/xFQEzutt Jgi02bhJIMDXYJwc+XmPSRmslmWa+YImtpLQsjwmZFvjdg5z9p3nn/7HZN6IkrBv2V S4Qwu8+E56KmYqo56gLbSDdMTkQRZyGaQB7YpIzVzQ/8DUz6qkMbqO84xzpqeQDFg/ DQishCMFhWvd56uYhwV3R95ynczZC4T3ot/7h+I+7HYJZloKisLVNYGyHtYz/a4x9A COpnXPIBlScog== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202511301023 header.b=uXAMu/Du Subject: [Buildroot] [PATCH v2 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