Migrate all scripts to python3#28337
Open
narno2202 wants to merge 2 commits intoMarlinFirmware:bugfix-2.1.xfrom
Open
Migrate all scripts to python3#28337narno2202 wants to merge 2 commits intoMarlinFirmware:bugfix-2.1.xfrom
narno2202 wants to merge 2 commits intoMarlinFirmware:bugfix-2.1.xfrom
Conversation
Contributor
|
you can use |
Contributor
Author
|
Yes, I know but it's not installed by default and for Debian based distribution the rule is to use python3 or python2. For an out-of-the-box experience, it's better (my point of Vue) to have python3 instead of python. |
Contributor
|
We should follow debian stable (trixie atm) if possible without backward compatibility forcing like python-is-python3. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Trying to
run_testslocally was impossible due to the scripts pointing to python instead of python3.Since Debian 11, python is no longer a symlink to python3 or python2. python3 or python2 should be explicitly used. Currently there is a mix of scripts using pyrhon3 while others still use python. Migrate the remaining scripts to python3. Now the tests runs flawlessly.
Requirements
Benefits
Configurations
Related Issues