On 12/19/19 11:53 PM, Michael Cronenworth wrote:
On 12/19/19 4:37 PM, Jacek Caban wrote:
This code path is taken only when linux_distribution() is not available and, according to documentation, it should be available since version 2.6. Please look at why it's not available.
Python 3.8 removes dist() and linux_distribution(). Fedora 32+ will use Python 3.8.
So if we'd like to support all Python version, we'd need a third branch using the distro package and hope it will work for at least a few years... Great job, Python.
Let's not do that. Does the attached patch help? git grep suggests that that may be a few more usages in the tree, but most of them may not be relevant to our builds.
Jacek