Disable blackbird integration - #157817
Conversation
There was a problem hiding this comment.
Pull request overview
This PR disables the blackbird integration due to its dependency on pyserial-asyncio, which performs blocking I/O operations in the asyncio event loop and is no longer maintained. This is a breaking change that prevents the integration from loading while preserving the code for potential future fixes.
Key Changes
- Added
disabledfield to manifest.json explaining why the integration is disabled - Removed pyblackbird dependency from requirements_all.txt and requirements_test_all.txt
- Added test configuration to ignore all test files for the disabled integration
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| homeassistant/components/blackbird/manifest.json | Added disabled field with explanation for disabling the integration |
| tests/components/blackbird/conftest.py | Added pytest configuration to ignore all test files for the disabled integration |
| requirements_all.txt | Removed pyblackbird dependency as integration is disabled |
| requirements_test_all.txt | Removed pyblackbird test dependency as integration is disabled |
|
Looking at the installation usage for this integration and the issues I think this integration can be removed |
|
For reference:
|
Also, it is easier to disable/enable than remove/re-add if someone is willing to take over the integration. |
|
Looks like the only activity on the lib was from issue koolsb/pyblackbird#7 and that was 2 years ago. |
Breaking change
This integration is disabled because it references pyserial-asyncio, which does blocking I/O in the asyncio loop and is not maintained.
Proposed change
Linked to #116635
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: