Skip to contentSkip to conversation

python3-gcovr: fix build with newer hatch-fancy-pypi-readme

PATCH New [email protected] 1 participant 1 message May 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-gcovr: fix build with newer hatch-fancy-pypi-readme

From: Martin Jansa <[email protected]>

It was upgraded in:
https://lists.openembedded.org/g/openembedded-core/message/216335

and now this fails with:
* Getting build dependencies for wheel...

ERROR Missing dependencies:
hatch-fancy-pypi-readme==24.1.0

---
 ...yproject.toml-Support-newer-versions.patch | 21 ++++++++++---------
 1 file changed, 11 insertions(+), 10 deletions(-)
meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch +11 -10
index cf5ddf31cc..b06acdf333 100644
@@ -1,4 +1,4 @@
-From 7963caede294c7615ab0a60900e37790731279cc Mon Sep 17 00:00:00 2001
+From 99d7788bab614ff5a451f09204139b4cae40be3e Mon Sep 17 00:00:00 2001
 From: Leon Anavi <[email protected]>
 Date: Tue, 4 Mar 2025 13:30:48 +0000
 Subject: [PATCH] pyproject.toml: Support newer versions
@@ -9,22 +9,23 @@ Upstream-Status: Inappropriate [oe specific]
 
 Signed-off-by: Leon Anavi <[email protected]>
 ---
- pyproject.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ pyproject.toml | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/pyproject.toml b/pyproject.toml
-index e162ba062..89798fa23 100644
+index f8e54eb03..e6242f042 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
-@@ -1,7 +1,7 @@
+@@ -1,9 +1,9 @@
  
  [build-system]
  requires = [
 -    "hatchling==1.26.1",
+-    "hatch-vcs==0.4.0",
+-    "hatch-fancy-pypi-readme==24.1.0"
 +    "hatchling>=1.26.1",
-     "hatch-vcs==0.4.0",
-     "hatch-fancy-pypi-readme==24.1.0"
++    "hatch-vcs>=0.4.0",
++    "hatch-fancy-pypi-readme>=24.1.0"
  ]
--- 
-2.39.5
-
+ build-backend = "hatchling.build"
+