Commit ccb26f3
committed
micropython/lora/lora-sx126x/manifest.py: Add dependencies for sync/async modems.
micropython/lora/lora-sx127x/manifest.py: Add dependencies for sync/async modems.
The lora-sx126x and lora-sx127x packages create SyncModem and AsyncModem classes by importing from lora.sync_modem and lora.async_modem modules
which are provided by the lora-sync and lora-async extension packages respectively.
However, the manifest.py files for these hardware driver packages did not require lora-sync or lora-async as dependencies.
This meant that when users installed lora-sx126x or lora-sx127x, they would get the hardware driver but not the modem wrapper classes needed to actually use it.
This commit adds the missing dependencies and increments the patch versions (0.1.5→0.1.6 for sx126x, 0.1.2→0.1.3 for sx127x), so users will receive the fixed packages.
Also fixed error handling in lora/__init__.py where ImportError would be raised incorrectly when the second hardware driver import failed, even if the first one had succeeded.
Signed-off-by: Breno RdV <breno.rdv@gmail.com>1 parent f3a9608 commit ccb26f3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
0 commit comments