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

Switch the #! lines in all .py files to python3 #10357

Merged
merged 1 commit into from
Feb 5, 2020
Merged

Switch the #! lines in all .py files to python3 #10357

merged 1 commit into from
Feb 5, 2020

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 5, 2020

This is one step towards using python3 by default everywhere.
Notably:

  • python2 is still fully supported at this point
  • The top level scripts such as emcc as opposed to emcc.py are
    still run under just "python" so will work with whatever the system
    default is. This is because we still want to run on the default OSX
    install which doesn't python3 installed (and probably never will).

Also:

  • switch circleci testing on linux to python2
  • Update some docs that refer to python2

See #7198

This is one step towards using python3 by default everywhere.
Notably:
- python2 is still fully supported at this point
- The top level scripts such as `emcc` as opposed to `emcc.py` are
  still run under just "python" so will work with whatever the system
  default is.  This is because we still want to run on the default OSX
  install which doesn't python3 installed (and probably never will).

Also:
- switch circleci testing on linux to python2
- Update some docs that refer to python2

See #7198
@sbc100 sbc100 requested review from kripken and dschuff February 5, 2020 02:14
@dschuff
Copy link
Member

dschuff commented Feb 5, 2020

by "doesn't python3 installed" you mean that osx will never have a binary named 'python3'? Or OSX will never have python3, and the user will have to install it themselves?

@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 5, 2020

by "doesn't python3 installed" you mean that osx will never have a binary named 'python3'? Or OSX will never have python3, and the user will have to install it themselves?

I mean python3 is not part of the OS base image.

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but I think this comment in the PR's description should be 3 and not 2?

switch circleci testing on linux to python2

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.

3 participants