commit: 7864ae62b5beec834c6aa70ed670d1d41d45a631
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 14:57:34 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 15:00:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7864ae62
dev-python/watchfiles: Allow newer anyio in 0.20.0-r1, for ppc
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{watchfiles-0.20.0.ebuild => watchfiles-0.20.0-r1.ebuild} | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-python/watchfiles/watchfiles-0.20.0.ebuild
b/dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild
similarity index 89%
rename from dev-python/watchfiles/watchfiles-0.20.0.ebuild
rename to dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild
index c0b2338ef6cb..3a6bd618da05 100644
--- a/dev-python/watchfiles/watchfiles-0.20.0.ebuild
+++ b/dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -85,7 +85,7 @@ SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
- =dev-python/anyio-3*[${PYTHON_USEDEP}]
+ >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-rust[${PYTHON_USEDEP}]
@@ -109,6 +109,12 @@ src_prepare() {
}
python_test() {
+ local EPYTEST_DESELECT=(
+ # test broken with new anyio
+ # https://github.com/samuelcolvin/watchfiles/issues/254
+ tests/test_watch.py::test_awatch_interrupt_raise
+ )
+
rm -rf watchfiles || die
epytest
}