From c0fb020740903f8ef2635fc9fac5839327c578ca Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 22 Dec 2025 07:21:47 -0800 Subject: [PATCH] python3-pytest-metadata: Upgrade to 3.1.1 pytest-metadata version 2.0.2 has a bug where it tries to access py.__version__, but the py library version 1.11.0 removed the __version__ attribute. This is a known incompatibility. Switch to hatching build backend Signed-off-by: Khem Raj --- ...metadata_2.0.2.bb => python3-pytest-metadata_3.1.1.bb} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pytest-metadata_2.0.2.bb => python3-pytest-metadata_3.1.1.bb} (61%) diff --git a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb similarity index 61% rename from meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb rename to meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb index 9243f6646e..64589b31b6 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb @@ -4,9 +4,13 @@ DEPENDS += "python3-setuptools-scm-native" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" -SRC_URI[sha256sum] = "fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5" +SRC_URI[sha256sum] = "d2a29b0355fbc03f168aa96d41ff88b1a3b44a3b02acbe491801c98a048017c8" -inherit pypi python_poetry_core +inherit pypi python_hatchling + +PYPI_PACKAGE = "pytest_metadata" + +DEPENDS += "python3-hatch-vcs-native" RDEPENDS:${PN} = " \ python3-pytest \