2 Commits

Author SHA256 Message Date
411dd11b44 Accepting request 1323570 from hardware
OBS-URL: https://build.opensuse.org/request/show/1323570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bleak?expand=0&rev=3
2025-12-19 15:42:56 +00:00
25afd7f8db - Update to version 1.1.1:
* bluezdbus: improve D-Bus connection error handling in manager
  * backends/bluez: don't bind lambda to loop variable
  * backends/p4android/client: initialize __callbacks to None
  * backends/winrt/client: call disconnect callback on disconnect
  * Pythonista iOS app backend support
  * bleak: add BleakClient.name property
  * backends: p4android: fix connect()
  * examples/service_explorer: pass objects directly instead of handles
  * Update service_explorer.py
  * github: add -v option to pytest
  * backends: bluezdbus: restore deprecated imports
  * backends/device: restore **kwargs in BLEDevice constructor
  * bluez: client: fix a few static typing complaints
  * "tomli" was included in Python 3.11 as "tomllib" (#1782)
  * bleak: use backend-specific key for seen_devices
  * backends: bluez: handle address change after pairing
  * bleak: use longer timeout when pairing during connect
  * build(deps-dev): bump urllib3 from 1.26.19 to 2.5.0
  * backends: winrt: scanner: enable extended advertising
  * build(deps-dev): bump requests from 2.32.0 to 2.32.4
  * github: add stale bot messages
  * backends: winrt: deprecate protection_level
  * backends: winrt: try highest pairing level first
  * backends: winrt: fix pair debug message with wrong value
  * backends: winrt: improve pairing error message
  * backends: winrt: swap order of is_paired and can_pair check
  * backends: winrt: move protection_level out of parameters
  * backends/characteristic: fix type hint
  * typings: fix a couple mypy complaints

OBS-URL: https://build.opensuse.org/package/show/hardware/python-bleak?expand=0&rev=5
2025-12-18 20:59:07 +00:00
6 changed files with 131 additions and 16 deletions

View File

@@ -1,12 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionformat">0.22.3</param>
<param name="versionformat">1.1.1</param>
<param name="url">https://github.com/hbldh/bleak.git</param>
<param name="filename">python-bleak</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.*</param>
<param name="revision">b094466</param>
<param name="exclude">.git*</param>
<param name="exclude">.editorconfig</param>
<param name="exclude">.readthedocs*</param>
<param name="exclude">.vscode</param>
<param name="revision">2564f91</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>

View File

@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hbldh/bleak.git</param>
<param name="changesrevision">b094466829e51f63e8e92c15c5ff3049105f2fb0</param>
<param name="changesrevision">2564f9162c46f451db8067930637f30487315f7a</param>
</service>
</servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5174009315616b79f80ef302ff7f24cd8b11978af70299cc2b865aa608d61cb0
size 652500

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e7dd31d9495e78bd9019e2691ba8ea420c68eeea9882dd68f3644ea103aa623
size 655324

View File

@@ -1,3 +1,118 @@
-------------------------------------------------------------------
Wed Oct 29 01:57:00 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to version 1.1.1:
* bluezdbus: improve D-Bus connection error handling in manager
* backends/bluez: don't bind lambda to loop variable
* backends/p4android/client: initialize __callbacks to None
* backends/winrt/client: call disconnect callback on disconnect
* Pythonista iOS app backend support
* bleak: add BleakClient.name property
* backends: p4android: fix connect()
* examples/service_explorer: pass objects directly instead of handles
* Update service_explorer.py
* github: add -v option to pytest
* backends: bluezdbus: restore deprecated imports
* backends/device: restore **kwargs in BLEDevice constructor
* bluez: client: fix a few static typing complaints
* "tomli" was included in Python 3.11 as "tomllib" (#1782)
* bleak: use backend-specific key for seen_devices
* backends: bluez: handle address change after pairing
* bleak: use longer timeout when pairing during connect
* build(deps-dev): bump urllib3 from 1.26.19 to 2.5.0
* backends: winrt: scanner: enable extended advertising
* build(deps-dev): bump requests from 2.32.0 to 2.32.4
* github: add stale bot messages
* backends: winrt: deprecate protection_level
* backends: winrt: try highest pairing level first
* backends: winrt: fix pair debug message with wrong value
* backends: winrt: improve pairing error message
* backends: winrt: swap order of is_paired and can_pair check
* backends: winrt: move protection_level out of parameters
* backends/characteristic: fix type hint
* typings: fix a couple mypy complaints
* backends: winrt: don't wait for disconnect
* backends: service: fix a type error with cast
* backends: refactor resolving descriptors
* backends: refactor common characteristics lookup code
* backends: service: remove BleakGATTService subclasses
* backends: characteristic: remove subclasses
* backends: descriptor: remove subclassess
* backends: corebluetooth: improve typings
* backends: bluezdbus: fix regression in connect() method
* backends: bluez: use None for name instead of address
* backends: scanner: fix type of device name
* examples: include device name in info
* backends: android: drop __del__ methods
* backends: scanner: use override decorator
* backends: scanner: remove set_scanning_filter() method
* backends: client: use @override decorator
* backends: get_services is no longer a required method
* typings/Foundation: add NSBundle
* typing: ignore PlatformBleakScanner constructor complaints
* backends: winrt: rename RawAdvData
* fix Self imports
* examples: more typing fixes
* examples: use {} instead of dict() for backend args
* bleak.args: add new sub-package for backend-specific args
* examples: strongly typed args namespace
* use absolute import instead of relative
* typings: fix wrong file extension
* backends: winrt: more typing improvements
* backends: bluez: type hint improvements
* general type hint improvements
* examples: fix wrong kwarg name
* backends: add hack to ignore different platforms from type checkers
* backends: bluez: fix wrong import module
* typing: fix unreachable
* typing: add explicit type for kwargs
* typing: fix missing generic type arguments
* typing: use collections.abc instead of deprecated typing aliases
* typing: use python 3.9 type[T] instead of typing.Type[T]
* typing: use python 3.9 set[T] instead of typing.Set
* typing: use python 3.9 dict[K, V] instead of typing.Dict
* typing: use python 3.9 tuple[...] instead of typing.Tuple[...]
* typing: use Python 3.9 list[T] instead of List[T]
* Update macos.rst
* docs: update RPi troubleshooting section
* github: only build and test if code changes
* github: add bot to close stale issues
* Drop support for BlueZ < 5.55
* Drop support for macOS < 10.13
* change connect/disconnect/pair/unpair method returns to None
* Remove deprecated properties from BLEDevice.
* don't allow calling is_connected as a method
* bleak: remove deprecated methods
* remove deprecated parameters
* bleak: undeprecate response=None arg to BleakClient.write_gatt_char()
* pyproject update jinja2
* docs/macos: elaborate on pairing
* corebluetooth: add type hints for new notification discriminator
* pyproject: update docs dependencies
* docs: remove requirements.txt
* bluez/characteristic: remove unused _GattCharacteristicsFlagsEnum
* bleak: add pair param to BleakClient()
* Corebluetooth: add notification descriminator (#1742)
* make extraction of device path from characteristic path more robust
* winrt: move event wait inside timeout
* winrt: improve logging in pair method
* winrt: fix another winrt v3 api change
* winrt: improve type hints for adv data args
* docs: ignore .venv dircectory
* bluez: Fix DBus connection leak by utilizing AsyncExitStack
* bluez: fix service interface leak
* bleak: restore description of response=None
* pyproject: remove upper bound on most dependency versions
* pyproject: drop support for Python 3.8
* bleak: deprecate omitting write_gatt_char() response arg
* setup.cfg: ignore Flake E231
* Update flake8 to 7.1.1 to fix false-positives
* Update black formatting
* Update poetry to v2
* Log to stderr instead of stdout by default
* github: drop -dev from Python 3.13
* Changing docstring with demo-code to r-string.
-------------------------------------------------------------------
Tue Nov 26 14:30:11 UTC 2024 - mmachova@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bleak
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,28 +27,25 @@
%define pname bleak
%{?sle15_python_module_pythons}
Name: python-%{pname}%{psuffix}
Version: 0.22.3
Version: 1.1.1
Release: 0
Summary: Python GATT client
License: MIT
Group: Development/Languages/Python
URL: https://github.com/hbldh/bleak
Source0: python-%{pname}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module dbus_fast >= 1.83.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module setuptools}
%if %python_version_nodots < 311
BuildRequires: %{python_module async_timeout >= 3.0.0}
%endif
%if %{with test}
BuildRequires: %{python_module async_timeout}
BuildRequires: %{python_module bleak}
BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module pytest-asyncio >= 0.19.0}
BuildRequires: %{python_module bleak = %{version}}
BuildRequires: %{python_module pytest >= 8.2.1}
BuildRequires: %{python_module pytest-asyncio >= 0.23.7}
BuildRequires: %{python_module pytest-cov >= 3.0.0}
BuildRequires: %{python_module typing_extensions >= 4.7.0}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros