commit:     642b24f282b93cd5cc6bae27ad0e5914b4e0c497
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Nov 13 20:58:39 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 04:20:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642b24f2

dev-python/setuptools: drop outdated certifi dependency

The precise reason for the dependency was not documented in commit
8044c23400a79c2dd2abfbfc89412ff37d79c4d2 which 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 via
https://github.com/pypa/setuptools/commit/0aa3576ae23fd88d450e41931a6703e8eb96e9c4

Even 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 <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../setuptools/{setuptools-69.0.2.ebuild => setuptools-69.0.2-r1.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/setuptools/setuptools-69.0.2.ebuild 
b/dev-python/setuptools/setuptools-69.0.2-r1.ebuild
similarity index 98%
rename from dev-python/setuptools/setuptools-69.0.2.ebuild
rename to dev-python/setuptools/setuptools-69.0.2-r1.ebuild
index db26d4e889d2..a7a1efc76528 100644
--- a/dev-python/setuptools/setuptools-69.0.2.ebuild
+++ b/dev-python/setuptools/setuptools-69.0.2-r1.ebuild
@@ -59,7 +59,6 @@ BDEPEND="
 # setuptools-scm is here because installing plugins apparently breaks stuff at
 # runtime, so let's pull it early. See bug #663324.
 PDEPEND="
-       >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
        dev-python/setuptools-scm[${PYTHON_USEDEP}]
 "
 

Reply via email to