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 <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-12-22 07:21:47 -08:00
parent 9b995cb29a
commit c0fb020740
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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 \