-
Notifications
You must be signed in to change notification settings - Fork 6
Tests many versions of python #15
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
Conversation
michael-groundlight
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice to have the version matrix!
UserGuide.md
Outdated
|
|
||
| ### Using Groundlight SDK on Ubuntu 18.04 | ||
|
|
||
| Ubuntu 18.04 still uses python 3.6 by default, which is end-of-life. We recommend python 3.8, as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the reason for recommending 3.8 that we think 3.9 and 3.10 might not be supported by other python libraries the customer is using? Or because apt doesn't support 3.9 / 3.10?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter. Ubuntu 18 offers 3.6, 3.7, and 3.8 without adding external package archives.
UserGuide.md
Outdated
| sudo apt-get update | ||
| sudo apt-get install -y python3.8 python3.8-distutils wget | ||
| wget https://bootstrap.pypa.io/get-pip.py | ||
| python3.8 get-pip.py | ||
| python3.8 -m pip install groundlight |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make this a bash script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe?
curl -sf -L https://groundlight.ai/install-python-sdk.sh | sudo sh
I feel like that kind of thing triggers security fears in people though.
Also updating the UserGuide on how to install for Ubuntu 18.04