Skip to content

Conversation

@UrszulaNeuman
Copy link

Use 'python' instead of 'python3'.
'python3' is python3.6
'python' is python3.11

Use 'python' instead of 'python3'.
'python3' is python3.6 
'python' is python3.11
@GDYendell
Copy link
Contributor

Re-ran as the first build failed with

502 Server Error: Bad Gateway for url: [https://github.com/orgs/DiamondLightSource/packages/container/package/python-copier-template-example](https://github.com/orgs/DiamondLightSource/packages/container/package/python-copier-template-example/nbuild)

for some reason.

@GDYendell GDYendell requested a review from coretl December 18, 2024 10:30
@coretl
Copy link
Contributor

coretl commented Dec 18, 2024

On ubuntu and derivatives there is no python, only python3, so I'd rather not change this. Could this instead be a note that if there are multiple pythons on your system then you may need to use python3.11 rather than python3 to get the correct version?

@AlexanderWells-diamond
Copy link
Contributor

I agree with @coretl - it isn't even consistent at Diamond let alone across OSs. For example my machine has "python" as version 3.8.17.

@coretl
Copy link
Contributor

coretl commented Feb 28, 2025

Having examined a few more systems I'm wondering if this might be the right change after all. We change python3 to python in all places throughout the repo, but put a note before each bit of docs where we create a venv saying that on some machines you may need to use python3 or python3.11 instead to get the desired version.

@UrszulaNeuman do you have time to make this change to all the markdown files in this repo?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants