diff mbox series

python3-dbus-fast: upgrade 4.0.0 -> 5.2.0

Message ID 20261023164041.3766710-1-ross.burton@arm.com
State Under Review
Headers show
Series python3-dbus-fast: upgrade 4.0.0 -> 5.2.0 | expand

Commit Message

Ross Burton Oct. 23, 2026, 4:40 p.m. UTC
Drop the Cython version patch, as upstream has a wider range now.

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

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ...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%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch b/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch
deleted file mode 100644
index e5b53340a85..00000000000
--- a/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch
+++ /dev/null
@@ -1,34 +0,0 @@ 
-From bca444d7069afab9e1ac84f765e744d308d39e57 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-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 <raj.khem@gmail.com>
-Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
----
- 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]
diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_4.0.0.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_5.2.0.bb
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
--- a/meta-python/recipes-devtools/python/python3-dbus-fast_4.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-dbus-fast_5.2.0.bb
@@ -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"