Skip to content

Conversation

@1e0ng
Copy link
Contributor

@1e0ng 1e0ng commented May 29, 2025

The error message raised in pybricksdev.compile.compile_file when an unsupported ABI version was provided incorrectly stated "mpy_version must be 5". This has been corrected to "mpy_version must be 5 or 6" to accurately reflect the supported ABI versions.

A new test case (test_compile_file_invalid_abi) has been added to tests/test_compile.py to verify that the correct ValueError and message are raised for invalid ABI versions.

The error message raised in `pybricksdev.compile.compile_file` when an
unsupported ABI version was provided incorrectly stated "mpy_version must be 5".
This has been corrected to "mpy_version must be 5 or 6" to accurately
reflect the supported ABI versions.

A new test case (`test_compile_file_invalid_abi`) has been added to
`tests/test_compile.py` to verify that the correct ValueError and
message are raised for invalid ABI versions.
@dlech dlech merged commit e0c8dad into pybricks:master May 30, 2025
7 checks passed
@dlech
Copy link
Member

dlech commented May 30, 2025

Thanks!

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.

2 participants