commit:     be03180104ea8b70de941c329ded0ae3707cc081
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Mon May  6 06:39:43 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 06:55:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be031801

net-nntp/sabnzbd: fix 4.2.3 tests

Closes: https://bugs.gentoo.org/930696
Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Closes: https://github.com/gentoo/gentoo/pull/36579
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-nntp/sabnzbd/sabnzbd-4.2.3.ebuild | 6 +++---
 net-nntp/sabnzbd/sabnzbd-4.3.1.ebuild | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-4.2.3.ebuild 
b/net-nntp/sabnzbd/sabnzbd-4.2.3.ebuild
index da52ebab4561..a724182b8531 100644
--- a/net-nntp/sabnzbd/sabnzbd-4.2.3.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-4.2.3.ebuild
@@ -58,11 +58,11 @@ BDEPEND="
                $(python_gen_cond_dep '
                        dev-python/flaky[${PYTHON_USEDEP}]
                        >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}]
-                       dev-python/pyfakefs[${PYTHON_USEDEP}]
+                       <dev-python/pyfakefs-5.4.0[${PYTHON_USEDEP}]
                        dev-python/pytest-httpbin[${PYTHON_USEDEP}]
                        dev-python/pytest-httpserver[${PYTHON_USEDEP}]
                        dev-python/pytest-mock[${PYTHON_USEDEP}]
-                       dev-python/pytest[${PYTHON_USEDEP}]
+                       ~dev-python/pytest-7.4.4[${PYTHON_USEDEP}]
                        dev-python/requests[${PYTHON_USEDEP}]
                        dev-python/selenium[${PYTHON_USEDEP}]
                        dev-python/tavalidate[${PYTHON_USEDEP}]
@@ -122,7 +122,7 @@ src_test() {
        # if stuck, comment out the AUTOLOAD line above, look at the list of 
loaded
        # plugins at the top of the pytest output, then translate those into 
module names
        # by e.g. checking equery f.
-       local -x 
PYTEST_PLUGINS=pytest_mock,tavern,tavern._core.pytest,pyfakefs.pytest_plugin
+       local -x 
PYTEST_PLUGINS=pytest_mock,tavern,tavern._core.pytest,pyfakefs.pytest_plugin,pytest_asyncio.plugin
 
        epytest -s
 }

diff --git a/net-nntp/sabnzbd/sabnzbd-4.3.1.ebuild 
b/net-nntp/sabnzbd/sabnzbd-4.3.1.ebuild
index 1cbf713047b9..6d3f843276a8 100644
--- a/net-nntp/sabnzbd/sabnzbd-4.3.1.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-4.3.1.ebuild
@@ -63,7 +63,7 @@ BDEPEND="
                        dev-python/pytest-httpbin[${PYTHON_USEDEP}]
                        dev-python/pytest-httpserver[${PYTHON_USEDEP}]
                        dev-python/pytest-mock[${PYTHON_USEDEP}]
-                       =dev-python/pytest-7.4.4[${PYTHON_USEDEP}]
+                       ~dev-python/pytest-7.4.4[${PYTHON_USEDEP}]
                        dev-python/requests[${PYTHON_USEDEP}]
                        dev-python/selenium[${PYTHON_USEDEP}]
                        dev-python/tavalidate[${PYTHON_USEDEP}]

Reply via email to