Skip to content

Use python3 instead of python - #130

Closed
quad wants to merge 1 commit into
mozilla:masterfrom
quad:patch-2
Closed

quad wants to merge 1 commit into
mozilla:masterfrom
quad:patch-2

Conversation

@quad

@quad quad commented Jul 10, 2023

Copy link
Copy Markdown

python hasn't existed on macOS since 12.3. And python3 should exist on any modern Linux installation.

`python` hasn't existed on macOS since 12.3. And `python3` _should_ exist on any modern Linux installation.
@joseluu

joseluu commented Sep 15, 2023

Copy link
Copy Markdown

python3 also exists on Windows

  • when installing from microsoft store
  • within msys64
  • within the git for windows sdk

@benedikt-bartscher

Copy link
Copy Markdown

I had installed python-is-python3 for our debian based CI. I can confirm this PR makes it work by default on modern systems.

@fannnzhang

Copy link
Copy Markdown

In source code:
image and
image
u can see that if u want use python3 u can just set the property in local.properies file

image i set the python command to python6 just for test and u can see the project build fail

@rvandermeulen

Copy link
Copy Markdown
Collaborator

Thanks for this! Closing in favor of #180, which prefers python3 when it's on the PATH and falls back to python, and keeps python on Windows, where switching unconditionally would break setups that only have python.

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.

5 participants