From patchwork Thu Apr 23 17:12:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 86789 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 C2836FDEE2E for ; Thu, 23 Apr 2026 17:12:54 +0000 (UTC) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2811.1776964371354991173 for ; Thu, 23 Apr 2026 10:12:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20251104.gappssmtp.com header.s=20251104 header.b=XxsidQKD; spf=pass (domain: baylibre.com, ip: 209.85.222.174, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-8d7e7f48499so772670885a.1 for ; Thu, 23 Apr 2026 10:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1776964369; x=1777569169; 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; bh=IeP3CQqFW3xeNXRIMu36BtsXqjRuDB6nayK78+/g4y4=; b=XxsidQKDeIEpwSb+W5K4w7a6BtEYdwJy9ZEi2q0JTOzEyLY/UXiSWHEWMnq5V00/j6 IcMV8QOsbZ/gWzAuE2S+tlYUA0O2fWKeTlH+EHB+LzsQ7DBZf7P0Pv47B0xpuEFk7Z5A zlfEDD82MgWkcbRtAwKqAERvoBY514EjCtnXzVaA5025alnIiU5lajkp/D7/GehzdAyu lvJvpHKbo6vGM5icQQ+S+KdnxXq81+sI341qJl9ap9tTbPaedffdTHe5WyrVkNzPc1Xt Dw+yzQ7Z4agfrETTkwo1G3VJbl+xHc3TR0v69rrnwwPi/Rr3l33S+VIC8c70Cdvk6hTn fBng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776964369; x=1777569169; 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; bh=IeP3CQqFW3xeNXRIMu36BtsXqjRuDB6nayK78+/g4y4=; b=do6zB52yxpENGmvqp7vvLIM8Tbl8SeSuSN79KShGGQIJgYMx2nlXgJ0WswWELrm3I6 /kSCsqR5c14iKi/0x5R2qK6TtqrxXfNhPDLHczf5SFfKj4I2ubN32DOH5A/sDUwP+wX2 81d6C4GAZcYdcc1VTeKE6Rtecwk1SDeGWvl2w9ATzHagY8/A80yu/+gcUm2/Wtwfxfnq oZpXaE1SRnjTPjhWwHvUClxDgMGV9GdL1brRyowhh8/sauOAnfC29CPhZxttXYtNQbeq 1GWh3heUmRkf0HErPEc3tuxOjs9RriQ2zwdCzJXCYWO3uXx9VhDufyFB4P+mNvzKDzKV o5Ow== X-Gm-Message-State: AOJu0Yx6iUIQgd7oslf47N8B53GZ1Ox5OVW3UO1i35ftnS850bT06M6C ojBYyf5n2C34whWOcDCTAmFbB0lVxVSUIWVvhrgBcGkrrOh3DOdI66bmb0eyT5kdq9+XcRLPFmP TlGtu X-Gm-Gg: AeBDieu2h3VTK9+7NORWR3Q/Xh4GZMPxUDsR+igof5NeW8h5ux4fwUA8yer9uC9kqE0 kGjWcLTTZ6CSrFwmGeL3Amf+CKjtrJc/uaeC/GK0JzU6xQmbMjmRt12GpqrLJgAjKmQ5x4ljtmT d+AG+M7BNotwNc6bfFpWsxhv/3Ca1lD/tfRGG4HhGiZWuVCnVJbFNZk4dlbHtjy7BCc3/YuVRas PKQbUnJCAsTIWP8qO+hL7g7YW1rssigUtyQjInckBevxAC+4daWRECX7dX+GvIQwBFbUTgcfLrU p4MZLE1iMcAQYFp+brtVs+T2QcKTUrmWFAuCfI0GZAfE/btVCapsw2ZBr3EwS3mxWW+Dze7S6bP oeMC/f8PfcYRrpjSLuSWCraf3/I66kkumcEjnH4H7aplqF3cwQn87Njp8HBUnvSW7Amg//wauzj bzTJDLiTtGe3nO6sTb2jnBWBAenLD4z9XcnrMFdg== X-Received: by 2002:a05:620a:2699:b0:8ec:9b8f:4965 with SMTP id af79cd13be357-8ec9b8f53f0mr2286838985a.41.1776964369277; Thu, 23 Apr 2026 10:12:49 -0700 (PDT) Received: from localhost ([2001:1970:3847:e000:e8bd:ca0f:c232:9f10]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8e7d8edb789sm1800887585a.31.2026.04.23.10.12.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 10:12:48 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 1/4] python3-vcs-versioning: add recipe Date: Thu, 23 Apr 2026 13:12:43 -0400 Message-ID: <20260423171246.309711-1-tgamblin@baylibre.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 23 Apr 2026 17:12:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235828 The setuptools-scm project[1] now ships a second module which can be used independently of setuptools if desired. This is now a dependency for setuptools-scm, so add a recipe for it. Update the maintainers.inc file with the recipe and myself as maintainer. [1] https://github.com/pypa/setuptools-scm Signed-off-by: Trevor Gamblin --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-vcs-versioning_1.1.1.bb | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-vcs-versioning_1.1.1.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 07e840ac34..9f4ae051da 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -750,6 +750,7 @@ RECIPE_MAINTAINER:pn-python3-unittest-automake-output = "Ross Burton X-Patchwork-Id: 86788 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 C3498FDEE2C for ; Thu, 23 Apr 2026 17:12:54 +0000 (UTC) Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2813.1776964373597384344 for ; Thu, 23 Apr 2026 10:12:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20251104.gappssmtp.com header.s=20251104 header.b=WXYi1mt7; spf=pass (domain: baylibre.com, ip: 209.85.219.46, mailfrom: tgamblin@baylibre.com) Received: by mail-qv1-f46.google.com with SMTP id 6a1803df08f44-8a016799d2cso77119056d6.1 for ; Thu, 23 Apr 2026 10:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1776964371; x=1777569171; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IiD8WP4zLmw3lIHF67GHLXtte7zL8AFzVfP+rH3Kg4s=; b=WXYi1mt7u4XYPHH3hQIErOykQsZkGDQhPlqGikIW4u1qO6jRQ5Nh74VS38/Aua/MS4 6GCR4aUaZM14Th36PqWvE3a1jWh/ezdMhqcky4ys3qD/cVRD4pGOBThWI9W0MhxN7HG6 C6nTNk0NsrPTTn1klpsSjKayi3Paah8l3lYHzOAYDN150iJ/TLsQIg2dSnsD2jrSQKIN ULO8DFPicR8aDGRU88nX5m37x+/nlVpCFDzoKXNMQCA5st1yrcmOqhZndqwizAK/376E Fr6GRGpbCKZRVXJcHYPYUS018+O7BGix6fOAnFeXovckcQogvcD6RhXaP//BrhBIT0RO Qc0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776964371; x=1777569171; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=IiD8WP4zLmw3lIHF67GHLXtte7zL8AFzVfP+rH3Kg4s=; b=HYXCG28Xiqs+4kEeQSmnV+VWVGp0TX6WUJrUSN3YDHgobjhJEAsMXGHRN+poTGeQeu mp8Ek3jz1G7+pM3dtpUaDZu78rHQJv5i1bwMQ3ccYFkLhM/9OXM5VrKqLoP3V+/4x1jn M786leiPeVMdVu1YSvEFQXjxHUeFtFMKadzLIIPma41ujqTFcS6SMvwwCeq7JrDOiKXx vCGxLsfMMmozpSKky2h3NiPb1h/048jMcIq7Ogp9GtxoIKpBUr53398PP7sndG6LyKeV LqcWYn2uUvgrgJXeHI3Tc7v+LUaWzGPlckPZBKZwnlYOFqmxGbB3AHbz0xgo8RztsUOm sxXw== X-Gm-Message-State: AOJu0Yxm8Lor6+mAnYUH/BzVPqYEAuh0F/mrtYfHr4SxcPpmzdU//KN3 GEZR5rzqlkJ2eppH3AXC1ACIuhx3Kny/BMnL14RiOXGk97V3azxUxYyQQOnJpHpZTK7IE/MGHsq nYm3K X-Gm-Gg: AeBDies99CiL4LOGRbCZUKmt89DfclA6Bj6TKhtgFGh9MTNQVW218u9JNL1LGnvWsqQ YaZupxsR6npUaGbyxgmGe7XZSQ+b1RN9mzghvDiDuublwxY0YwRAP9iE22ICd1mA5NJAs/AyXva EocBhejzRMHyrYe4Z0vheGlvqYK9pc34CWjCO6JAEbigoEPf1UoKYK1EE4fN9GAMj6OpqCA/BrX hlRxZD66sUkw/zI8kBaHQJoUhoF22bdBChI3AefnRJ1cMeDtOnunmPq4RbVCWF3yjPtO0T1wLCy 37glM4aUFNdqZIc+CAPWepBLTtqxHEMSB2VyzhpCrgK9NLC5b70rDeZY00dwV/fLLpEdMhEKlSM Aq8bfN0l9kMwz3pqmWxlD1W1FoIMDup8wM+TP0FcepcuV5JZn52Elx8J2SvC69Covj0XppwbGuI ENoKi6cC5HGAswr+gAgugVkdRg3yuS5UPREdcK1w== X-Received: by 2002:ad4:5c81:0:b0:8ae:6587:3d6c with SMTP id 6a1803df08f44-8b0280eaa5fmr461912616d6.28.1776964371218; Thu, 23 Apr 2026 10:12:51 -0700 (PDT) Received: from localhost ([2001:1970:3847:e000:e8bd:ca0f:c232:9f10]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8b1f5d1002fsm74313676d6.12.2026.04.23.10.12.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 10:12:50 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 2/4] python3-setuptools-scm: upgrade 9.2.2 -> 10.0.5 Date: Thu, 23 Apr 2026 13:12:44 -0400 Message-ID: <20260423171246.309711-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260423171246.309711-1-tgamblin@baylibre.com> References: <20260423171246.309711-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 23 Apr 2026 17:12:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235829 Changelog: https://github.com/pypa/setuptools-scm/releases Note that the releases page also includes notes for the vcs-versioning module, which is published separately (and which setuptools-scm depends on). The new python3-vcs-versioning recipe is added to dependency lists. Also rework the DEPENDS list to match the same formatting as RDEPENDS. Signed-off-by: Trevor Gamblin --- ...tools-scm_9.2.2.bb => python3-setuptools-scm_10.0.5.bb} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools-scm_9.2.2.bb => python3-setuptools-scm_10.0.5.bb} (79%) diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_9.2.2.bb b/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb similarity index 79% rename from meta/recipes-devtools/python/python3-setuptools-scm_9.2.2.bb rename to meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb index d16d79c79f..3e86c4fd2c 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_9.2.2.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb @@ -6,13 +6,16 @@ argument or in a SCM managed file." LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" -SRC_URI[sha256sum] = "1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57" +SRC_URI[sha256sum] = "bbba8fe754516cdefd017f4456721775e6ef9662bd7887fb52ae26813d4838c3" PYPI_PACKAGE = "setuptools_scm" inherit pypi python_setuptools_build_meta -DEPENDS += "python3-packaging-native" +DEPENDS += "\ + python3-packaging-native \ + python3-vcs-versioning-native \ +" RDEPENDS:${PN} = "\ python3-packaging \ From patchwork Thu Apr 23 17:12:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 86790 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 A16A1FDEE2F for ; Thu, 23 Apr 2026 17:13:04 +0000 (UTC) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2816.1776964375198898598 for ; Thu, 23 Apr 2026 10:12:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20251104.gappssmtp.com header.s=20251104 header.b=aagUDh6A; spf=pass (domain: baylibre.com, ip: 209.85.222.172, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-8ee9ec26edaso342386085a.2 for ; Thu, 23 Apr 2026 10:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1776964373; x=1777569173; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sNX4J2py+gatkk1hYRc9eJdSM3+ZshoMBFPwLEUWo9Q=; b=aagUDh6AO3u5pDvhN+TNgLy07wWc3zJTDg+QhkM7NNCS1ruTXvUL2O6ZYBgE6aocA3 mFIYPvDdN3abGUk57t8mt8Dyvlg90sg4JUwSiH3Abcwk+f899MZMrLj7SdV3NMk6OGP+ v/SFQ++fdY+tlxSIu+R4KBB7GkOTNj1+QuyXIZg4XNVh2eMsa7o0zN9JJpGHteVOWHq1 7bgp4mAk518lgZMjK/SBSemJrmCerCTjNw0FSh4aKpvWaEZtN76dK/vi63O7h86BQOYM 9+9/DqzfP3VHIjxVcET3GCPPekqVWQj+NbFO76F6CF2QtPT3fzk6bz/2rFHz6GUUjC+J xGuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776964373; x=1777569173; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=sNX4J2py+gatkk1hYRc9eJdSM3+ZshoMBFPwLEUWo9Q=; b=oZLi/YFLnp6zA4c9QTCEQibXrFcvhFRZmFv9NuSogmhRzf34txe6Di1Sv53VOfrLmr umY9i5Ham3jFx/dasEoPzm7WnqByMrxjJqdA+b01OWclA1jrO72zIEkQgeYgVFQ6Uxix qXN4FvxtE82fl3QANDQZK0bIkr1HQ2yGAGLFzMnHtYZ9+0pdt5gWOAAx/5qYX7ejomKG XgvknW+02ZY5RN5ZPxXVpYhZUgSPrs3+JU1ppmUjy59HbVu/VkmI2rRcBCSBxvJru239 eAaKGOz+VhWk/4kciP//dnNF2uwbNN419D9akP97wGX0k4CD00Hp2vc77+5GUIbATB5B vlhw== X-Gm-Message-State: AOJu0YzyRjCSNO+3dtPqoNE71sFlIk8amuO5lgMgGq3+OF6wA2zMrySL a80GgswvEjY7rc+euC1via0TIkqm7HcfX+euxwsOmZITDnsyGxj+SG18KLppd5y/ALt+ROnUVty eY8us X-Gm-Gg: AeBDietFrkGrRw6U21KaRG9Xcez+7QdnhSjV0ElWIAouH2ohNqKSr5ggxc7S9mmSkFr B1imkEVKrN4vbRuNFuF1aX8dfcl+CRXs6qZcqjMq10U+NWkjQ52SvYHmoANZNiR2pCW1kgF9Dki n+yKVdIORtELZbNFeHH9a95ZDpG8RRoWLOSjymWF9GH/H1a1u6c+mwBt+1Tk1Apu8T55F1yjmxG cnGumN1S18vrI5QU/4vS74YZd/iDKBs4Yz89HHbnI7bXOMth5FsfegDR1tUdFq96EGgegpfsvxY 0kjmFVGcRrr8/pA9I9v2tmloOWK/li9jD6Iy1eg/qgs5EgwFYY781M5U7xa1a8LCmYAuDn9qwQc dHKjYHHCP0h7V3BNNdYrC5PcXVYH+Yd/32seoU0zO5O0lILlLR017Lp+fAFLXJh2o7nZOxBRPdz 9mwzaNoXr/3hpM7iX9/FHkfvmEDLkLFplkUVYh5Q== X-Received: by 2002:a05:620a:3727:b0:8e7:756c:f089 with SMTP id af79cd13be357-8e791d8a36emr4105310385a.51.1776964373317; Thu, 23 Apr 2026 10:12:53 -0700 (PDT) Received: from localhost ([2001:1970:3847:e000:e8bd:ca0f:c232:9f10]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8e7d8edb7acsm1757709685a.28.2026.04.23.10.12.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 10:12:52 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 3/4] maintainers.inc: add self for python3-uv-build Date: Thu, 23 Apr 2026 13:12:45 -0400 Message-ID: <20260423171246.309711-3-tgamblin@baylibre.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260423171246.309711-1-tgamblin@baylibre.com> References: <20260423171246.309711-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 23 Apr 2026 17:13:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235830 It's listed as unmaintained, so fix that. Signed-off-by: Trevor Gamblin --- meta/conf/distro/include/maintainers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 9f4ae051da..f98305e930 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -749,7 +749,7 @@ RECIPE_MAINTAINER:pn-python3-typogrify = "Trevor Gamblin RECIPE_MAINTAINER:pn-python3-unittest-automake-output = "Ross Burton " RECIPE_MAINTAINER:pn-python3-uritools = "Marta Rybczynska " RECIPE_MAINTAINER:pn-python3-urllib3 = "Tim Orling " -RECIPE_MAINTAINER:pn-python3-uv-build = "Unassigned " +RECIPE_MAINTAINER:pn-python3-uv-build = "Trevor Gamblin " RECIPE_MAINTAINER:pn-python3-vcs-versioning = "Trevor Gamblin " RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield " RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling " From patchwork Thu Apr 23 17:12:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 86791 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 AE301FDEE31 for ; Thu, 23 Apr 2026 17:13:04 +0000 (UTC) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.2695.1776964377021284282 for ; Thu, 23 Apr 2026 10:12:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20251104.gappssmtp.com header.s=20251104 header.b=YPUx+rjP; spf=pass (domain: baylibre.com, ip: 209.85.222.170, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-8ee63e91acfso257867085a.2 for ; Thu, 23 Apr 2026 10:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1776964375; x=1777569175; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=9ZWD8nMp+NPDzGyM42GlU5qYkT3IzTFN1fEdf29kOPw=; b=YPUx+rjPsDe8A/TKzVaETWLheiA6Yn7MATW1N0MyaOX9Fd2rplagdcVoOlb8iY43SW mhOCuJ4iNEqHZmr4MWUcnWDKhY5So5ez/tqFMQ9xAh9dHj/g6+faRff87rfs9j2fofvF zWSVrZZB/3rkRJVVj2zbmewRBzTC6RUsT0NkuiqIpUfprkBqv1hdw8iqWpw0tzxLpj4b pkvagVa94BiUKhExJRG2ny4m7ZdevfXPM4Xj37T2eJrOpZFYt3mr7DzcH9MOj2+GESI7 0y8qTsUI2jl0cXrldKIrG/66D2fOPiTTD/ZqIeVChWwyZ7LSVG2j35uiMfHKR5Jv4jXt qtmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776964375; x=1777569175; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=9ZWD8nMp+NPDzGyM42GlU5qYkT3IzTFN1fEdf29kOPw=; b=hor+wZssXQAXtP+ffhmvwKFe2YqCjxJlvNmKbvBrboHdG5CsxUoiWFZD5fyfRkFahf vqvHA3BEtBLN5tcY5JpjdOoWXZ+ExbhW18ngf5HUwNtWeRNca+sNNk7dLS0AwDTQJT4/ 7LvRjkBhntv+I/pFdcDcdSwDT5QloK76qmQJeM++py3LuV0YxrNCKyQ0WqhHP/+LJAMA Ra2mi+eHqQHaaqtNVOibP0IlIB7myfLm5tAqcMoRHPOx7N0X/PBnZJAP6oWnbCGEcbDh HHeFxTTfSNNldTkq6+I4S+GI1QtHGn1GNxYCp5g0mvDmlzzHk36ye4vItYbLGJFrHpJC Jbhw== X-Gm-Message-State: AOJu0YxdVGwiwyI/H4MHU0hRpFZ1xBwlLmwpaA0mfwYwwWFwVt5ZfBwm FA/PuhvUd6j6QHuE83wdRnECaE8wAoU4Onv7zaowkAh/E0DkpuPWdtjsT7LXjlVh8//2cYVFKrZ IdZfK X-Gm-Gg: AeBDies5nf+KQjr+1Y62BaBOB/Lw2ajiuzaSLl9XDqP2EkQb0SBQZZ41UOr2tefbnVb x5ihbvJ4wOOfsIj0cBrHuO5mb5M0c63f1/HaHzB98wgexSPMn3RUF7bXBDgO4OqAevLU7O1ehnH m8tMwHp0hFzd0+mVfpp+dpXg9+n3AvowxcMHhG24EeMWrfHZ7UuczAX4P3euVhg/+KDoohPariK B8potOcdwqOQFnk50QgLqbEf1qX2HQmYjWiazyOrYuzmS7amycAcn3gJnPmjMlscv0wnt6/UUIk g6k5CKRIdNt43+6R+sdDfYvG/3o+uyHNYTtWjyZHQORD8WzmpVbVTSKCV0pJn+RcXuHQwa2tlnw LAMQkMIUi8YIwf0h2ry2pUpbFNPsoCdCxuadio9+yGSuOR4AW2I9VTRla3jTZNBCiBtwemD3Ywz oidSjo/qLKSP2RsnCHfWj2aAoeJB501GKWrB//Gg== X-Received: by 2002:ad4:5aac:0:b0:896:fdd6:4a93 with SMTP id 6a1803df08f44-8b02817214bmr449347466d6.50.1776964375243; Thu, 23 Apr 2026 10:12:55 -0700 (PDT) Received: from localhost ([2001:1970:3847:e000:e8bd:ca0f:c232:9f10]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8b02ae86947sm213869266d6.37.2026.04.23.10.12.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 10:12:54 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 4/4] python3-vcs-versioning: add ptest Date: Thu, 23 Apr 2026 13:12:46 -0400 Message-ID: <20260423171246.309711-4-tgamblin@baylibre.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260423171246.309711-1-tgamblin@baylibre.com> References: <20260423171246.309711-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 23 Apr 2026 17:13:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235831 The tests are in the 'testing_vcs' directory, so set PTEST_PYTEST_DIR accordingly. Add setuptools, setuptools-scm, and git to the ptest RDEPENDS, since many of the tests make use of them. Many of the skipped tests depend on mercurial, but that's in meta-oe and not worth moving to oe-core just for this. Add python3-vcs-versioning to PTESTS_FAST in ptest-packagelists.inc, since the suite only takes a few seconds. We also need a custom run-ptest script for two reasons: 1. There is a 'vcs_versioning.test_api' used as a plugin. This is mentioned in conftest.py but is intended to be picked up from pyproject.toml, which we don't ship with the ptest image. Instead, just add '-p vcs_versioning.test_api' to the pytest call. 2. The test logic tries to rewrite pytest's assertion failures, which doesn't work well with our automake formatting. We can work around this by telling pytest to output plain messages with --assert=plain. Example test results: |============================================================================ |Testsuite summary |# TOTAL: 409 |# PASS: 364 |# SKIP: 44 |# XFAIL: 1 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 3 |END: /usr/lib/python3-vcs-versioning/ptest |2026-04-23T16:21 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 Signed-off-by: Trevor Gamblin --- .../distro/include/ptest-packagelists.inc | 1 + .../python/python3-vcs-versioning/run-ptest | 6 ++++++ .../python/python3-vcs-versioning_1.1.1.bb | 19 ++++++++++++++++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/python/python3-vcs-versioning/run-ptest diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 11a894accf..d7a529678f 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -87,6 +87,7 @@ PTESTS_FAST = "\ python3-pyyaml \ python3-rpds-py \ python3-trove-classifiers \ + python3-vcs-versioning \ python3-uritools \ python3-wcwidth \ python3-webcolors \ diff --git a/meta/recipes-devtools/python/python3-vcs-versioning/run-ptest b/meta/recipes-devtools/python/python3-vcs-versioning/run-ptest new file mode 100644 index 0000000000..6550ec8273 --- /dev/null +++ b/meta/recipes-devtools/python/python3-vcs-versioning/run-ptest @@ -0,0 +1,6 @@ +#!/bin/sh + +# we need to load the vcs_versioning.test_api plugin for some tests to work. +# Also make sure that we don't get pretty diffs for assertion errors so that we +# don't see terminalreporter errors (which the automake plugin un-registers). +pytest -p vcs_versioning.test_api --assert=plain --automake diff --git a/meta/recipes-devtools/python/python3-vcs-versioning_1.1.1.bb b/meta/recipes-devtools/python/python3-vcs-versioning_1.1.1.bb index 788717de9e..4d2f5007b4 100644 --- a/meta/recipes-devtools/python/python3-vcs-versioning_1.1.1.bb +++ b/meta/recipes-devtools/python/python3-vcs-versioning_1.1.1.bb @@ -7,9 +7,14 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c9b06ad2ebd7e2e82d34b3caf353e7d5" SRC_URI[sha256sum] = "fabd75a3cab7dd8ac02fe24a3a9ba936bf258667b5a62ed468c9a1da0f5775bc" +SRC_URI += "\ + file://run-ptest \ +" + PYPI_PACKAGE = "vcs_versioning" +PTEST_PYTEST_DIR = "testing_vcs" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "\ python3-packaging-native \ @@ -21,4 +26,16 @@ RDEPENDS:${PN} = "\ python3-typing-extensions \ " +RDEPENDS:${PN}-ptest += "\ + git \ + python3-setuptools \ + python3-setuptools-scm \ +" + +do_install_ptest:append() { + rm -rf ${D}${PTEST_PATH}/.pytest_cache + find ${D}${PTEST_PATH} -name __pycache__ -type d -exec rm -rf {} + + find ${D}${PTEST_PATH} -name '*.pyc' -delete +} + BBCLASSEXTEND = "native nativesdk"