commit: 841e5a0997cd00cae7ebd8573db36561160e7f3f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Apr 5 15:44:24 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 5 15:44:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841e5a09
dev-python/hatchling: Depend on the newest trove-classifiers Closes: https://bugs.gentoo.org/928447 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../{hatchling-1.21.1.ebuild => hatchling-1.21.1-r1.ebuild} | 7 ++++++- .../{hatchling-1.22.5.ebuild => hatchling-1.22.5-r1.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 similarity index 91% rename from dev-python/hatchling/hatchling-1.21.1.ebuild rename to 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 similarity index 91% rename from dev-python/hatchling/hatchling-1.22.5.ebuild rename to 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}
