mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/setuptools: Add a PDEP on dev-python/trove-classifiers
Modern versions of setuptools optionally use dev-python/trove-classifiers for verification. This has the side issue that if an old version happens to be installed, random packages may fail to install. Until upstream makes this properly optional (and we disable it), depend on the very newest version. Andrew noticed it while trying to bump dev-python/pyzotero. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -63,8 +63,13 @@ BDEPEND="
|
||||
"
|
||||
# setuptools-scm is here because installing plugins apparently breaks stuff at
|
||||
# runtime, so let's pull it early. See bug #663324.
|
||||
#
|
||||
# trove-classifiers are optionally used in validation, if they are
|
||||
# installed. Since we really oughtn't block them, let's always enforce
|
||||
# the newest version for the time being to avoid errors.
|
||||
PDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
>=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
@@ -63,8 +63,14 @@ BDEPEND="
|
||||
"
|
||||
# setuptools-scm is here because installing plugins apparently breaks stuff at
|
||||
# runtime, so let's pull it early. See bug #663324.
|
||||
#
|
||||
# trove-classifiers are optionally used in validation, if they are
|
||||
# installed. Since we really oughtn't block them, let's always enforce
|
||||
# the newest version for the time being to avoid errors.
|
||||
# https://github.com/pypa/setuptools/issues/4459
|
||||
PDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
>=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
Reference in New Issue
Block a user