diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-06-03 10:13:44 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-06-04 04:06:28 +0200 |
| commit | 04cba0d17b1f5559a35c7024b6571bf2a07d519a (patch) | |
| tree | 99329ae1d29fc58ebb66bb6838c064f3eaa0b275 /eclass/python-utils-r1.eclass | |
| parent | 5b4b5324d444255844a922965fc4a79bd6ccbf31 (diff) | |
| download | gentoo-04cba0d17b1f5559a35c7024b6571bf2a07d519a.tar.gz gentoo-04cba0d17b1f5559a35c7024b6571bf2a07d519a.tar.bz2 gentoo-04cba0d17b1f5559a35c7024b6571bf2a07d519a.zip | |
python-utils-r1.eclass: Fix epytest with >=pytest-8.4.0
Remove the `-Werror::PytestUnhandledCoroutineWarning` argument
from `epytest`, since the relevant warning is no longer present
in `>=dev-python/pytest-8.4.0`. The newer versions throw an exception
instead, so we don't need any argument.
We could technically still pass it conditionally to pytest version --
but that breaks dev-python/pytest's test suite on upgrade, and working
around that does not seem worth the effort. In the end, this was a QA
check to catch pathological cases, and it should be sufficient to catch
them with the latest pytest version.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/41560
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
| -rw-r--r-- | eclass/python-utils-r1.eclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 6d008bf63664..1638a48b17b9 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1335,9 +1335,6 @@ epytest() { # override filterwarnings=error, we do not really want -Werror # for end users, as it tends to fail on new warnings from deps -Wdefault - # however, do error out if the package failed to load - # an appropriate async plugin - -Werror::pytest.PytestUnhandledCoroutineWarning # override color output "--color=${color}" # count is more precise when we're dealing with a large number |
