Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch
T
Khem Raj 17aac827e3 python3-pychromecast: drop wheel upper cap in build requirements
The relax-build-requirements patch capped wheel at <0.48.0, which
excludes exactly the wheel 0.48.0 that oe-core now ships, so do_compile
fails its build-requirement check:

  ERROR Unmet dependencies ... wheel<0.48.0,>=0.37.1  found: 0.48.0

Drop the wheel upper cap entirely, mirroring the setuptools change
already in this patch: OE provides wheel via DEPENDS and builds with
--no-isolation, so the cap is spurious.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-17 17:14:24 -07:00

30 lines
1.0 KiB
Diff

From a82451e8f2db33e22fef6714ddbd35a3e03debff Mon Sep 17 00:00:00 2001
From: Khem Raj <khem.raj@oss.qualcomm.com>
Date: Thu, 14 May 2026 11:49:05 -0700
Subject: [PATCH] pyproject.toml: Relax build requirements
Drop the upstream setuptools and wheel upper caps. OE provides both via
DEPENDS and builds with --no-isolation, so the caps are spurious and
break the build whenever oe-core ships a newer version (currently
setuptools 83.0.0 and wheel 0.48.0, the latter excluded by the previous
"wheel<0.48.0" bound).
Upstream-Status: Inappropriate [oe-core specific dependency versions]
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 20524ca..fc62798 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=65.6,<83.0", "wheel>=0.37.1,<0.47.0"]
+requires = ["setuptools>=65.6", "wheel>=0.37.1"]
build-backend = "setuptools.build_meta"
[project]