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

Add Python version check to dependency install script #210

Open
GLaDAP opened this issue Nov 2, 2022 · 0 comments
Open

Add Python version check to dependency install script #210

GLaDAP opened this issue Nov 2, 2022 · 0 comments

Comments

@GLaDAP
Copy link
Member

GLaDAP commented Nov 2, 2022

Some scripts uses features from Python 3.9 and up while not all cloud instances use the latest version of Python.
For example, the standard library ZoneInfo is introduced in Python 3.9 and can be installed by using pip install backports.zoneinfo for older versions of Python.

By checking the version of Python the dependency script can check if it needs to be installed or give a more detailed error message. Alternatively, look into virtualenv to solve this issue

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