Skip to content

python3Packages.bleak: 2.1.1 -> 3.0.2, adopt#517078

Open
rhendric wants to merge 2 commits intoNixOS:masterfrom
rhendric:rhendric/python3Packages.bleak
Open

python3Packages.bleak: 2.1.1 -> 3.0.2, adopt#517078
rhendric wants to merge 2 commits intoNixOS:masterfrom
rhendric:rhendric/python3Packages.bleak

Conversation

@rhendric
Copy link
Copy Markdown
Member

@rhendric rhendric commented May 6, 2026

https://github.com/hbldh/bleak/releases

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. labels May 6, 2026
@rhendric rhendric marked this pull request as ready for review May 6, 2026 00:52
@rhendric rhendric requested a review from dotlambda May 6, 2026 00:55
@rhendric rhendric marked this pull request as draft May 6, 2026 01:06
@rhendric rhendric force-pushed the rhendric/python3Packages.bleak branch from 644b154 to 6ac38b4 Compare May 6, 2026 01:08
@rhendric rhendric changed the base branch from staging to master May 6, 2026 01:08
@nixpkgs-ci nixpkgs-ci Bot closed this May 6, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this May 6, 2026
@rhendric rhendric force-pushed the rhendric/python3Packages.bleak branch from 6ac38b4 to 6e3f3a1 Compare May 6, 2026 01:10
Copy link
Copy Markdown

@nixpkgs-branch-check nixpkgs-branch-check Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR's base branch is set to master, but this PR causes 1275 rebuilds.
It is therefore considered a mass rebuild.
Please change the base branch to the right base branch for your changes (probably staging).

@rhendric rhendric marked this pull request as ready for review May 6, 2026 01:17
@SuperSandroBot
Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 517078 -p home-assistant.tests.components.bluetooth
Commit: 6e3f3a1062c828ec6608e009018cdbff396296a9 (subsequent changes)
Merge: d738b0b1363577164eb624549b5af1a0d5605a14

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/25434827824


x86_64-linux

❌ 1 package failed to build:
  • home-assistant.tests.components.bluetooth

Error logs: `x86_64-linux`
home-assistant.tests.components.bluetooth
tests/components/bluetooth/test_advertisement_tracker.py: 7 warnings
tests/components/bluetooth/test_base_scanner.py: 6 warnings
tests/components/bluetooth/test_manager.py: 3 warnings
  /nix/store/cgk2ykijyaadc1687r0w4psf8pi1fdyc-python3-3.14.3/lib/python3.14/asyncio/events.py:94: DeprecationWarning: the 'adapter' keyword argument is deprecated, use the 'bluez' kwarg instead with {'adapter': '<adapter_name>'}
    self._context.run(self._callback, *self._args)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/components/bluetooth/test_models.py::test_wrapped_bleak_client_local_adapter_only - TypeError: BleakClientBlueZDBus.init() missing 1 required keyword-only ...
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_longer_than_adapter_stack_timeout_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_longer_than_adapter_stack_timeout_adapter_change_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_shorter_than_adapter_stack_timeout_adapter_change_not_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_longer_than_adapter_stack_timeout_adapter_change_not_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_longer_increasing_than_adapter_stack_timeout_adapter_change_not_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_init.py::test_register_callback_survives_reload - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_init.py::test_process_advertisements_bail_on_good_advertisement - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_init.py::test_process_advertisements_ignore_bad_advertisement - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_manager.py::test_set_fallback_interval_small - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_manager.py::test_set_fallback_interval_big - homeassistant.data_entry_flow.UnknownHandler
====== 1 failed, 233 passed, 1 skipped, 193 warnings, 10 errors in 20.02s ======


aarch64-linux

❌ 1 package failed to build:
  • home-assistant.tests.components.bluetooth

Error logs: `aarch64-linux`
home-assistant.tests.components.bluetooth
tests/components/bluetooth/test_usage.py: 1 warning
tests/components/bluetooth/test_websocket_api.py: 11 warnings
tests/components/bluetooth/test_wrappers.py: 5 warnings
  /build/source/homeassistant/components/bluetooth/__init__.py:406: DeprecationWarning: the 'adapter' keyword argument is deprecated, use the 'bluez' kwarg instead with {'adapter': '<adapter_name>'}
    await scanner.async_start()

