-
Notifications
You must be signed in to change notification settings - Fork 66
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
uname_info() return empty string on ubuntu20.04 and Fedora34 #322
Comments
Maybe? What does running |
the uname installed fine.
Any idea what happens here? |
I finally have time to dig into this. It turns out the uname content parser returns empty dict by design. So the So I think we should NOT expose the uname_info() and uname_attr() to user. |
Hello @braindevices, indeed, when EDIT : Please see #370 🙂 |
distro as well as LinuxDistribution `uname_attr` and `uname_info` public methods are based on `_parse_uname_content` function which purposely ignores release information part from `uname -rs` command output on Linux platforms. This makes it specially designed for distro internals, and shouldn't be publicly available as stable API. We'll deprecate these methods in v1.11.0, in order to allow API removals in the future (e.g. distro v2). > closes #322
is this expected?
The text was updated successfully, but these errors were encountered: