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

Khem Raj <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Khem Raj <[email protected]>

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

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 <[email protected]>
 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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.