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

Use "python" or "python3" in our examples (and scripts)? #601

Closed
erikbosch opened this issue Jul 14, 2023 · 1 comment
Closed

Use "python" or "python3" in our examples (and scripts)? #601

erikbosch opened this issue Jul 14, 2023 · 1 comment

Comments

@erikbosch
Copy link
Contributor

erikbosch commented Jul 14, 2023

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.

(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 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.

@erikbosch erikbosch changed the title Use "python" or "python3" in our examples? Use "python" or "python3" in our examples (and scripts)? Jul 14, 2023
@erikbosch
Copy link
Contributor Author

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

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

No branches or pull requests

2 participants