python-distro / distro

A much more elaborate replacement for removed Python's `platform.linux_distribution()` method
https://distro.readthedocs.io/
Apache License 2.0
265 stars 66 forks source link

Deprecates `uname_attr` and `uname_info` public methods #370

Open HorlogeSkynet opened 2 months ago

HorlogeSkynet commented 2 months ago

(see #322 for context)

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).

HorlogeSkynet commented 2 months ago

Up @python-distro/maintainers 🙏