mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
python3-pychromecast: Relax build requirements
The upstream pyproject.toml caps setuptools at <83.0, but OE builds with --no-isolation against the native setuptools (now 83.0.0), so the build fails with "Missing dependencies: setuptools<83.0,>=65.6". Drop the spurious upper bound. Fold this into the existing wheel-version relaxation so pyproject.toml is adjusted by a single patch. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
+9
-4
@@ -1,9 +1,14 @@
|
||||
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] Allow building with wheel 0.47+
|
||||
Subject: [PATCH] pyproject.toml: Relax build requirements
|
||||
|
||||
Upstream-Status: Pending
|
||||
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).
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific dependency versions]
|
||||
|
||||
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
|
||||
---
|
||||
@@ -17,7 +22,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,<83.0", "wheel>=0.37.1,<0.48.0"]
|
||||
+requires = ["setuptools>=65.6", "wheel>=0.37.1,<0.48.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
||||
[project]
|
||||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
|
||||
|
||||
SRC_URI += "file://0001-Allow-building-with-wheel-0.47.patch"
|
||||
SRC_URI += "file://0001-pyproject.toml-relax-build-requirements.patch"
|
||||
SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
Reference in New Issue
Block a user