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
Provide better error message when running on unsupported distro #221
Conversation
This provides a better error message, and bolder text about requiring Ubuntu 18.04. |
eb575b4
to
1615722
Compare
I believe platform will be removed from stdlib in 3.8. I need to check.
…On Wed, Oct 31, 2018, 12:17 Yuvi Panda ***@***.*** wrote:
@yuvipanda <https://github.com/yuvipanda> requested your review on: #221
<#221> Provide
better error message when running on unsupported distro.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#221 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUez8PfUw4Hik89t7zcrwILa4pD0A_tks5uqfdDgaJpZM4YDQ5V>
.
|
ahh yea, on https://docs.python.org/2/library/platform.html#platform.linux_distribution I see:
looks like the usage for "distro" is pretty similar: |
Unfortunately we have to only use stdlib in bootstrap.py. I'll probably switch it to read from /etc/os-release. Thanks for the pointer, @Carreau and @choldgraf |
Since bootstrap.py needs to restrict itself to stdlib python, we read from /etc/os-release than trying to install the distro package.
cc70702
to
e9462bb
Compare
@Carreau @choldgraf I've modified this to use /etc/os-release now! |
re-running circle to see if the error was a one-off |
d9cc499
to
43d9f02
Compare
is this ready to go now? |
@choldgraf it is! |
Awayyyyy we go. |
Fixes #186 #206