diff mbox series

[meta-oe] python3-gcovr: fix build with newer hatch-fancy-pypi-readme

Message ID 20250514080014.2482513-1-martin.jansa@gmail.com
State New
Headers show
Series [meta-oe] python3-gcovr: fix build with newer hatch-fancy-pypi-readme | expand

Commit Message

Martin Jansa May 14, 2025, 8 a.m. UTC
From: Martin Jansa <martin.jansa@gmail.com>

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>
---
 ...yproject.toml-Support-newer-versions.patch | 21 ++++++++++---------
 1 file changed, 11 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch
index cf5ddf31cc..b06acdf333 100644
--- a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch
+++ b/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"
+