Linux Distribution - a Linux OS platform information API

Edit Package python-distro
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.

Refresh
Refresh
Source Files
Filename Size Changed
assert_locale.patch 0000000236 236 Bytes
distro-1.9.0.tar.gz 0000060722 59.3 KB
python-distro.changes 0000008197 8 KB
python-distro.spec 0000002667 2.6 KB
Revision 32 (latest revision is 33)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 32)
- update to 1.9.0:
  * Refactor distro.info() method to return an InfoDict [#360]
  * Ignore the file '/etc/board-release' [#353]
  * Ignore the file '/etc/ec2_version' [#359]
  * Test on modern versions of CPython and PyPy and macOS [#362]
  * Add support for ALT Linux Server 10.1 distribution [#354]
  * Add Debian Testing to the tests [#356]
  * Update archlinux resource for tests [#352]
- Enable tests properly (this is pytest, not unittest),
Comments 2

Sebastian Wagner's avatar

Matej Cepl (mcepl) committed about 2 hours ago (revision 26)

  • Expliciting setting of locale is not necessary anymore

(gh#python-distro/distro#223).

Now the tests are failing on Leap and SLE.


Sebastian Wagner's avatar

I now disabled these builds to avoid the failures.

openSUSE Build Service is sponsored by