mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-06-27 23:58:07 -07:00
The precise reason for the dependency was not documented in commit8044c23400which added it, but we can theorize. For a long time, setuptools has had an extras_require to provide the features "ssl" and "certs". Historically, this required certifi for the latter (and the former was Windows-specific). A straightforward dependency is the simplest approach to extras, particularly since certifi is both reasonably small and simple and also used by a lot of packages (too many). And it had to be a PDEPEND because certifi built with setuptools. However, this dependency was removed upstream in 57.1.0 via0aa3576ae2Even before that, it was a fallback if a system certificate file could not be found, in code that only ran when build dependencies were not satisfied plus pip was not installed, for downloading unverified software from PyPI. It wasn't used by ebuilds, and users building packages by hand will just use pip anyways. Its time has long passed. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>