| Message ID | 20260319194024.878293-1-skandigraun@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-python] python3-pychromecast: upgrade 14.0.9 -> 14.0.10 | expand |
I had cobbled together a similar patch in master-next, thanks for submitting, I have replaced the staged version with this one. On Thu, Mar 19, 2026 at 12:40 PM Gyorgy Sarvari via lists.openembedded.org <skandigraun=gmail.com@lists.openembedded.org> wrote: > 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 > > Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> > --- > ...-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.patch > b/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch > deleted 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/null > @@ -1,23 +0,0 @@ > -From 672b0501526fc7c91725236fc37db82794096832 Mon Sep 17 00:00:00 2001 > -From: Khem Raj <raj.khem@gmail.com> > -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 <raj.khem@gmail.com> > ---- > - 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.patch > b/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch > deleted file mode 100644 > index 456feb6010..0000000000 > --- > a/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch > +++ /dev/null > @@ -1,22 +0,0 @@ > -From e11eb34d1196a9dc35fef213aeffdfd8e6e29f44 Mon Sep 17 00:00:00 2001 > -From: Tom Geelen <t.f.g.geelen@gmail.com> > -Date: Sun, 8 Feb 2026 19:14:09 +0100 > -Subject: [PATCH] allow newer wheel > - > -Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> > -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] > diff --git a/meta-python/recipes-devtools/python/ > python3-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 > index 6f88684f8b..cdd85a550f 100644 > --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb > +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb > @@ -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: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch deleted 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/null @@ -1,23 +0,0 @@ -From 672b0501526fc7c91725236fc37db82794096832 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -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 <raj.khem@gmail.com> ---- - 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.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch deleted file mode 100644 index 456feb6010..0000000000 --- a/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch +++ /dev/null @@ -1,22 +0,0 @@ -From e11eb34d1196a9dc35fef213aeffdfd8e6e29f44 Mon Sep 17 00:00:00 2001 -From: Tom Geelen <t.f.g.geelen@gmail.com> -Date: Sun, 8 Feb 2026 19:14:09 +0100 -Subject: [PATCH] allow newer wheel - -Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> -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] diff --git a/meta-python/recipes-devtools/python/python3-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 index 6f88684f8b..cdd85a550f 100644 --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb @@ -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
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 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> --- ...-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%)