Syntax error on python 3.9 #74

Closed
opened 2026-10-05 03:19:36 +02:00 by adam · 1 comment
Owner
(meshtastic):~/src/meshtastic $ contact 
Traceback (most recent call last):
  File "~/src/meshtastic/bin/contact", line 5, in <module>
    from contact.__main__ import start
  File "~/src/meshtastic/lib/python3.9/site-packages/contact/__main__.py", line 28, in <module>
    from contact.message_handlers.rx_handler import on_receive
  File "~/src/meshtastic/lib/python3.9/site-packages/contact/message_handlers/rx_handler.py", line 8, in <module>
    from contact.utilities.utils import (
  File "~/src/meshtastic/lib/python3.9/site-packages/contact/utilities/utils.py", line 185
    match portnum:
          ^
SyntaxError: invalid syntax

Please close if you don't want to support 3.9

``` (meshtastic):~/src/meshtastic $ contact Traceback (most recent call last): File "~/src/meshtastic/bin/contact", line 5, in <module> from contact.__main__ import start File "~/src/meshtastic/lib/python3.9/site-packages/contact/__main__.py", line 28, in <module> from contact.message_handlers.rx_handler import on_receive File "~/src/meshtastic/lib/python3.9/site-packages/contact/message_handlers/rx_handler.py", line 8, in <module> from contact.utilities.utils import ( File "~/src/meshtastic/lib/python3.9/site-packages/contact/utilities/utils.py", line 185 match portnum: ^ SyntaxError: invalid syntax ``` Please close if you don't want to support 3.9 <!-- github-sync-id:3731775408 -->
adam closed this issue 2026-10-05 03:19:36 +02:00
Author
Owner

This was python 3.9.2 on a raspberry pi

This was python 3.9.2 on a raspberry pi <!-- github-comment-id:3657199279 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#74