Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LWP3 REPL updates #92

Merged
merged 3 commits into from
Jul 1, 2024
Merged

LWP3 REPL updates #92

merged 3 commits into from
Jul 1, 2024

Conversation

dlech
Copy link
Member

@dlech dlech commented Jul 1, 2024

Fixes: #91

dlech added 2 commits July 1, 2024 11:37
In Python 3.12, we are getting an exception when trying to cast an int
to a PortID since the enum doesn't have any members.

This can be fixed by adding an unused member.

Fixes: pybricks#91
This changes the output on a SyntaxError to only show the relevant info
instead of the full stack trace.
We are using some features only available in Python 3.10, so we need
to set this as the minimum version.
@dlech dlech merged commit 21be7c3 into pybricks:master Jul 1, 2024
6 checks passed
@dlech dlech deleted the lwp3-repl-updates branch July 1, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LWP3 repl initial traceback
1 participant