Bläddra i källkod

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

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

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Martin Jansa 2 veckor sedan
förälder
incheckning
3366a012c5

+ 11 - 10
meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch

@@ -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 <leon.anavi@konsulko.com>
 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 <leon.anavi@konsulko.com>
 ---
- 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"
+