Commit 527986e
Remove ebus_sdk.mqtt shim; import MqttClient directly
The src/ebus_sdk/mqtt.py shim has been re-exporting MqttClient and
AUTH_TYPE_USER_PASS from ebus-mqtt-client since 56ad978 (2026-03-14).
With the upstream package stable on PyPI, drop the shim and point the
in-tree imports at ebus_mqtt_client directly.
Public API is unchanged: `from ebus_sdk import MqttClient` still works.
Only direct `from ebus_sdk.mqtt import ...` would break, and nothing in
this repo does that.
tests/test_mqtt.py is removed as well; it duplicated tests that already
live in ebus-mqtt-client/tests/test_client.py. The two _on_message
dispatch tests that were unique to this file were ported upstream in
ebus-mqtt-client 9f73f82.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6942655 commit 527986e
4 files changed
Lines changed: 3 additions & 172 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | | - | |
| 1372 | + | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments