python3-pychromecast: upgrade 14.0.9 -> 14.0.10
PATCH 1/1 python3-pychromecast: upgrade 14.0.9 -> 14.0.10
Beside the below changelog, it also allows compiling with the latest Setuptools.
Drop patches which became obsolete.
Changes:
- Ensure cec info is none if not supported
- Add some fast pre-commit checks
- Switch to ruff for checks and formatting
- add D24f-J09 to const.py
- Update const.py to include Lenovo Smart Display 10
- Avoid logging graceful disconnect as error
- Fix datetime deprecation
---
...-version-to-0.46.1-for-python3-wheel.patch | 23 -------------------
.../0002-allow-newer-wheel.patch | 22 ------------------
...0.9.bb => python3-pychromecast_14.0.10.bb} | 6 +----
3 files changed, 1 insertion(+), 50 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch
rename meta-python/recipes-devtools/python/{python3-pychromecast_14.0.9.bb => python3-pychromecast_14.0.10.bb} (62%)meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From 672b0501526fc7c91725236fc37db82794096832 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Tue, 1 Jul 2025 23:14:08 -0700 -Subject: [PATCH] bump required version to 0.46.1 for python3-wheel - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index d5a518c..a6a159d 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.0"] -+requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.2"] - build-backend = "setuptools.build_meta" - - [project]
meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch deleted +0 -22
@@ -1,22 +0,0 @@ -From e11eb34d1196a9dc35fef213aeffdfd8e6e29f44 Mon Sep 17 00:00:00 2001 -From: Tom Geelen <[email protected]> -Date: Sun, 8 Feb 2026 19:14:09 +0100 -Subject: [PATCH] allow newer wheel - -Signed-off-by: Tom Geelen <[email protected]> -Upstream-Status: Pending ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 4c98630..75a15da 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.2"] -+requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.4"] - build-backend = "setuptools.build_meta" - - [project]
meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb renamed from meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb +1 -5
@@ -3,11 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" -SRC_URI += "file://0001-bump-required-version-to-0.46.1-for-python3-wheel.patch \ - file://0002-allow-newer-wheel.patch \ - " - -SRC_URI[sha256sum] = "fe78841b0b04aa107d08aed216e91ab9cfb54b11d089d382be4e987e3631d4a6" +SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c" inherit pypi python_setuptools_build_meta
I had cobbled together a similar patch in master-next, thanks for submitting, I have replaced the staged version with this one.
Quoted 129 lines · Gyorgy Sarvari via lists.openembedded.org
Beside the below changelog, it also allows compiling with the latest Setuptools.
Drop patches which became obsolete.
Changes:
- Ensure cec info is none if not supported
- Add some fast pre-commit checks
- Switch to ruff for checks and formatting
- add D24f-J09 toconst.py
- Updateconst.pyto include Lenovo Smart Display 10
- Avoid logging graceful disconnect as error
- Fix datetime deprecationSigned-off-by Gyorgy Sarvari <[email protected]>--- ...-version-to-0.46.1-for-python3-wheel.patch | 23 ------------------- .../0002-allow-newer-wheel.patch | 22 ------------------ ...0.9.bb => python3-pychromecast_14.0.10.bb} | 6 +---- 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch rename meta-python/recipes-devtools/python/{python3-pychromecast_14.0.9.bb => python3-pychromecast_14.0.10.bb} (62%)
diff --git
a/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patchb/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patchdeleted file mode 100644
index 655b9c08c7..0000000000
---a/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch+++/dev/nullmeta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch deleted +0
-23@@ -1,23 +0,0 @@ -From 672b0501526fc7c91725236fc37db82794096832 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Tue, 1 Jul 2025 23:14:08 -0700 -Subject: [PATCH] bump required version to 0.46.1 for python3-wheel - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index d5a518c..a6a159d 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.0"] -+requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.2"] - build-backend = "setuptools.build_meta" - - [project]diff --git
a/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patchb/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patchdeleted file mode 100644
index 456feb6010..0000000000
---a/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch+++/dev/nullmeta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch deleted +0
-22@@ -1,22 +0,0 @@ -From e11eb34d1196a9dc35fef213aeffdfd8e6e29f44 Mon Sep 17 00:00:00 2001 -From: Tom Geelen <[email protected]> -Date: Sun, 8 Feb 2026 19:14:09 +0100 -Subject: [PATCH] allow newer wheel - -Signed-off-by: Tom Geelen <[email protected]> -Upstream-Status: Pending ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 4c98630..75a15da 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.2"] -+requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.4"] - build-backend = "setuptools.build_meta" - - [project](quoted diff) +0
-0python3-pychromecast_14.0.9.bb b/meta-python/recipes-devtools/python/ python3-pychromecast_14.0.10.bb
similarity index 62%
rename from meta-python/recipes-devtools/python/ python3-pychromecast_14.0.9.bb
rename to meta-python/recipes-devtools/python/ python3-pychromecast_14.0.10.bb
index6f88684f8b..cdd85a550f100644meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb renamed from meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb +0
-5@@ -3,11 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" -SRC_URI += "file://0001-bump-required-version-to-0.46.1-for-python3-wheel.patch \ - file://0002-allow-newer-wheel.patch \ - " - -SRC_URI[sha256sum] ="
fe78841b0b04aa107d08aed216e91ab9cfb54b11d089d382be4e987e3631d4a6" +SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c"inherit pypi
python_setuptools_build_meta-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#125412):
https://lists.openembedded.org/g/openembedded-devel/message/125412
Mute This Topic: https://lists.openembedded.org/mt/118406719/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-