tests/components/bluetooth/test_advertisement_tracker.py: 7 warnings
tests/components/bluetooth/test_base_scanner.py: 6 warnings
tests/components/bluetooth/test_manager.py: 3 warnings
/nix/store/813mwq39h8kq26zl587zy4i5q6084xy9-python3-3.14.3/lib/python3.14/asyncio/events.py:94: DeprecationWarning: the 'adapter' keyword argument is deprecated, use the 'bluez' kwarg instead with {'adapter': '<adapter_name>'}
self._context.run(self._callback, *self._args)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/components/bluetooth/test_models.py::test_wrapped_bleak_client_local_adapter_only - TypeError: BleakClientBlueZDBus.init() missing 1 required keyword-only ...
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_longer_than_adapter_stack_timeout_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_advertisement_tracker.py::test_advertisment_interval_longer_than_adapter_stack_timeout_adapter_change_not_connectable - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_init.py::test_process_advertisements_bail_on_good_advertisement - homeassistant.data_entry_flow.UnknownHandler
ERROR tests/components/bluetooth/test_manager.py::test_set_fallback_interval_big - homeassistant.data_entry_flow.UnknownHandler
====== 1 failed, 233 passed, 1 skipped, 193 warnings, 4 errors in 12.73s =======

@rhendric
Copy link
Copy Markdown
Member Author

rhendric commented May 6, 2026

nix-build -A home-assistant.tests.components.bluetooth also fails for me on master.

@SuperSandro2000
Copy link
Copy Markdown
Member

SuperSandro2000 commented May 7, 2026

I tested it with 2026.5.0 merge from yesterday today and that works on master. Lets see what nixpkgs-review-gha says

@SuperSandroBot
Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 517078 -p home-assistant.tests.components.bluetooth
Commit: 6e3f3a1062c828ec6608e009018cdbff396296a9 (subsequent changes)
Merge: 639b6012e6815066e389592050a435d4df817180

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/25509369182


x86_64-linux

❌ 1 package failed to build:
  • home-assistant.tests.components.bluetooth

Error logs: `x86_64-linux`
home-assistant.tests.components.bluetooth
tests/components/bluetooth/test_init.py::test_wrapped_instance_with_service_uuids_with_coro_callback
  /build/source/tests/components/bluetooth/test_init.py:2709: DeprecationWarning: HaBleakScannerWrapper.register_detection_callback() is deprecated and will be removed in a future release; bleak already removed this method from BleakScanner. Pass detection_callback to the HaBleakScannerWrapper constructor instead.
    scanner.register_detection_callback(_device_detected)

tests/components/bluetooth/test_init.py::test_wrapped_instance_with_broken_callbacks
/build/source/tests/components/bluetooth/test_init.py:2763: DeprecationWarning: HaBleakScannerWrapper.register_detection_callback() is deprecated and will be removed in a future release; bleak already removed this method from BleakScanner. Pass detection_callback to the HaBleakScannerWrapper constructor instead.
scanner.register_detection_callback(_device_detected)

tests/components/bluetooth/test_init.py::test_wrapped_instance_changes_uuids
/build/source/tests/components/bluetooth/test_init.py:2814: DeprecationWarning: HaBleakScannerWrapper.register_detection_callback() is deprecated and will be removed in a future release; bleak already removed this method from BleakScanner. Pass detection_callback to the HaBleakScannerWrapper constructor instead.
scanner.register_detection_callback(_device_detected)

tests/components/bluetooth/test_init.py::test_wrapped_instance_changes_filters
/build/source/tests/components/bluetooth/test_init.py:2870: DeprecationWarning: HaBleakScannerWrapper.register_detection_callback() is deprecated and will be removed in a future release; bleak already removed this method from BleakScanner. Pass detection_callback to the HaBleakScannerWrapper constructor instead.
scanner.register_detection_callback(_device_detected)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/components/bluetooth/test_models.py::test_wrapped_bleak_client_local_adapter_only - TypeError: BleakClientBlueZDBus.init() missing 1 required keyword-only ...
=========== 1 failed, 234 passed, 1 skipped, 202 warnings in 15.55s ============

@SuperSandro2000 SuperSandro2000 moved this to Waiting for next release in Home Assistant May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

Status: Waiting for next release

Development

Successfully merging this pull request may close these issues.

3 participants