Kevin Hester
7b18fd599c
remove observable - switch because we are already using pubsub elsewhere
2024-06-25 10:25:58 -07:00
Kevin Hester
46edd78f92
For poetry change: need to put venv in our path so mypy protobuf plugin works
...
# Conflicts:
# bin/regen-protobufs.sh
2024-06-25 10:25:52 -07:00
Kevin Hester
67e1e7c318
move mypy and type info into dev-time only dependencies thx @njh
...
# Conflicts:
# poetry.lock
# pyproject.toml
2024-06-25 10:23:34 -07:00
Kevin Hester
51c6c2cae1
The github action for building protobufs is using 0.4.6 so we should match
2024-06-25 10:21:11 -07:00
Kevin Hester
9c657c6c8a
switch to latest protobufs
2024-06-25 10:21:11 -07:00
Kevin Hester
79c65c1706
make slog nicely add new rows
2024-06-25 10:21:11 -07:00
Kevin Hester
0e45637f2c
generalize the powermon stuff to become structured logging
2024-06-25 10:21:11 -07:00
Kevin Hester
be74c3eea0
fix linter warnings
2024-06-25 10:21:11 -07:00
Kevin Hester
362c1f3d2a
remove python 3.8
2024-06-25 10:21:11 -07:00
Kevin Hester
cc60f3ebc0
begin support for multiple power meter types
2024-06-25 10:21:11 -07:00
Kevin Hester
a1f86a351a
add typing hints
2024-06-25 10:21:11 -07:00
Kevin Hester
21e5601b23
run linter as part of prerelease tests
2024-06-25 10:21:11 -07:00
Kevin Hester
338f00a64a
minor cleanup on observable
2024-06-25 10:21:11 -07:00
Kevin Hester
a3462e0209
didn't mean to check in built protobufs
2024-06-25 10:21:02 -07:00
Kevin Hester
b41cb7d8df
Merge branch 'pr-poetry' into powermon
2024-06-22 10:49:42 -07:00
geeksville
4203553a44
changes to (hopefully) make release CI actions work
...
add pyinstaller as a dev dep. Use it to make "bin/build-bin.sh"
remove old version scripts (no longer needed with poetry)
2024-06-22 09:34:24 -07:00
geeksville
9e319f3c52
update CI scripts to allow running CI on the desktop (see below)
...
* add script to run 'act' local github actions tool (lets devs check github
actions on their local machine)
* Update various github actions to latest (so they can work with the 'act'
tool)
* change a few places where python version was not properly quoted as a
string (act yaml parser is more strict than the github version)
* update pylint min-version to work with recent github actions
* remove pandas/riden requirement (that's in my other branch for now)
2024-06-22 08:02:33 -07:00
geeksville
cd5913ae6d
WIP switch to using Poetry for builds/dev usage. Looks pretty good
...
still need to update readme and pypi upload
2024-06-22 08:01:54 -07:00
Ian McEwen
23f41bff0a
Improve ACK handling: correctly pass them to onAckNak handlers, and add a mechanism for other handlers to request acks as well.
2024-06-20 16:52:01 -07:00
Ian McEwen
a1021c4f78
add dotmap back, that test file isn't in tests, it's in meshtastic.test, oops
2024-06-20 16:45:22 -07:00
Ian McEwen
b06329f47e
Remove dotmap and pexpect from setup.py, they shouldn't be required
2024-06-20 16:40:46 -07:00
Ian McEwen
53b0e35b0c
protobufs: v2.3.12
2024-06-09 19:30:11 -07:00
github-actions
9ac5aeeaf0
bump version
2024-06-08 15:10:49 +00:00
Ian McEwen
5c703aff1d
Merge pull request #591 from ianmcorvidae/device-metadata-resp
...
Wait for response with --device-metadata. Fixes #527
2.3.11
2024-06-08 07:29:45 -07:00
Ian McEwen
5441266565
Wait for response with --device-metadata. Fixes #527
2024-06-08 07:26:20 -07:00
Ian McEwen
890557fa5d
Merge branch 'more-tests'
2024-06-05 19:58:03 -07:00
Ian McEwen
e27d210a71
Test with --dest on setlat/remove-position for the error/exit case
2024-06-05 19:57:40 -07:00
Ian McEwen
16c08b8b47
Add simple --remove-position test
2024-06-05 19:54:12 -07:00
Ian McEwen
ebd3c7f5e8
Add test for fromStr base64 branch
2024-06-05 19:48:58 -07:00
Ian McEwen
da0312a5b0
more miscellaneous types
2024-06-05 19:44:18 -07:00
Ian McEwen
919ae8c40f
make pylint happy, again
2024-06-05 19:32:45 -07:00
Ian McEwen
dd4fccbc77
Add a fairly simple property-based test as a starting point
2024-06-05 19:29:55 -07:00
Ian McEwen
32682b5230
Merge pull request #589 from ianmcorvidae/nodeless-startup
...
Allow a faster nodedb-less startup on 2.3.11+ with `--no-nodes`
2024-06-05 18:59:18 -07:00
Ian McEwen
9dab76bb64
quell pylint
2024-06-05 18:56:19 -07:00
Ian McEwen
e6d61c6603
Allow a faster nodedb-less startup on 2.3.11+ with --no-nodes and the magic value from meshtastic/firmware#3949
2024-06-05 18:52:35 -07:00
Ian McEwen
ee857c5128
Merge pull request #588 from nerdenator/quick-coverage
...
quick-coverage: simple test case just to cover uncovered code.
2024-06-03 23:22:33 -07:00
Nerdenator
87a4bb0888
quick-coverage: fixing linting issues.
2024-06-04 01:15:10 -05:00
Nerdenator
d72cc0e201
quick-coverage: simple test case just to cover uncovered code.
2024-06-04 01:01:32 -05:00
Ian McEwen
b350b9eab9
Update the main module docstring to be a bit more accurate, at least
2024-06-01 23:03:56 -07:00
Ian McEwen
dc112f2f3a
protobufs: v2.3.11
2024-06-01 12:04:01 -07:00
github-actions
14ae4eeac1
bump version
2024-06-01 18:47:51 +00:00
Ian McEwen
bbc526d0a8
Merge pull request #584 from ianmcorvidae/improve-fixed-position
...
Use new fixed position admin messages and add `--remove-position` argument
2.3.10
2024-06-01 00:44:17 -07:00
Ian McEwen
abe98f5079
Merge pull request #585 from ianmcorvidae/position-rounding
...
Fix rounding of position values when converting from integer to float in _fixupPosition
2024-06-01 00:42:58 -07:00
Ian McEwen
e8dfee8454
Fix rounding of position values when converting from integer to float in _fixupPosition. Fixes #572
2024-05-31 18:57:30 -07:00
Ian McEwen
1746ad15d7
Use new fixed position admin messages and add --remove-position argument. Fixes #525
2024-05-31 18:44:33 -07:00
Ian McEwen
4d67e7fc76
Fix up/add some more types
2024-05-30 17:51:42 -07:00
Ian McEwen
3b112d2f49
Merge pull request #583 from ianmcorvidae/update-unknown-node-setup
...
Initialize unknown nodes more in line with meshtastic/design#16 ; show hardware in --nodes
2024-05-30 15:52:16 -07:00
Ian McEwen
93e9c1c66c
Initialize unknown nodes more in line with meshtastic/design#16
2024-05-30 13:50:52 -07:00
Ian McEwen
8e641b3186
Merge pull request #581 from 868meshbot/868meshbot-fix-ignore-incoming
...
Fix the ignore_incoming management BUG 568
2024-05-26 00:03:11 -07:00
Ian McEwen
ed545cd9b4
Merge pull request #580 from todd-herbert/wait-to-disconnect
...
Add "wait to disconnect" argument
2024-05-26 00:02:08 -07:00