From 3bf7ce06147c2f906e7e1a3826ff87c9be041c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 23 Sep 2025 05:13:10 -0700 Subject: [PATCH 1/3] python3Packages.bleak: 1.0.1 -> 1.1.1 Diff: https://github.com/hbldh/bleak/compare/v1.0.1...v1.1.1 Changelog: https://github.com/hbldh/bleak/blob/v1.1.1/CHANGELOG.rst --- pkgs/development/python-modules/bleak/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bleak/default.nix b/pkgs/development/python-modules/bleak/default.nix index 6ac36b12b90c..8fd97203fc4e 100644 --- a/pkgs/development/python-modules/bleak/default.nix +++ b/pkgs/development/python-modules/bleak/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "bleak"; - version = "1.0.1"; + version = "1.1.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "hbldh"; repo = "bleak"; tag = "v${version}"; - hash = "sha256-JHTyTHMMZDD75baQK3nf4R+8eW0Tt62CMTXb8eRKp94="; + hash = "sha256-z0Mxr1pUQWNEK01PKMV/CzpW+GeCRcv/+9BADts1FuU="; }; postPatch = '' From 6ed1c9c510c2e1760a1ddf9e670b9ff0afc3da31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 23 Sep 2025 05:11:41 -0700 Subject: [PATCH 2/3] python3Packages.bluetooth-adapters: 2.1.0 -> 2.1.1 Diff: https://github.com/Bluetooth-Devices/bluetooth-adapters/compare/v2.1.0...v2.1.1 Changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/releases/tag/v2.1.1 --- .../python-modules/bluetooth-adapters/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bluetooth-adapters/default.nix b/pkgs/development/python-modules/bluetooth-adapters/default.nix index b0d0e9d2cf5e..8a6f6c7e983a 100644 --- a/pkgs/development/python-modules/bluetooth-adapters/default.nix +++ b/pkgs/development/python-modules/bluetooth-adapters/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "bluetooth-adapters"; - version = "2.1.0"; + version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "bluetooth-adapters"; tag = "v${version}"; - hash = "sha256-euAyVSBmlMsPMUnxn8L7p0n939TQe4id+JTtUk4pHIY="; + hash = "sha256-M9Me+fTaw//wGVd9Ss9iYB7RMgfkxJZz2lT60lHe3Vg="; }; outputs = [ @@ -71,7 +71,7 @@ buildPythonPackage rec { meta = { description = "Tools to enumerate and find Bluetooth Adapters"; homepage = "https://github.com/Bluetooth-Devices/bluetooth-adapters"; - changelog = "https://github.com/bluetooth-devices/bluetooth-adapters/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/Bluetooth-Devices/bluetooth-adapters/releases/tag/${src.tag}"; license = lib.licenses.asl20; teams = [ lib.teams.home-assistant ]; }; From 5c3af5af31ea775d32fc180451f447b2b603ad29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 23 Sep 2025 05:52:57 -0700 Subject: [PATCH 3/3] python3Packages.aranet4: fix test failing with bleak 1.1.0 --- pkgs/development/python-modules/aranet4/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/aranet4/default.nix b/pkgs/development/python-modules/aranet4/default.nix index ecdc427138f7..95da1bb6ad8f 100644 --- a/pkgs/development/python-modules/aranet4/default.nix +++ b/pkgs/development/python-modules/aranet4/default.nix @@ -3,6 +3,7 @@ bleak, buildPythonPackage, fetchFromGitHub, + fetchpatch, pytestCheckHook, pythonOlder, requests, @@ -23,6 +24,15 @@ buildPythonPackage rec { hash = "sha256-/FBrP4aceIX9dcZmm+k13PSAPuK4SQenjWqOAFPSvL8="; }; + patches = [ + # https://github.com/Anrijs/Aranet4-Python/pull/62 + (fetchpatch { + name = "fix-for-failing-test-with-bleak-1.1.0.patch"; + url = "https://github.com/Anrijs/Aranet4-Python/pull/62/commits/0117633682050c77cd00ead1bce93375367d7a3c.patch"; + hash = "sha256-S4Di6bKbapCpDdOIy4sSiG9dO7OZq5ixjjK+ux4EEp0="; + }) + ]; + build-system = [ setuptools ]; dependencies = [