Skip to content

Migrate all scripts, symlinks, and installed tools to Python3 #6376

Closed
@earlephilhower

Description

@earlephilhower

Python 2 has less than 5 months left to live (or at least, until all support ends)
https://pythonclock.org/

#6364 had an issue with a symlink to Python 2 being installed in the tools directory, which is one part but not all.

We need to:
. Update all script refs from /usr/bin/python to /usr/bin/python3
. Update the tools python-wrapper.tgz to point to python3
. Update the Windows standalone installation to python3
. Update platform.txt/etc. to ensure it's using the right python verison
. Validate things still work.

It's not as simple as changing scripts to #/usr/bin/env python, either, as that only works if there is a Python2 installation somewhere. Newer OS releases may not install Python2 by default.

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