diff --git a/setup.py b/setup.py index ceb3bcfda0..0d582c5a6e 100644 --- a/setup.py +++ b/setup.py @@ -23,18 +23,18 @@ ] api_requirements = [ - 'markupsafe == 2.0.1', # While flask revision < 2 - 'flask == 1.1.4', + 'markupsafe >= 1.1.1, < 2.0.0', + 'flask >= 1.1.4, < 2.0.0', 'flask-cors == 3.0.10', 'gunicorn >= 20.0.0, < 21.0.0', - 'werkzeug >= 1.0.0, < 2.0.0', + 'werkzeug >= 1.0.1, < 2.0.0', ] dev_requirements = [ 'autopep8 >= 1.4.0, < 1.6.0', 'coverage == 6.0.2', 'darglint == 1.8.0', - 'flake8 >= 4.0.0, < 4.1.0', + 'flake8 >= 3.9.0, < 4.0.0', 'flake8-bugbear >= 19.3.0, < 20.0.0', 'flake8-docstrings == 1.6.0', 'flake8-print >= 3.1.0, < 4.0.0', @@ -42,6 +42,7 @@ 'mypy == 0.910', 'openfisca-country-template >= 3.10.0, < 4.0.0', 'openfisca-extension-template >= 1.2.0rc0, < 2.0.0', + 'pycodestyle >= 2.7.0, < 2.8.0', 'pylint == 2.10.2', ] + api_requirements