From patchwork Sun Nov 29 19:29:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106306 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.18383.1795980621100385133 for ; Sun, 29 Nov 2026 11:30:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=R003xyEl; spf=pass (domain: konsulko.com, ip: 209.85.215.172, mailfrom: tim.orling@konsulko.com) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-cdba1bbde0bso3713342a12.2 for ; Sun, 29 Nov 2026 11:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980620; x=1796585420; 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:content-type; bh=DTBXUs9T0LPF6uTbdIxho2bMJi4VIbWPd0LjRB3rwwo=; b=R003xyEl4GDSxV2fB6TIqr2yrIWNHBA50codDEZifDSMs0wO3Dl61MQx/coEyqt77a gGsVP4zfad8uNvrRs9joVRkM/G0v7aMVPnaC2KPjdKODeLz1BpEZajw7aYNUNPEZipqC I+ZmoTwI+XJk5JAZ219j+DzaViKfnKAV51az0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980620; x=1796585420; h=content-transfer-encoding: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=DTBXUs9T0LPF6uTbdIxho2bMJi4VIbWPd0LjRB3rwwo=; b=m1M+hPw4y7Ui2CVvSAKpRZkR0Nm5qASaGkOI+WSWhYWoQ4PjM3HVOiGna7TK5usLFO KSWiqbqb7+OhLGfVoLV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NXb7x4lNkXVhiqDB0PONeBk f/slWA9FEnefDB5toKTD4br6QX9sHF9Kz2jhg7dVM/7DSDmviCGs5+Ifu7qD2Qptgtg== X-Received: by 2002:a17:90b:134e:b0:3a4:b30b:b501 with SMTP id 98e67ed59e1d1-3b41c7b5dbfmr30431709a91.9.1795980620541; Sun, 29 Nov 2026 11:30:20 -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-3b40a878d50sm51558767a91.11.2026.11.29.11.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:30:19 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 21/26] python3-twitter: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:29:04 -0800 Message-ID: <20261129192919.14731-22-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/133421 Relax the flit_core <4 build requirement to <5. The project already uses the [project] table, so nothing flit_core 4 removed affects it. The same change is proposed upstream. 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 --- ...toml-allow-building-with-flit_core-4.patch | 24 +++++++++++++++++++ .../python/python3-twitter_4.17.0.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-twitter/0001-pyproject.toml-allow-building-with-flit_core-4.patch diff --git a/meta-python/recipes-devtools/python/python3-twitter/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta-python/recipes-devtools/python/python3-twitter/0001-pyproject.toml-allow-building-with-flit_core-4.patch new file mode 100644 index 0000000000..01c2400599 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twitter/0001-pyproject.toml-allow-building-with-flit_core-4.patch @@ -0,0 +1,24 @@ +From: Tim Orling +Subject: [PATCH] pyproject.toml: allow building with flit_core 4 + +flit_core 4 only drops features this project does not use (the +[tool.flit.metadata] table, sdists from VCS and --setup-py), so +raise the upper bound to <5, as the flit 4.0 release notes suggest: +https://flit.pypa.io/en/stable/history.html#version-4-0 + +Upstream-Status: Submitted [https://github.com/tweepy/tweepy/pull/2240] +AI-Generated: Uses Claude Code (Claude Opus 5.5) +Signed-off-by: Tim Orling +--- +diff --git a/pyproject.toml b/pyproject.toml +index 9543f45..d622563 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -56,6 +56,6 @@ Documentation = "https://docs.tweepy.org" + Homepage = "https://tweepy.org" + + [build-system] +-requires = ["flit_core<4"] ++requires = ["flit_core<5"] + build-backend = "flit_core.buildapi" + diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb b/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb index 18375edc61..3c4832ae45 100644 --- a/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb +++ b/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb @@ -4,6 +4,7 @@ DESCRIPTION = "Python module to support twitter API" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=48c84b17f84a9a623754604ab73f28fe" +SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch" SRC_URI[sha256sum] = "c232e9fffa0b15b81d5ff8ec59d46af85e330285ffc3e64614d2418fb9af71b5" PYPI_PACKAGE = "tweepy"