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 <[email protected]>
---
 ...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 \
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122791): 
https://lists.openembedded.org/g/openembedded-devel/message/122791
Mute This Topic: https://lists.openembedded.org/mt/116902739/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to