Skip to contentSkip to conversation

python3-pychromecast: fix build with setuptools 80.x

PATCH New Trevor Gamblin 1 participant 1 message May 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pychromecast: fix build with setuptools 80.x

Backport two patches to fix the pyproject.toml versions around setuptools. Once the next version of pychromecast is out, these should be removable.

---
 ...s-requirement-from-79.0-65.6-to-65.6.patch | 42 +++++++++++++++++++
 ...s-requirement-from-80.0-65.6-to-65.6.patch | 42 +++++++++++++++++++
 .../python/python3-pychromecast_14.0.7.bb     |  7 +++-
 3 files changed, 90 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch
meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch new file +42 -0
new file mode 100644
index 0000000000..b0d4a88c8e
@@ -0,0 +1,42 @@
+From ef27075e087e139921b99729a4ec7683e42c5c4a Mon Sep 17 00:00:00 2001
+From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
+Date: Mon, 21 Apr 2025 16:34:55 +0200
+Subject: [PATCH] Update setuptools requirement from <79.0,>=65.6 to
+ >=65.6,<80.0 (#1056)
+
+Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/commit/ef27075e087e139921b99729a4ec7683e42c5c4a]
+
+Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
+- [Release notes](https://github.com/pypa/setuptools/releases)
+- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
+- [Commits](https://github.com/pypa/setuptools/compare/v65.6.0...v79.0.0)
+
+---
+updated-dependencies:
+- dependency-name: setuptools
+  dependency-version: 79.0.0
+  dependency-type: direct:production
+...
+
+Signed-off-by: dependabot[bot] <[email protected]>
+Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
+
+Signed-off-by: Trevor Gamblin <[email protected]>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 34f5dc0..88d67fe 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=65.6,<79.0", "wheel>=0.37.1,<0.46.0"]
++requires = ["setuptools>=65.6,<80.0", "wheel>=0.37.1,<0.46.0"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+-- 
+2.39.5
+
meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch new file +42 -0

42 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb +6 -1
index 7bae0721db..260f6395b7 100644
@@ -3,7 +3,12 @@ HOMEPAGE = "https://github.com/balloob/pychromecast"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
 
-SRC_URI += "file://0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch"
+SRC_URI += "\
+            file://0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch \
+            file://0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch \
+            file://0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch \
+"
+
 SRC_URI[sha256sum] = "7abbae80a2c9e05b93b1a7b8b4d771bbc764d88fd5e56a566f46ac1bd3f93848"
 
 inherit pypi python_setuptools_build_meta
Signature · 1 line
2.39.5