Skip to contentSkip to conversation

python3-dbus-fast: upgrade 4.0.0 -> 5.2.0

PATCH New Ross Burton 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-dbus-fast: upgrade 4.0.0 -> 5.2.0

Drop the Cython version patch, as upstream has a wider range now.

async-timeout was removed as an dependency upstream in v1.90.0.

---
 ...emove-upper-version-constraint-for-C.patch | 34 -------------------
 ...st_4.0.0.bb => python3-dbus-fast_5.2.0.bb} |  9 ++---
 2 files changed, 3 insertions(+), 40 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch
 rename meta-python/recipes-devtools/python/{python3-dbus-fast_4.0.0.bb => python3-dbus-fast_5.2.0.bb} (55%)
meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch deleted +0 -34
deleted file mode 100644
index e5b53340a85..00000000000
@@ -1,34 +0,0 @@
-From bca444d7069afab9e1ac84f765e744d308d39e57 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sun, 18 May 2025 10:24:19 -0700
-Subject: [PATCH] pyproject.toml: Remove upper version constraint for Cython
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
-Signed-off-by: Leon Anavi <[email protected]>
----
- pyproject.toml | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 6604cb8..40bd8c3 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -50,7 +50,7 @@ pytest-cov = ">=3,<8"
- pytest-asyncio = ">=0.19,<1.4"
- pycairo = "^1.21.0"
- PyGObject = {version = ">=3.50,<3.51", python = "<4"}
--Cython = ">=3,<3.3.0"
-+Cython = ">=3"
- setuptools = ">=65.4.1,<81.0.0"
- pytest-timeout = "^2.1.0"
- pytest-codspeed = ">=3.1.1,<5.0.0"
-@@ -108,7 +108,7 @@ module = "docs.*"
- ignore_errors = true
- 
- [build-system]
--requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3,<3.3.0', "poetry-core>=1.0.0"]
-+requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3', "poetry-core>=1.0.0"]
- build-backend = "poetry.core.masonry.api"
- 
- [tool.ruff]
meta-python/recipes-devtools/python/python3-dbus-fast_5.2.0.bb renamed from meta-python/recipes-devtools/python/python3-dbus-fast_4.0.0.bb +3 -6
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-dbus-fast_4.0.0.bb
rename to meta-python/recipes-devtools/python/python3-dbus-fast_5.2.0.bb
index 2f4d43e1121..134f60942d3 100644
@@ -3,14 +3,11 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947"
 
-SRC_URI += "file://0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch"
-SRC_URI[sha256sum] = "e1d3ee49a4a81524d7caaa2d5a31fc71075a1c977b661df958cee24bef86b8fe"
+SRC_URI[sha256sum] = "a4a5dddc04b1ade5eb7650d791e2f6fb7c1334595593473914e78a2526ecddda"
 
 inherit pypi python_poetry_core cython
 
+# Remove when https://github.com/Bluetooth-Devices/dbus-fast/issues/825 is closed
 DEPENDS += "python3-wheel-native"
 
-RDEPENDS:${PN} += " \
-    python3-core (>=3.7) \
-    python3-async-timeout \
-"
+RDEPENDS:${PN} += "python3-core"
Signature · 1 line
2.43.0