Unverified Commit 19a48432 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #318221 from fabaff/bthome-ble-bump

python312Packages.bthome-ble: 3.9.1 -> 3.9.3
parents 8e91c047 015e9f33
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@

buildPythonPackage rec {
  pname = "bthome-ble";
  version = "3.9.1";
  version = "3.9.3";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -23,13 +23,9 @@ buildPythonPackage rec {
    owner = "Bluetooth-Devices";
    repo = "bthome-ble";
    rev = "refs/tags/v${version}";
    hash = "sha256-v3SzzbdWRJISuF1THHlrvci4b+H1Zw/0e5iSEB0Scvw=";
    hash = "sha256-T6R3w8ZatgB73/rM5GLS9dBp3E1rvbqHo+QS6GHHI4w=";
  };

  patches = [
    ./habluetooth-3.0-compat.patch
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail " --cov=bthome_ble --cov-report=term-missing:skip-covered" ""
@@ -53,7 +49,7 @@ buildPythonPackage rec {
    description = "Library for BThome BLE devices";
    homepage = "https://github.com/Bluetooth-Devices/bthome-ble";
    changelog = "https://github.com/bluetooth-devices/bthome-ble/blob/v${version}/CHANGELOG.md";
    license = with licenses; [ mit ];
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+0 −48
Original line number Diff line number Diff line
diff --git a/tests/test_parser_v1.py b/tests/test_parser_v1.py
index d717263..bb03d80 100644
--- a/tests/test_parser_v1.py
+++ b/tests/test_parser_v1.py
@@ -77,6 +77,7 @@ def bytes_to_service_info(
         advertisement=None,
         connectable=False,
         time=ADVERTISEMENT_TIME,
+        tx_power=None,
     )
 
 
@@ -96,6 +97,7 @@ def bytes_to_encrypted_service_info(
         advertisement=None,
         connectable=False,
         time=ADVERTISEMENT_TIME,
+        tx_power=None,
     )
 
 
@@ -1195,6 +1197,7 @@ def test_bthome_multiple_uuids(caplog):
         advertisement=None,
         connectable=False,
         time=ADVERTISEMENT_TIME,
+        tx_power=None,
     )
 
     device = BTHomeBluetoothDeviceData()
diff --git a/tests/test_parser_v2.py b/tests/test_parser_v2.py
index 8fee31a..3ff8bc3 100644
--- a/tests/test_parser_v2.py
+++ b/tests/test_parser_v2.py
@@ -97,6 +97,7 @@ def bytes_to_service_info(
         advertisement=None,
         connectable=False,
         time=time,
+        tx_power=None,
     )
 
 
@@ -3171,6 +3172,7 @@ def test_bthome_multiple_uuids(caplog):
         advertisement=None,
         connectable=False,
         time=ADVERTISEMENT_TIME,
+        tx_power=None,
     )
 
     device = BTHomeBluetoothDeviceData()