From 93feb8a65900371511c521e2ec187e6ac9d6060a Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Wed, 29 Jul 2020 09:03:07 +0200 Subject: [PATCH] Excluded pytest 6.0.0 from test dependencies to fix not-callable issue Details: * pytest 6.0.0 causes pylint to report many 'not-callable' issues for its pytest.mark.*() functions. Mitigated this by excluding pytest 6.0.0 from the test dependencies. Just excluding it instead of pinning it to <6.0.0 will pull in the next update of pytest to see whether the issue was fixed. See pytest issue https://github.com/pytest-dev/pytest/issues/7558. Signed-off-by: Andreas Maier --- test-requirements.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 4aadfd770..ba6721a89 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,9 +15,10 @@ packaging>=17.0 funcsigs>=1.0.2; python_version < '3.3' # pytest 5.0.0 has removed support for Python < 3.5 # pytest 4.3.1 solves an issue on Python 3 with minimum package levels +# pytest 6.0.0 causes pylint to report "not-callable" issues pytest>=4.3.1,<5.0.0; python_version < '3.5' -pytest>=4.3.1; python_version >= '3.5' and python_version <= '3.6' -pytest>=4.4.0; python_version >= '3.7' +pytest>=4.3.1,!=6.0.0; python_version >= '3.5' and python_version <= '3.6' +pytest>=4.4.0,!=6.0.0; python_version >= '3.7' testfixtures>=6.9.0 # colorama 0.4.0 removed support for Python 3.4 colorama>=0.3.9,<0.4.0; python_version <= '3.4'