diff --git a/setup.py b/setup.py index 332bad3f..78cc0fd3 100644 --- a/setup.py +++ b/setup.py @@ -29,11 +29,7 @@ # Minimal dependencies required to test asyncpg. TEST_DEPENDENCIES = [ - # pycodestyle is a dependency of flake8, but it must be frozen because - # their combination breaks too often - # (example breakage: https://gitlab.com/pycqa/flake8/issues/427) - 'pycodestyle~=2.7.0', - 'flake8~=3.9.2', + 'flake8~=5.0.4', 'uvloop>=0.15.3; platform_system != "Windows" and python_version >= "3.7"', ]