Deprecated platform.linux_distribution() and platform.dist() #37070
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
P4
Priority 4
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
ZRELEASED - 2017.7.0rc1
Milestone
Description of Issue/Question
http://bugs.python.org/issue1322
platform.linux_distribution()
andplatform.dist()
is being deprecated. The recommendation is to use https://pypi.python.org/pypi/distro instead ofplatform.linux_distribution()
andplatform.dist()
(https://github.com/nir0s/distro)It's being removed as it updates far to often to be within the core python code due to changes made in Linux distributions.
Python Versions
Python 2.6 onwards
platform.dist()
has marked as deprecatedPython 3.7 onwards will no longer have
platform.linux_distribution()
andplatform.dist()
Code within Salt
The text was updated successfully, but these errors were encountered: