summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-11-13 15:58:39 -0500
committerMichał Górny <mgorny@gentoo.org>2023-12-05 05:20:31 +0100
commit642b24f282b93cd5cc6bae27ad0e5914b4e0c497 (patch)
treec6205a1dba8ec3f82125bd6aa240f26e96417eac /dev-python/setuptools
parentapp-admin/awscli: Bump to 1.31.7 (diff)
downloadgentoo-642b24f282b93cd5cc6bae27ad0e5914b4e0c497.tar.gz
gentoo-642b24f282b93cd5cc6bae27ad0e5914b4e0c497.tar.bz2
gentoo-642b24f282b93cd5cc6bae27ad0e5914b4e0c497.zip
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@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/setuptools')
-rw-r--r--dev-python/setuptools/setuptools-69.0.2-r1.ebuild (renamed from dev-python/setuptools/setuptools-69.0.2.ebuild)1
1 files changed, 0 insertions, 1 deletions
diff --git a/dev-python/setuptools/setuptools-69.0.2.ebuild b/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}]
"