Linux Distribution - a Linux OS platform information API
https://github.com/nir0s/distro
distro (for: Linux Distribution) provides information about the Linux distribution it runs on, such as a reliable machine-readable ID, or version information.
It is a renewed alternative implementation for Python's original platform.linux_distribution function, but it also provides much more functionality which isn't necessarily Python bound like a command-line interface.
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
10
derived packages
- Links to openSUSE:Factory / python-distro
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:smarty12:Python/python-distro && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
assert_locale.patch | 0000000236 236 Bytes | |
distro-1.6.0.tar.gz | 0000053518 52.3 KB | |
python-distro.changes | 0000004252 4.15 KB | |
python-distro.spec | 0000002387 2.33 KB |
Revision 25 (latest revision is 33)
Markéta Machová (mcalabkova)
accepted
request 910038
from
Jochen Breuer (brejoc)
(revision 25)
- Update to version 1.6.0 * Deprecated the distro.linux_distribution() function. Use distro.id(), distro.version() and distro.name() instead [#296] * Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will only support Python 3.6+ * Added type hints to distro module [#269] * Added __version__ for checking distro version [#292] * Added support for arbitrary rootfs via the root_dir parameter [#247] * Added the --root-dir option to CLI [#161] * Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#262] * Fixed subprocess.CalledProcessError when running lsb_release [#261] * Ignore /etc/iredmail-release file while parsing distribution [#268] * Use a binary file for /dev/null to avoid TextIOWrapper overhead [#271]
Comments 2
Now the tests are failing on Leap and SLE.
I now disabled these builds to avoid the failures.