mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-17 14:18:53 +00:00
python3Packages.bleak-esphome: 3.9.5 -> 3.9.7
Diff: https://github.com/bluetooth-devices/bleak-esphome/compare/v3.9.5...v3.9.7 Changelog: https://github.com/bluetooth-devices/bleak-esphome/blob/v3.9.7/CHANGELOG.md
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
diff --git a/tests/conftest.py b/tests/conftest.py
|
||||
index 55defbe..551d19e 100644
|
||||
--- a/tests/conftest.py
|
||||
+++ b/tests/conftest.py
|
||||
@@ -9,7 +9,7 @@ from aioesphomeapi import (
|
||||
ReconnectLogic,
|
||||
)
|
||||
from bleak_retry_connector import BleakSlotManager
|
||||
-from bluetooth_adapters import BluetoothAdapters
|
||||
+from bluetooth_adapters import get_adapters
|
||||
from habluetooth import (
|
||||
BluetoothManager,
|
||||
set_manager,
|
||||
@@ -20,7 +20,7 @@ from zeroconf import Zeroconf
|
||||
@pytest.fixture(scope="session", autouse=True)
|
||||
def manager():
|
||||
slot_manager = BleakSlotManager()
|
||||
- bluetooth_adapters = BluetoothAdapters()
|
||||
+ bluetooth_adapters = get_adapters()
|
||||
set_manager(BluetoothManager(bluetooth_adapters, slot_manager))
|
||||
|
||||
@@ -19,20 +19,16 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bleak-esphome";
|
||||
version = "3.9.5";
|
||||
version = "3.9.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluetooth-devices";
|
||||
repo = "bleak-esphome";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-S4tYL/fq7wMjq81WRftZ1A+RVxs7kGpaM/TfVBNBgaI=";
|
||||
hash = "sha256-MimbUCaGbzAs1qom2ET9dGn1WHjcoaWBWGcoqWVuaF8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./bluetooth-adapters-2.4.0-compat.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools>=75.8.2" setuptools
|
||||
|
||||
Reference in New Issue
Block a user