From patchwork Sun Nov 29 19:28:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3237 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.18099.1795980571180777888 for ; Sun, 29 Nov 2026 11:29:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=WQatmrkG; spf=pass (domain: konsulko.com, ip: 209.85.216.54, mailfrom: tim.orling@konsulko.com) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-3b439e37813so4972168a91.3 for ; Sun, 29 Nov 2026 11:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980570; x=1796585370; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=azhqPQRb7tT6U09hkqf1Hy6s3khvM+DainVcm3vKUMA=; b=WQatmrkG7Y2rxxHsuRRZ3wd4yxJhRjfzhGXFFTQSioUo6eoIUC43/D8yqZjyvZWSoK MjcjRrgstbhXHdw8Blq53msWMZBTy6AwcdFE+O4uYn3EAaDEmFIqGTq7Xk9Z8PgOZF04 XKCclHYzC7pMxaAvwGVSAWm5cglz8ORYtiAUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980570; x=1796585370; h=content-transfer-encoding:mime-version: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=azhqPQRb7tT6U09hkqf1Hy6s3khvM+DainVcm3vKUMA=; b=005Ca5hseeHmFzz9EnzDW1T84HTWIxOmsR0b9tWbYSKtndwpbvP35TPmKE8V4LSqhd RBxAvaIMnyHuQHUTbyvU1hGmYsJDqn5T9IyYL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ll8VR8G29sCooIdK6gDNlcQlZWWeF+iG+NkBW27gRnPUP4= X-Received: by 2002:a17:90b:4a06:b0:3a4:9dd7:296f with SMTP id 98e67ed59e1d1-3b41caec8a1mr30185170a91.40.1795980570300; Sun, 29 Nov 2026 11:29:30 -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 98e67ed59e1d1-3b48b41928esm39495631a91.9.2026.11.29.11.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:29:29 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 00/26] allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:28:43 -0800 Message-ID: <20261129192919.14731-1-tim.orling@konsulko.com> X-Mailer: git-send-email 2.56.1 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:29:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133400 We have been talking about the python3-flit-core move to 4.x.y since August. I have been working on this patch series for a month. These recipes pin flit_core <4 in their build requires, so they fail to build once python3-flit-core is upgraded to 4.2.0. This series depends on the oe-core series "python3-flit-core: upgrade to 4.2.0, fix recipes that pin flit_core <4", which also explains the approach. Where upstream already has a fix it is backported; otherwise the patch only raises the upper bound to <5, or moves the metadata to the [project] table where the recipe still used [tool.flit.metadata], and the Upstream-Status says whether it was submitted or declined upstream. The recipe fixes also build with flit-core 3.12.0. It includes Khem's python3-marshmallow 4.4.0 upgrade from master-next, since 4.4.0 requires flit_core >=4. Testing: all 118 python_flit_core targets in oe-core and meta-python (target and native) build with flit-core 4.2.0. The ptests of python3-arrow, python3-blinker, python3-flask, python3-marshmallow, python3-ordered-set, python3-ptyprocess, python3-tomli-w and tomcli pass on qemux86-64. I do not personally intend to send the fixes upstream. There are simply too many of them and some of the projects are openly hostile to AI submissions. I have zero interest in fighting upstream. If we do find issues in these recipes that are proven to be caused by the flit-core >4 change I will do my best to help. If someone else wants to track down patches from other distros or submit them upstream, please feel free to send follow up patches for these recipes to change the Upstream-Status. Otherwise, my hope is that upstreams will either upgrade to flit-core >4 or will move on to other PEP-517 backends and avoid the problem entirely. Khem Raj (1): python3-marshmallow: Upgrade 4.3.1 -> 4.4.0 Tim Orling (25): python3-argh: allow building with flit_core 4 python3-arrow: allow building with flit_core 4 python3-asyncinotify: allow building with flit_core 4 python3-backcall: allow building with flit_core 4 python3-blinker: allow building with flit_core 4 python3-flask-mail: allow building with flit_core 4 python3-flask-marshmallow: allow building with flit_core 4 python3-flask-sqlalchemy: allow building with flit_core 4 python3-flask: allow building with flit_core 4 python3-itsdangerous: allow building with flit_core 4 python3-mdit-py-plugins: allow building with flit_core 4 python3-mdurl: allow building with flit_core 4 python3-ordered-set: allow building with flit_core 4 python3-ptyprocess: allow building with flit_core 4 python3-pytest-freezer: allow building with flit_core 4 python3-python-xmp-toolkit: allow building with flit_core 4 python3-socksio: allow building with flit_core 4 python3-tinycss2: allow building with flit_core 4 python3-tomli-w: allow building with flit_core 4 python3-twitter: allow building with flit_core 4 python3-webargs: allow building with flit_core 4 tomcli: allow building with flit_core 4 python3-cairocffi: allow building with flit_core 4 python3-gspread: allow building with flit_core 4 python3-truststore: allow building with flit_core 4 ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-argh_0.31.3.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-arrow_1.4.0.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 22 +++++++++ .../python/python3-asyncinotify_4.4.4.bb | 1 + ...use-PEP-621-metadata-for-flit_core-4.patch | 43 +++++++++++++++++ .../python/python3-backcall_0.2.0.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../python/python3-blinker_1.9.0.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../python/python3-flask-mail_0.10.0.bb | 1 + .../0001-Update-all-dependencies.patch | 22 +++++++++ .../python/python3-flask-marshmallow_1.5.0.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../python/python3-flask-sqlalchemy_3.1.1.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../python/python3-flask_3.1.3.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../python/python3-itsdangerous_2.2.0.bb | 1 + ..._4.3.1.bb => python3-marshmallow_4.4.0.bb} | 2 +- ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-mdit-py-plugins_0.7.0.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-mdurl_0.1.2.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-ordered-set_4.1.0.bb | 1 + ...data-to-fix-flit-core-4-compatibilit.patch | 41 +++++++++++++++++ .../python/python3-ptyprocess_0.7.0.bb | 5 +- ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-pytest-freezer_0.4.9.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../python3-python-xmp-toolkit_2.1.0.bb | 1 + .../0001-Unpin-flit-core-dependency.patch | 2 +- ...adata-to-fix-building-with-flit-core.patch | 46 +++++++++++++++++++ .../python/python3-socksio_1.0.0.bb | 5 +- ...001-Permit-building-with-flit-core-4.patch | 18 ++++++++ .../python/python3-tinycss2_1.5.1.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python/python3-tomli-w_1.2.0.bb | 2 + ...001-Lock-deployment-dependencies-241.patch | 21 +++++++++ .../python/python3-truststore_0.10.5.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 24 ++++++++++ .../python/python3-twitter_4.17.0.bb | 1 + ...01-Update-dependency-flit_core-to-v4.patch | 22 +++++++++ .../python/python3-webargs_8.7.1.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 25 ++++++++++ .../recipes-devtools/python/tomcli_0.10.1.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python3-cairocffi_1.7.1.bb | 1 + ...toml-allow-building-with-flit_core-4.patch | 23 ++++++++++ .../python3-gspread/python3-gspread_6.2.1.bb | 1 + 52 files changed, 675 insertions(+), 4 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-argh/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-arrow/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-asyncinotify/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-backcall/0001-pyproject.toml-use-PEP-621-metadata-for-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-blinker/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-flask-mail/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-flask-marshmallow/0001-Update-all-dependencies.patch create mode 100644 meta-python/recipes-devtools/python/python3-flask-sqlalchemy/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-flask/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-itsdangerous/0001-pyproject.toml-allow-building-with-flit_core-4.patch rename meta-python/recipes-devtools/python/{python3-marshmallow_4.3.1.bb => python3-marshmallow_4.4.0.bb} (91%) create mode 100644 meta-python/recipes-devtools/python/python3-mdit-py-plugins/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-mdurl/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-ordered-set/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-ptyprocess/0001-Use-PEP-621-metadata-to-fix-flit-core-4-compatibilit.patch create mode 100644 meta-python/recipes-devtools/python/python3-pytest-freezer/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-python-xmp-toolkit/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-socksio/0002-Use-PEP-621-metadata-to-fix-building-with-flit-core.patch create mode 100644 meta-python/recipes-devtools/python/python3-tinycss2/0001-Permit-building-with-flit-core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-tomli-w/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-truststore/0001-Lock-deployment-dependencies-241.patch create mode 100644 meta-python/recipes-devtools/python/python3-twitter/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python/python3-webargs/0001-Update-dependency-flit_core-to-v4.patch create mode 100644 meta-python/recipes-devtools/python/tomcli/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python3-cairocffi/python3-cairocffi/0001-pyproject.toml-allow-building-with-flit_core-4.patch create mode 100644 meta-python/recipes-devtools/python3-gspread/python3-gspread/0001-pyproject.toml-allow-building-with-flit_core-4.patch