Skip to content

[python] explicitly specify python3 as the python interpreter#315

Merged
jwhui merged 1 commit intomainfrom
fix-python
Apr 22, 2025
Merged

[python] explicitly specify python3 as the python interpreter#315
jwhui merged 1 commit intomainfrom
fix-python

Conversation

@superwhd
Copy link
Copy Markdown
Contributor

@superwhd superwhd commented Apr 18, 2025

There are places in the repo that uses python <script> command to execute the code. This can cause problems when there's python2 interpreter available on the device because the code is for python3 only. This already happens on the OS of ot-reference-release because the image is too old and python2 is still available on that one.

While there's still a distance before ot-reference-release can migrate to a newer image, we need to fix it here.

This PR also contains the commit of #316.

@superwhd superwhd added bug Something isn't working p1 labels Apr 18, 2025
@superwhd superwhd force-pushed the fix-python branch 5 times, most recently from a2a360e to a64b1a2 Compare April 18, 2025 09:05
@superwhd superwhd requested a review from jwhui April 22, 2025 01:52
@jwhui jwhui merged commit f31a98a into main Apr 22, 2025
67 checks passed
@jwhui jwhui deleted the fix-python branch April 22, 2025 03:51
suveshpratapa added a commit to SiliconLabs/ot-reference-release that referenced this pull request May 15, 2025
…erence builds

Includes change to explicitly specify python3 as the python interpreter:
openthread/ot-commissioner#315
jwhui pushed a commit to openthread/ot-reference-release that referenced this pull request May 16, 2025
Includes change to explicitly specify python3 as the python interpreter:
openthread/ot-commissioner#315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working p1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants