You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we are a bit inconsistent. Sometimes we use python, sometimes python3. The practical difference is in most cases subtle as fewer and fewer of our target platforms support python2. On some platforms pythonnow points to python3. A similar discussion could be had for pip vs pip3.
So what do we prefer? If we agree we could try to align all documentation, and possibly also related scripts used in e.g. CI so we are consistent.
This also relates a bit to how we want to want to handle shebangs in Python files. There is a PEP at https://peps.python.org/pep-0394/ but it is not that prescriptive, basically listing advantages with both python and python3, and even if your system do not have any python2 installed there is no guarantee that python and python3 points to the same Python installation.
The text was updated successfully, but these errors were encountered:
erikbosch
changed the title
Use "python" or "python3" in our examples?
Use "python" or "python3" in our examples (and scripts)?
Jul 14, 2023
We are about to archive this repo soon. If you consider this issue as important please file a new issue at one of the new Kuksa repos at https://github.com/eclipse-kuksa
Today we are a bit inconsistent. Sometimes we use
python
, sometimespython3
. The practical difference is in most cases subtle as fewer and fewer of our target platforms support python2. On some platformspython
now points topython3
. A similar discussion could be had forpip
vspip3
.So what do we prefer? If we agree we could try to align all documentation, and possibly also related scripts used in e.g. CI so we are consistent.
(We had a partial discussion in eclipse-kuksa/kuksa.val.feeders#105 but did not come to any conclusion)
Update 2023-07-21:
This also relates a bit to how we want to want to handle shebangs in Python files. There is a PEP at https://peps.python.org/pep-0394/ but it is not that prescriptive, basically listing advantages with both
python
andpython3
, and even if your system do not have anypython2
installed there is no guarantee thatpython
andpython3
points to the same Python installation.The text was updated successfully, but these errors were encountered: