blob: 9d8e400b3a9960288258513c17b3a06caff2cb1d [file]
From 297d149636d063a82b33d95ab59928a88db51e4e Mon Sep 17 00:00:00 2001
From: Khem Raj <khem.raj@oss.qualcomm.com>
Date: Thu, 14 May 2026 11:44:44 -0700
Subject: [PATCH] Allow using newer versions of build dependencies
The pyproject.toml pins exact (==) versions of all build-system
requirements. When building with --no-isolation (as OE does), pip uses
the build dependencies already present in the sysroot, which are newer
than the pinned versions, e.g.:
ERROR Missing dependencies:
packaging==26.0
hatchling==1.29.0
Relax the exact pins to >= so that the (newer) provided versions
satisfy the requirements.
Upstream-Status: Pending
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
pyproject.toml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 657cc21..d1b9ce3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,10 +1,10 @@
[build-system]
requires = [
- "hatchling==1.30.1",
- "packaging==26.2",
- "pathspec==1.1.1",
- "pluggy==1.6.0",
- "trove-classifiers==2026.6.1.19",
+ "hatchling>=1.30.1",
+ "packaging>=26.2",
+ "pathspec>=1.1.1",
+ "pluggy>=1.6.0",
+ "trove-classifiers>=2026.6.1.19",
]
build-backend = "hatchling.build"