Skip to content

Commit ccb26f3

Browse files
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/lora/lora/lora/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ def _can_ignore_error(e):
4444
del ok
4545

4646

47-
__version__ = '0.2.1'
47+
__version__ = "0.2.1"

0 commit comments

Comments
 (0)