Author doko
Recipients christian.heimes, cstratak, doko, matrixise, pmpp, r.david.murray, vstinner
Date 2020-11-24.14:26:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606227962.43.0.342136967684.issue28468@roundup.psfhosted.org>
In-reply-to
Content
> In the case of this it's mood to even discuss requiring
> os-release. (a) the PR does not add a hard dependency
> on os-release, and (b) the file is present anyway.

For anything outside cpython, there is the distro module, and the distro module is checking os-release first if it exists.  I don't see a good value to add a second API for a subset of the distro module.  Apparently the distro module is used by other projects.

$ apt rdepends python3-distro | grep '^  [DRS]' | wc -l
33

If you think, distro information is needed to run cpython's tests, then make that function available as part of the tests, and don't promote that as a new API, although it is better in many cases to rely on feature tests instead of version information and distro names.  Don't expose it as yet another API.
History
Date User Action Args
2020-11-24 14:26:02dokosetrecipients: + doko, vstinner, christian.heimes, r.david.murray, pmpp, matrixise, cstratak
2020-11-24 14:26:02dokosetmessageid: <1606227962.43.0.342136967684.issue28468@roundup.psfhosted.org>
2020-11-24 14:26:02dokolinkissue28468 messages
2020-11-24 14:26:02dokocreate