You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
0 commit comments