summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-04-05 17:44:24 +0200
committerMichał Górny <mgorny@gentoo.org>2024-04-05 17:44:24 +0200
commit841e5a0997cd00cae7ebd8573db36561160e7f3f (patch)
treef710d8d638956aa090a0b5357c501b6fc4d338d2 /dev-python
parentdev-python/hatchling: Remove old (diff)
downloadgentoo-841e5a0997cd00cae7ebd8573db36561160e7f3f.tar.gz
gentoo-841e5a0997cd00cae7ebd8573db36561160e7f3f.tar.bz2
gentoo-841e5a0997cd00cae7ebd8573db36561160e7f3f.zip
dev-python/hatchling: Depend on the newest trove-classifiers
Closes: https://bugs.gentoo.org/928447 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/hatchling/hatchling-1.21.1-r1.ebuild (renamed from dev-python/hatchling/hatchling-1.21.1.ebuild)7
-rw-r--r--dev-python/hatchling/hatchling-1.22.5-r1.ebuild (renamed from dev-python/hatchling/hatchling-1.22.5.ebuild)7
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/hatchling/hatchling-1.21.1.ebuild b/dev-python/hatchling/hatchling-1.21.1-r1.ebuild
index 9233bcc8808f..6919c16fa12c 100644
--- a/dev-python/hatchling/hatchling-1.21.1.ebuild
+++ b/dev-python/hatchling/hatchling-1.21.1-r1.ebuild
@@ -35,7 +35,12 @@ RDEPEND="
$(python_gen_cond_dep '
>=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
' 3.10)
- dev-python/trove-classifiers[${PYTHON_USEDEP}]
+"
+# always depend on the newest version available, at least until upstream
+# stops treating unknown classifiers as a fatal error
+# https://github.com/pypa/hatch/issues/1368
+RDEPEND+="
+ >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
diff --git a/dev-python/hatchling/hatchling-1.22.5.ebuild b/dev-python/hatchling/hatchling-1.22.5-r1.ebuild
index 880c81d559bb..92ad9f5f8392 100644
--- a/dev-python/hatchling/hatchling-1.22.5.ebuild
+++ b/dev-python/hatchling/hatchling-1.22.5-r1.ebuild
@@ -36,7 +36,12 @@ RDEPEND="
$(python_gen_cond_dep '
>=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
' 3.10)
- dev-python/trove-classifiers[${PYTHON_USEDEP}]
+"
+# always depend on the newest version available, at least until upstream
+# stops treating unknown classifiers as a fatal error
+# https://github.com/pypa/hatch/issues/1368
+RDEPEND+="
+ >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}