Skip to content

Python: prun python-3.6 python uses system/default installation #164

Closed
pmenzel opened this issue Jul 7, 2021 · 2 comments
Closed

Python: prun python-3.6 python uses system/default installation #164

pmenzel opened this issue Jul 7, 2021 · 2 comments

Comments

@pmenzel
Copy link
Contributor

pmenzel commented Jul 7, 2021

Example:

$ prun python-3.6 python --version
Python 3.8.9
$ prun python-3.6 python3 --version
Python 3.6.6
@thomas
Copy link
Contributor

thomas commented Jul 8, 2021

This is more or less owed to the circumstance that the python default at time of package creation was python2.
From python-3.8.6-0 on the package-bin contains a python link:

#> prun python-3.8.6-0 which python
/pkg/python-3.8.6-0/bin/python

So, to be safe with packages, best stick with python2, python3, 4 ...

@donald
Copy link
Contributor

donald commented Jul 14, 2021

This might be a bit surprising, but I think we can live with the fact, that different packages (and package versions) provide different set of commands and thereby mask different sets of commands from outside the package. You are right, the older packages, of course, reflect history. We could add a "python" to elder python3 packages to get "less surprise", but OTOH can we be sure we don't break anything by making changes to existing packages? I'm not sure, a change would be justified.

@pmenzel pmenzel closed this as completed Jul 30, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants