pycontribs / selinux

Pure-python selinux shim module for use in virtualenvs
MIT License
20 stars 19 forks source link

Replace deprecated linux_distribution() method #34

Closed tadeboro closed 4 years ago

tadeboro commented 4 years ago

As noted in the official documentation [1], linux_distribution method is deprecated and will be removed from Python 3.8.

In order to keep the existing functionality, we introduced distro package dependency that is linked from the official documentation.

[1] https://docs.python.org/3.7/library/platform.html