From patchwork Sun Dec 15 14:32:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 54118 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7F43E77184 for ; Sun, 15 Dec 2024 14:34:12 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web11.36329.1734273247410913279 for ; Sun, 15 Dec 2024 06:34:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KSnDKYmH; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: gudni.m.g@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso22397495e9.3 for ; Sun, 15 Dec 2024 06:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734273245; x=1734878045; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SMUEtS/pvsAkqy8NCfpo06CQyciOrGcZNFEMizW3vSM=; b=KSnDKYmHOkTii0fzrQ/V0Nl0Dl0tFjiuYa1iL9N/FSNdyjx+WCDd+UUjStseuFw4UE 0tEI06XxOvsfeksuHiJN5XkcRhuOlybwzXhSGFNPIxGs+75+1e36kZB7NaPJpfSUsQAk +Ffn3D7rgjc2tXfqclkS+XkVG+drNwmWCuHHl0Uo3ayvAmuE4lkYHgHo1UmtnYwGOgUe ZYTWEdmHDR0KnIVwpqg3ktRdN48m1Dt1FQ2O2Tfc+X5SplTm1w7xTz0Q5p9cdQjyddWv cSFt9bFw46feVLPNzc2xxGnGvJiCZOF175gw7WaQK5DLz6FPFg8tDED5WAHrF77LIS4n zJ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734273245; x=1734878045; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SMUEtS/pvsAkqy8NCfpo06CQyciOrGcZNFEMizW3vSM=; b=Jjt0PKQO8zvVvFBC47UAo5eLzXm3dYEIpIFTX1jiWHt30v5tN7eQOc2t748LRJfgiq oT0fSL1xxQIv8+Z3JOS9Ion8MXtYfvDKjBuyPTRRZOvNeymQdqArU8qZY/+D1q4Iqu9L pla0yGi7tPY1/xsOticm/KYW5gEybOA2hFxrlexEPObg93zWkxmEWNUiZSwT6LxxGmJ/ i0oRSF//NjLZztOqzmep0Vr+t+YOOOmV5LCYUnl93AamuBTmu1uQAevAetLH9sC6jTgv Jmca+IIJU5ZSmud3AzndAmpct/Wq9lqF9nrDXKJRHv36W41AK5/Sf/QvCARsxsqgo2Fd o9kA== X-Gm-Message-State: AOJu0YyyfXyDoa6yrv2gY9bbLgXyE6tdAcOMlREnmSaIWJqVjNdnC2ZB 4G8dpI2Q2X/wE8gTSsMwrXTUvjnLbhRd5jI3LxXPsfbBwlbM1B28MR98AvxB X-Gm-Gg: ASbGncurS+6O0THdUV60/HPVFuF/BNjaNzClBrvQ0C8Kazq4Cu0Fy+aPZaZ700x/gFn whJYwU1gPpnEWb/d93SauOk2Sy/NjWKhaDnE6ZVjZ27W71e0ZlXNGfvNJLOMlfbruGUJAwpTKOH Xr1VwVw0zCI+W23xjj8YGlKYYCB7t0Vx1snmgBrJfBj8y7CL2HyPA86dX9p17650oijzXcqgIM9 LM9DaD9H7ZgdZkISOPyh9Eucqiq+roVsDsxDcbGNImgqrMWbn6iOR4CQBHLaD1K4MBWtXNFP1vM nM/KDA== X-Google-Smtp-Source: AGHT+IHs1cup2ASLu6RIKdhALB6xtQbFBUgvkyPOaq9EUCsAlWZUHBxD4akm0cwvFVIf4JYRNoR5+g== X-Received: by 2002:a5d:5889:0:b0:386:3684:c97e with SMTP id ffacd0b85a97d-3888e0ae544mr6466059f8f.23.1734273245169; Sun, 15 Dec 2024 06:34:05 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-388c8016427sm5310569f8f.30.2024.12.15.06.34.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 06:34:04 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-core@lists.openembedded.org Cc: Khem Raj , Richard Purdie Subject: [scarthgap][PATCH 1/2] python3: Drop empty patch Date: Sun, 15 Dec 2024 14:32:46 +0000 Message-ID: <20241215143247.1224203-2-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241215143247.1224203-1-gudni.m.g@gmail.com> References: <20241215143247.1224203-1-gudni.m.g@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 15 Dec 2024 14:34:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/208752 From: Khem Raj The fix brought by this patch is already part of python 3.12.3 therefore drop it. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- ...lize-struct-termios-before-calling-t.patch | 26 ------------------- .../recipes-devtools/python/python3_3.12.6.bb | 1 - 2 files changed, 27 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch diff --git a/meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch b/meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch deleted file mode 100644 index 8406ef30a2..0000000000 --- a/meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 439aa02f42d6e6715c172076261757fcb89a936a Mon Sep 17 00:00:00 2001 -From: "Miss Islington (bot)" - <31488909+miss-islington@users.noreply.github.com> -Date: Tue, 23 Jan 2024 23:02:02 +0100 -Subject: [PATCH] gh-114492: Initialize struct termios before calling - tcgetattr() (GH-114495) (GH-114502) - -On Alpine Linux it could leave some field non-initialized. -(cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e) - -Upstream-Status: Backport [https://github.com/python/cpython/commit/386c72d9928c51aa2c855ce592bd8022da3b407f] -Co-authored-by: Serhiy Storchaka -Signed-off-by: Khem Raj ---- - .../next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst | 2 ++ - 1 file changed, 2 insertions(+) - create mode 100644 Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst - -diff --git a/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst b/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst -new file mode 100644 -index 0000000..8df8299 ---- /dev/null -+++ b/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst -@@ -0,0 +1,2 @@ -+Make the result of :func:`termios.tcgetattr` reproducible on Alpine Linux. -+Previously it could leave a random garbage in some fields. diff --git a/meta/recipes-devtools/python/python3_3.12.6.bb b/meta/recipes-devtools/python/python3_3.12.6.bb index ae69f0e781..63a3134b36 100644 --- a/meta/recipes-devtools/python/python3_3.12.6.bb +++ b/meta/recipes-devtools/python/python3_3.12.6.bb @@ -29,7 +29,6 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \ file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \ file://0001-test_storlines-skip-due-to-load-variability.patch \ - file://0001-gh-114492-Initialize-struct-termios-before-calling-t.patch \ file://0001-test_shutdown-skip-problematic-test.patch \ file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \ file://0001-test_deadlock-skip-problematic-test.patch \ From patchwork Sun Dec 15 14:32:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 54117 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E69A3E7717F for ; Sun, 15 Dec 2024 14:34:12 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.web11.36331.1734273250725951632 for ; Sun, 15 Dec 2024 06:34:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=a+pXR9HB; spf=pass (domain: gmail.com, ip: 209.85.221.53, mailfrom: gudni.m.g@gmail.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-385ddcfc97bso2774867f8f.1 for ; Sun, 15 Dec 2024 06:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734273248; x=1734878048; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=63BC69TcTb1R4VkSOOf6Ik4FaVoUNIq59QJy+l2E9ok=; b=a+pXR9HBUodO3ozXFk7N5idzFapvEq+A7W6Plq3qYuMBIf8IRKfQu8K2O637h5HdUQ 36KSu6PWsMZtwob/BdZmVQ922nkqCxSt4DKzKjw4KpCU0CcJ2GV4MF+VCnneDCqRAcSX I93vmcsEMExl098LGXdx9t6RNk4w2hsG96y9TIbrTZH6iFqnbGlfpPZOWbYLLwzJkw9l +tcrLU85gULHTrr5N927MO4i778O7pux/o79FrEQD9fZa7zpa2VMrozZHnZajUqO2oYX QWcGeW4cnOhnIeVQtlj7CXD6uER8JFYSNP90eJB4E84whtemMgZAy7y4re1GolnwzFJv nx4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734273248; x=1734878048; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=63BC69TcTb1R4VkSOOf6Ik4FaVoUNIq59QJy+l2E9ok=; b=uBKyym5bvwHZoMCkEogMEPDkBShqVJZHIpxasTLilH7EsPGSMoLxiNCFQjcj7G9Dng EfpGefZuww0s8WOyn9IuxX9O5OUGARkpC9EJ2v9Ab22K8igE4BeXZn7D0uw53EknmpK/ Y+4hwmQdpkXOwHQqoLTnHvDGA0hizgitX1daiTteuf0FPRG5YaXLmmlvfz4wHha/uGnt s6mZ28C0O5ON0/4Mkcj7CuJIpSWPY7HeEerIcllf5w/rUzb9ogH+iOT/yxpN8IM7FBN0 dZDQUOANJVRRJtGfU7hPbULLj8sz78q53P7DyurEf256v1irEnTO5vTHJ+bywH5HGevf vV9A== X-Gm-Message-State: AOJu0YwOJWD7o60/GjI+uFKFPywM6bIy25T7VNbxIUf7bQtHqs+NEJ8W Deu8QmGIRoEjbzmMUGl3hC52lQrd1E17aUtTwghhFQrXRQCz/6l4T3cdVI6f X-Gm-Gg: ASbGncs+fQlYX65F3jh6kfItYY/ZPP+zQUm1DwUMsoaA6OR1dAIHEchfiNEedK/CW3O ioabyObf2yNvnGgauc/qaTixmBRWm8c8NRwioU+jGEAjUdyYMtC2K3l431STO6FC8hyhZnj0UMQ nH2PNmK5INyyaUNhrlccRHNtZE2VEsXkDCDtmAi2jwWyEK3DTRl8zSfeYkCe5YRBU29vauYvo+9 XSqBpBRhJNl9tXM2wIdE7tIw3kNBBzdRltefJv476i+LrDE7VEbTehYVFCmXax19ZNqKXW//eD1 MYceuw== X-Google-Smtp-Source: AGHT+IGTYMd1gjZMFrHpJLR0Tsz/wyLhZlXQQPmG3V6j/PxpBUSCTEbSPYw4xAL8Bqe90H9FINM8ww== X-Received: by 2002:a5d:6d06:0:b0:385:e9de:d52a with SMTP id ffacd0b85a97d-3889ad354abmr7154706f8f.48.1734273248362; Sun, 15 Dec 2024 06:34:08 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-388c8016427sm5310569f8f.30.2024.12.15.06.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 06:34:06 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-core@lists.openembedded.org Cc: Ross Burton , Richard Purdie Subject: [scarthgap][PATCH 2/2] python3: add dependency on -compression to -core Date: Sun, 15 Dec 2024 14:32:47 +0000 Message-ID: <20241215143247.1224203-3-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241215143247.1224203-1-gudni.m.g@gmail.com> References: <20241215143247.1224203-1-gudni.m.g@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 15 Dec 2024 14:34:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/208753 From: Ross Burton importlib.metadata is part of -core, but that will import zipfile which is part of -compression. Obviously this shows that our packaging of the Python modules is not optimal. I plan to follow up with a redesign of the splitting which focuses on simply pulling out the larger or esoteric modules and having a more featureful core. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3/python3-manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 46092d4004..292c5bbc5d 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -216,7 +216,7 @@ }, "core": { "summary": "Python interpreter and core modules", - "rdepends": [], + "rdepends": ["compression"], "files": [ "${bindir}/python${PYTHON_MAJMIN}", "${bindir}/python${PYTHON_MAJMIN}.real",