From patchwork Sun Nov 29 19:29:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106305 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.18377.1795980613675582528 for ; Sun, 29 Nov 2026 11:30:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=Xcpw/2GJ; spf=pass (domain: konsulko.com, ip: 209.85.215.176, mailfrom: tim.orling@konsulko.com) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-ccca948203aso6406364a12.3 for ; Sun, 29 Nov 2026 11:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980613; x=1796585413; darn=lists.openembedded.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=IVo1klmESqcFCU+Ui33FDGaWfyg21i08R8kwAR7iA/A=; b=Xcpw/2GJeqozD89bBu/Ui4NTOhFOxJCKBcNVLQfbMJ8DbZtw8lNBP0EEKqfZ//cIYM krG3U5Tbah4pTkqwwkan6P8cJH2anv/uMokMP0NeQkOlqExO2oGijV8s9IdGoqkXSyPE JpZ9t4rULr2WgKJokIhED9vcrq+a5+Za4nZoc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980613; x=1796585413; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=IVo1klmESqcFCU+Ui33FDGaWfyg21i08R8kwAR7iA/A=; b=P/Otv4QoAAxgqKbAa9vSBTcEUpdqiIDV+iIw/lHnUKkvQoOwwk3d5K4jJaIlmHyqRb V09m8/NK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DPCecSfGuyJb1L+oCmYqNAUgVZcqsl uFAr5W9NRw5L4u5iLi15kspqVfu7XgO2ZJMFlS78IWrhvpFlS4eZZW30DFPJ3wktT/g== X-Received: by 2002:a05:6300:8095:b0:3dd:85a8:4c57 with SMTP id adf61e73a8af0-4014c946783mr26624704637.30.1795980612988; Sun, 29 Nov 2026 11:30:12 -0800 (PST) Return-Path: Received: from localhost (c-24-20-171-118.hsd1.or.comcast.net. [24.20.171.118]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c87344058bsm16008808b3a.41.2026.11.29.11.30.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:30:12 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 18/26] python3-socksio: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:29:01 -0800 Message-ID: <20261129192919.14731-19-tim.orling@konsulko.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261129192919.14731-1-tim.orling@konsulko.com> References: <20261129192919.14731-1-tim.orling@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 29 Nov 2026 19:30:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133418 flit_core 4 no longer reads the [tool.flit.metadata] table, so move the metadata to the standard [project] table and allow flit_core <5. Both patches are backports; the unpin patch was merged upstream since it was added. Tested by building with flit_core 3.12.0 and 4.2.0. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Tim Orling --- .../0001-Unpin-flit-core-dependency.patch | 2 +- ...adata-to-fix-building-with-flit-core.patch | 46 +++++++++++++++++++ .../python/python3-socksio_1.0.0.bb | 5 +- 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-socksio/0002-Use-PEP-621-metadata-to-fix-building-with-flit-core.patch diff --git a/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch b/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch index 75be61fc4f..c7921ecdc3 100644 --- a/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch +++ b/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch @@ -3,7 +3,7 @@ From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 13 Aug 2023 09:21:49 -0700 Subject: [PATCH] Unpin flit-core dependency -Upstream-Status: Submitted [https://github.com/sethmlarson/socksio/pull/61] +Upstream-Status: Backport [https://github.com/sethmlarson/socksio/commit/b326406915fd98a8185c1c160165c5b8963b30c1] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-socksio/0002-Use-PEP-621-metadata-to-fix-building-with-flit-core.patch b/meta-python/recipes-devtools/python/python3-socksio/0002-Use-PEP-621-metadata-to-fix-building-with-flit-core.patch new file mode 100644 index 0000000000..babd4d2714 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-socksio/0002-Use-PEP-621-metadata-to-fix-building-with-flit-core.patch @@ -0,0 +1,46 @@ +From: Michał Górny +Date: Tue, 18 Aug 2026 15:05:44 +0200 +Subject: [PATCH] Use PEP 621 metadata to fix building with flit-core >=5 + +[Only the pyproject.toml part is backported. It applies on top of +0001-Unpin-flit-core-dependency.patch.] + +Upstream-Status: Backport [https://github.com/sethmlarson/socksio/commit/61bd9df09c3da182f3d73cbff8e6479292ab7687] +Signed-off-by: Tim Orling +--- +diff --git a/pyproject.toml b/pyproject.toml +index 70868e0..acf0a38 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -2,13 +2,14 @@ + requires = ["flit_core >=2"] + build-backend = "flit_core.buildapi" + +-[tool.flit.metadata] +-module = "socksio" +-author = "Seth Michael Larson" +-author-email = "sethmichaellarson@gmail.com" +-home-page = "https://github.com/sethmlarson/socksio" +-requires-python=">=3.6" +-description-file="README.md" ++[project] ++name = "socksio" ++authors = [ ++ { name = "Seth Michael Larson", email = "sethmichaellarson@gmail.com" }, ++] ++readme = "README.md" ++requires-python = ">=3.6" ++dynamic = ["version", "description"] + classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.6", +@@ -19,6 +20,9 @@ classifiers = [ + "Topic :: Internet :: Proxy Servers", + ] + ++[project.urls] ++Homepage = "https://github.com/sethmlarson/socksio" ++ + [tool.isort] + combine_as_imports = true + force_grid_wrap = 0 diff --git a/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb b/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb index 4353a52ee1..810759523c 100644 --- a/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb @@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0b4dda8edb09eec767aaded3cbf8f6b1" inherit pypi python_flit_core -SRC_URI += "file://0001-Unpin-flit-core-dependency.patch" +SRC_URI += "\ + file://0001-Unpin-flit-core-dependency.patch \ + file://0002-Use-PEP-621-metadata-to-fix-building-with-flit-core.patch \ +" SRC_URI[sha256sum] = "f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac"