Skip to content

Commit

Permalink
Excluded pytest 6.0.0 from test dependencies to fix not-callable issue
Browse files Browse the repository at this point in the history
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
  pytest-dev/pytest#7558.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Jul 29, 2020
1 parent ae54afb commit 0f4f364
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-requirements.txt
Expand Up @@ -17,10 +17,11 @@ funcsigs>=1.0.2; python_version < '3.3'
unittest2>=1.1.0; python_version == '2.6'
# 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>=3.2.0,<3.3.0; python_version == '2.6'
pytest>=4.3.1,<5.0.0; python_version > '2.6' and 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'
# py version is determined by pytest:
py>=1.4.34,<1.5; python_version == '2.6'
py>=1.5.1; python_version > '2.6'
Expand Down

0 comments on commit 0f4f364

Please sign in to comment.