commit:     c8d965f18d452180bf5bce89f7af34af39572c1c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  8 18:19:15 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  8 18:23:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d965f1

dev-python/pytest-httpx: Unpin dependencies

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...httpx-0.35.0.ebuild => pytest-httpx-0.35.0-r1.ebuild} | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild 
b/dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild
similarity index 68%
rename from dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild
rename to dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild
index 6f79d6824c63..9d3e38c2f0a1 100644
--- a/dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild
+++ b/dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild
@@ -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
+}

Reply via email to