From dbbbb63c880296fc2ffa84f8bd9757b9ba6d4e4ca98f2fbda3e4600d090d199e Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 4 Apr 2024 08:33:29 +0000 Subject: [PATCH] - Stop skipping tests under Python 3.6. - Drop -x argument to pytest. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mypy?expand=0&rev=14 --- python-mypy.changes | 5 +++-- python-mypy.spec | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-mypy.changes b/python-mypy.changes index af95604..9cee944 100644 --- a/python-mypy.changes +++ b/python-mypy.changes @@ -1,9 +1,10 @@ ------------------------------------------------------------------- -Thu Apr 4 04:58:56 UTC 2024 - Steve Kowalik +Thu Apr 4 08:32:32 UTC 2024 - Steve Kowalik - Add patch workaround-parenthesized-context-managers.patch: * Work around parenthesized context managers issue. -- Stop skipping tests that are now fixed. +- Stop skipping tests under Python 3.6. +- Drop -x argument to pytest. ------------------------------------------------------------------- Wed Mar 27 15:59:56 UTC 2024 - ecsos diff --git a/python-mypy.spec b/python-mypy.spec index 97e5f08..067852e 100644 --- a/python-mypy.spec +++ b/python-mypy.spec @@ -144,9 +144,11 @@ fi # the fake test_module is not in the modulepath without pytest-xdist # or with pytest-xdist >= 2.3 -- https://github.com/python/mypy/issues/11019 donttest+=" or teststubtest" +# gh#python/mypy#15221 +donttest+=" or testMathOps or testFloatOps" # fails on Python 3.11.4, see gh#python/mypy#15446. Patch db5b5af1201fff03465b0684d16b6489a62a3d78 does not apply clean, better wait for a new upstream version donttest+=" or PEP561Suite" -%pytest -n auto -k "not (testallexcept ${donttest})" -x +%pytest -n auto -k "not (testallexcept ${donttest})" %endif %post