diff --git a/setup.cfg b/setup.cfg index aca586c..c035d56 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,9 +5,13 @@ test=pytest universal=1 [metadata] +# We document the reasoning for using ranges here: +# http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies +# And in which releases we will update those ranges here: +# http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8 requires-dist = enum34; python_version<"3.4" configparser; python_version<"3.2" - pyflakes >= 1.5.0, < 1.6.0 + pyflakes >= 1.5.0, < 1.7.0 pycodestyle >= 2.0.0, < 2.4.0 mccabe >= 0.6.0, < 0.7.0 diff --git a/setup.py b/setup.py index 4d40862..aa45e43 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,11 @@ tests_require = ['mock >= 2.0.0', 'pytest'] # NOTE(sigmavirus24): When updating these requirements, update them in # setup.cfg as well. requires = [ - "pyflakes >= 1.5.0, < 1.6.0", + # We document the reasoning for using ranges here: + # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies + # And in which releases we will update those ranges here: + # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8 + "pyflakes >= 1.5.0, < 1.7.0", "pycodestyle >= 2.0.0, < 2.4.0", "mccabe >= 0.6.0, < 0.7.0", "setuptools >= 30",