From 93e6cd290471f9e58f6d052eea508213a55f98c3 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Sat, 4 Jul 2020 21:17:01 -0500 Subject: [PATCH] migrate testing to ubuntu focal As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886296 Bump the flake8 to 3.8.0 as min so that pyflakes 2.1.1 as min version taken care to run pep8 jobs on py3.8 which is default python vesion in ubuntu focal. - https://github.com/PyCQA/flake8/blob/3.8.0/setup.cfg#L44 Story: #2007865 Task: #40212 Closes-Bug: #1886296 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html Change-Id: I19b13d5d63bce0f6b646972b09cfe8e8d7c22adc --- lower-constraints.txt | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index c07e259..8f70e1a 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -6,14 +6,14 @@ dulwich==0.15.0 eventlet==0.18.2 extras==1.0.0 fixtures==3.0.0 -flake8==3.6.0 +flake8==3.8.0 imagesize==0.7.1 Jinja2==2.10 linecache2==1.0.0 MarkupSafe==1.0 mccabe==0.6.0 pycodestyle==2.4.0 -pyflakes==2.0.0 +pyflakes==2.1.1 Pygments==2.2.0 python-mimeparse==1.6.0 python-subunit==1.0.0 diff --git a/requirements.txt b/requirements.txt index 2883078..8367022 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -flake8<3.9.0,>=3.6.0 # MIT +flake8<3.9.0,>=3.8.0 # MIT