dev-python/pytest-httpx: Unpin dependencies

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-08 19:19:15 +01:00
parent d6d04e4e88
commit c8d965f18d
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E

View File

@ -20,14 +20,20 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
=dev-python/httpx-0.28*[${PYTHON_USEDEP}]
=dev-python/pytest-8*[${PYTHON_USEDEP}]
>=dev-python/httpx-0.28[${PYTHON_USEDEP}]
>=dev-python/pytest-8[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( "${PN}" pytest-asyncio )
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# unpin dependencies
sed -i -e '/==/{s:==:>=:;s:\.\*::}' pyproject.toml || die
}