Skip to content

Allow running on Python 3? #5950

Closed
Closed

Description

@saschanaz

Now we have all PRs merged to pass CI with Py3 (except #5946), we now can allow Py3 rather than forcing Py2. What do you think?

We currently have two CIs running, so we may let one to run Py2 and the other to run Py3.

Activity

  1. changed the title [-]Allow running by Python 3?[/-] [+]Allow running on Python 3?[/+] on Dec 19, 2017
  2. kripken commented on Dec 19, 2017

    @kripken
    Member

    Yeah, we should move forward here. How about allowing Py3, but showing a warning when it is used, "this is experimental" or such?

    Good idea about making one CI use 2, and the other 3. That can help a lot until we can move entirely to Py3.

  3. kripken commented on Dec 19, 2017

    @kripken
    Member

    Maybe it should even be a flag, emcc --python3? That might be excessive though.

  4. saschanaz commented on Dec 20, 2017

    @saschanaz
    CollaboratorAuthor

    Yeah, we should move forward here. How about allowing Py3, but showing a warning when it is used, "this is experimental" or such?

    👍

    Maybe it should even be a flag, emcc --python3? That might be excessive though.

    That way every test should add the flag, which is not preferable in my opinion. We may add a EMCC_OPTIONS environment variable and use EMCC_OPTIONS=--python3 to reduce diffs (like NODE_OPTIONS do)

  5. juj commented on Dec 20, 2017

    @juj
    Collaborator

    I think I should work on getting Emsdk to bundle up Python 3 as an optional package as well, so that we can get Windows users optionally over to Python 3 when possible, to get people to test this out. I think once things are solid, we could even look at dropping Python 2 support, since Python community seems to be aggressive about it.

    This is assuming that Python 3 has at least equally good Windows support, whereas Python 2 Windows was quite buggy for a long time in piping and multiprocessing support, causing some quite annoying workarounds.

  6. juj commented on Dec 20, 2017

    @juj
    Collaborator
  7. saschanaz commented on Jan 18, 2018

    @saschanaz
    CollaboratorAuthor

    Fixed by #5967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions