Skip to content

Commit 6757f5c

Browse files
committed
slog depends on powermon, so move it within the optional block as well
1 parent b8c0a62 commit 6757f5c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

meshtastic/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
RidenPowerSupply,
3232
SimPowerSupply,
3333
)
34+
from meshtastic.slog import LogSet
3435
have_powermon = True
3536
powermon_exception = None
3637
except ImportError as e:
3738
have_powermon = False
3839
powermon_exception = e
3940
from meshtastic.protobuf import channel_pb2, config_pb2, portnums_pb2
40-
from meshtastic.slog import LogSet
4141
from meshtastic.version import get_active_version
4242

4343
meter: Optional[PowerMeter] = None

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ pyyaml = "^6.0.1"
2121
pypubsub = "^4.0.3"
2222
bleak = "^0.21.1"
2323
packaging = "^24.0"
24-
parse = "^1.20.2"
25-
pyarrow = "^16.1.0"
26-
platformdirs = "^4.2.2"
2724
print-color = "^0.4.6"
2825
dash = { version = "^2.17.1", optional = true }
2926
pytap2 = { version = "^2.3.0", optional = true }
@@ -54,6 +51,9 @@ optional = true
5451
[tool.poetry.group.powermon.dependencies]
5552
riden = { git = "https://github.com/geeksville/riden.git#1.2.1" }
5653
ppk2-api = "^0.9.2"
54+
parse = "^1.20.2"
55+
pyarrow = "^16.1.0"
56+
platformdirs = "^4.2.2"
5757

5858
# If you are doing power analysis you might want these extra devtools
5959
[tool.poetry.group.analysis]

0 commit comments

Comments
 (0)