distro
distro copied to clipboard
A much more elaborate replacement for removed Python's `platform.linux_distribution()` method
I was wondering is there any way to detect base distribution of distro ? I found base() method in issues but it seems has been removed #36 If we can't...
The `minor_version()` returns an empty string (`''`) on Debian 10 Buster (amd64 and armhf). The `platform` module reports `10.12` for the version, but the `distro` equivalent does not. I consider...
Dear Sebastian, dear maintainers, This PR drafts a first implementation to address concerns raised in #311 review. Currently, paths are not manually resolved, and by following symbolic links, this _may_...
Brought this up in Gitter and apparently this has had work done on it in a separate branch. (Link that here?). I've had multiple times where I wanted to have...
Hello! I'm the person responsible for dropping `platform.linux_distrubution` from Python 3.8. We're now recommending `distro` instead. Thank you for all the work going into this module – it's certainly useful...
is this expected? ``` distro.__version__ '1.6.0' print(distro.uname_info()) {} ```
I've encountered a CloudLinux VM that `distro` is unable to recognize: ```console $ distro Name: Version: Codename: $ python -c 'import distro; print(distro.linux_distribution())' ('', '', '') ``` The problem is...
version: 1.4.0 `lsb_release -i -s` is `CentOSStream`. But distro.id() is centos. The distro.version() is report as `8`. There seems no way to distinguish the centos8-stream and centos8, except using the...
There are Linux distros that have inconsistent information in the data sources that `ld` uses. For example , see issue #78 about Linux Mint. In that case, the precedence implemented...
Mandriva Linux (ID: `mandriva`) is one of the distros with a reliable ID. A testcase should be added. If you want to help, it is sufficient to post to this...