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

specify supported python versions #5

Open
rkm opened this issue Feb 15, 2024 · 2 comments
Open

specify supported python versions #5

rkm opened this issue Feb 15, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@rkm
Copy link
Member

rkm commented Feb 15, 2024

We should document (and test) the supported python versions. As per https://devguide.python.org/versions/, 3.8 is the minimum supported, but only until 2024-10, so perhaps we should pick 3.9. Alternatively, the default version on Ubuntu 22.04 is 3.10, so that could be a sensible choice.

@rkm rkm added documentation Improvements or additions to documentation question Further information is requested labels Feb 15, 2024
@howff
Copy link
Collaborator

howff commented Feb 15, 2024

I'd pick 3.10 for that reason but it has to run on smi04 etc which raises two questions

  • how to get a newer python by default
  • how a microservice or other caller can activate a virtualenv without having a wrapper shell script
    The answer to 2 would probably also solve 1

@rkm
Copy link
Member Author

rkm commented Feb 15, 2024

I've added 3.6 to the CI matrix now, alongside 3.10. We can remove 3.6 once we're off the old infrastructure.

I'm not sure I understand your second point, sorry! For non-interactive scripts, you don't need to activate the virtual env as you can just run venv/bin/python foo.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants