Prefer Python 3 on MozillaBuild
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
People
(Reporter: saschanaz, Unassigned)
References
Details
Now that mach supports Python 3, it's probably worth to prefer Python 3 on $PATH.
| Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
By "prefer Python 3 on $PATH", I assume you mean that when you type python at the shell, you'll get a python3 shell rather than a python2.7 one.
There will almost definitely be people whose workflows are broken by this, whether those workflows are based on code in-tree or not. This is not that concerning to me, although that is a factor.
Are there other OS distributions today where the python binary at the head of the $PATH is a python3 (where python2.7 is also an option)? I'm used to having to type python3 to run Python 3. If nothing else, staying consistent with other Unixy shells across the universe is something I'd like to do, if only because MozillaBuild is already so inconsistent with other Unixy shells.
| Reporter | ||
Comment 3•5 years ago
|
||
Ubuntu 20.04 has only Python 3 by default while there is no python alias, unless the user installs python-is-python3.
Comment 4•5 years ago
|
||
Fedora 32's python is Python 3 by default. (I do not know if this can be overridden.)
Comment 5•4 years ago
|
||
This is being done as part of fixing some other Python-related issues in MozillaBuild.
Updated•2 years ago
|
Description
•