diff --git a/setup.py b/setup.py index 064cb12618..34fc250860 100644 --- a/setup.py +++ b/setup.py @@ -104,7 +104,9 @@ def run(self): tests_requirements = [ "wheel>=0.31.1", # Test requirements: - "pytest>=4.6.0", + # https://github.com/pytest-dev/pytest/issues/7558 + # FIXME: pylint complaining for pytest.mark.* on v6.0 + "pytest>=4.6.0,<6.0", "pytest-docker>=0.7.2", "pytest-timeout>=1.3.3", "pytest-cov>=2.6.1",