From patchwork Thu Nov 19 12:00:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 104875 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12661.1795089610538685581 for ; Thu, 19 Nov 2026 04:00:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=gT0TM09U; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.51, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-491d1f66968so182967f8f.0 for ; Thu, 19 Nov 2026 04:00:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1795089608; x=1795694408; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=+OKrgc6Bp2uErkp5ZNJeMwk6tZDC2FXfFQXA2z7LATU=; b=gT0TM09UVh/ZkbxbT9BVkpQ4ytbUifaZ/PVmd3WYBN3/lIyN036Fd5+rgjWxyYfpTn VQscoC5f9RIFWFU2NVJWK7flRjFQD/E4OoECBhnmp2LGKAM46foTE8lmb+ZGrjxx7bcP 5mCALj1e+IsuSTCZijWxzwGleIu/XXWMV3Vqk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795089608; x=1795694408; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=+OKrgc6Bp2uErkp5ZNJeMwk6tZDC2FXfFQXA2z7LATU=; b=TMrUlBCTfIEk92KGlwbpzj2p1hsKFAIyikyLuq0HUC8a51jhxeIz+TWI8osAHDFP+A Zc30kEFCiGTV23shktDQqg3dC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:4812:b0:491:49c2:3b3 with SMTP id ffacd0b85a97d-4a63bea7c57mr11900168f8f.51.1795089608291; Thu, 19 Nov 2026 04:00:08 -0800 (PST) Return-Path: Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:638e:5650:6a46:d2a2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4a65683d5a2sm10676423f8f.43.2026.11.19.04.00.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 04:00:07 -0800 (PST) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH] lib/oe/utils: Drop str_filter and str_filter_out Date: Thu, 19 Nov 2026 12:00:06 +0000 Message-ID: <20261119120006.22357-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 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 ; Thu, 19 Nov 2026 12:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/250662 Nothing in core uses them and we have other filter operations now which interact better with the datastore, drop the obsolete funcitons. Signed-off-by: Richard Purdie --- dev/null | 0 meta/lib/oe/utils.py | 18 ------------------ 2 files changed, 18 deletions(-) delete mode 100644 dev/null diff --git a/dev/null b/dev/null deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index caa4dd43016..8fa40da2d11 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -198,24 +198,6 @@ def prune_suffix(var, suffixes, d): return var -def str_filter(f, str): - """ - Take ``str``, as a space-separated list of values, and return a - space-separated list of all the values matching the regular expression ``f`` - using :py:func:`re.match`. - """ - from re import match - return " ".join([x for x in str.split() if match(f, x, 0)]) - -def str_filter_out(f, str): - """ - Take ``str``, as a space-separated list of values, and return a - space-separated list of all the values *not* matching the regular expression ``f`` - using :py:func:`re.match`. - """ - from re import match - return " ".join([x for x in str.split() if not match(f, x, 0)]) - def build_depends_string(depends, task): """ Append a taskname ``task`` to a space-separated list of dependencies stored in