diff mbox series

[meta-python] python3-pychromecast: drop wheel upper cap in build requirements

Message ID 20260818001407.1491175-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python] python3-pychromecast: drop wheel upper cap in build requirements | expand

Commit Message

Khem Raj Aug. 18, 2026, 12:14 a.m. UTC
From: Khem Raj <raj.khem@gmail.com>

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>
---
 ...0001-pyproject.toml-relax-build-requirements.patch | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch
index 74e8f4d438..c793465005 100644
--- a/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch
+++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch
@@ -3,10 +3,11 @@  From: Khem Raj <khem.raj@oss.qualcomm.com>
 Date: Thu, 14 May 2026 11:49:05 -0700
 Subject: [PATCH] pyproject.toml: Relax build requirements

-Allow building with wheel 0.47+ and drop the upstream setuptools upper
-cap. OE provides setuptools via DEPENDS and builds with --no-isolation,
-so the cap is spurious and breaks the build whenever oe-core ships a
-newer setuptools (currently 83.0.0).
+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]

@@ -22,7 +23,7 @@  index 20524ca..fc62798 100644
 @@ -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,<0.48.0"]
++requires = ["setuptools>=65.6", "wheel>=0.37.1"]
  build-backend = "setuptools.build_meta"

  [project]