diff --git a/environment.yml b/environment.yml index 0a644671ba..d8b5d03910 100644 --- a/environment.yml +++ b/environment.yml @@ -63,7 +63,7 @@ dependencies: - xgboost>1.6.1 # github.com/ESMValGroup/ESMValTool/issues/2779 - xlsxwriter # Python packages needed for testing - - flake8 <5 + - flake8 - pytest >=3.9,!=6.0.0rc1,!=6.0.0 - pytest-cov - pytest-env diff --git a/environment_osx.yml b/environment_osx.yml index 74c962a198..a2da023883 100644 --- a/environment_osx.yml +++ b/environment_osx.yml @@ -63,10 +63,10 @@ dependencies: - xgboost>1.6.1 # github.com/ESMValGroup/ESMValTool/issues/2779 - xlsxwriter # Python packages needed for testing + - flake8 - pytest >=3.9,!=6.0.0rc1,!=6.0.0 - pytest-cov - pytest-env - - pytest-flake8 - pytest-html !=2.1.0 - pytest-metadata >=1.5.1 - pytest-xdist diff --git a/setup.py b/setup.py index cde6cc902a..34aa03244a 100755 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ # Test dependencies # Execute `pip install .[test]` once and the use `pytest` to run tests 'test': [ - 'flake8<5', # github.com/ESMValGroup/ESMValCore/issues/1696 + 'flake8', 'pytest>=3.9,!=6.0.0rc1,!=6.0.0', 'pytest-cov>=2.10.1', 'pytest-env',