[goal] 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:
Closes-Bug: #1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40196

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: I29eae255a0cb87c41d1d739e3bb608c303c5b9b8
This commit is contained in:
manchandavishal 2020-08-04 13:58:26 +00:00
parent d46e3cf3e4
commit c9e8d95c09
2 changed files with 5 additions and 1 deletions

View File

@ -16,5 +16,5 @@
from horizon.test.settings import * # noqa from horizon.test.settings import * # noqa
from openstack_dashboard.test.settings import * # noqa from openstack_dashboard.test.settings import * # noqa
INSTALLED_APPS = list(INSTALLED_APPS) INSTALLED_APPS = list(INSTALLED_APPS) # noqa: F999
INSTALLED_APPS.append('mistraldashboard') INSTALLED_APPS.append('mistraldashboard')

View File

@ -4,6 +4,10 @@
# Hacking already pins down pep8, pyflakes and flake8 # Hacking already pins down pep8, pyflakes and flake8
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
# remove this pyflakes from here once you bump the
# hacking to 3.2.0 or above. hacking 3.2.0 takes
# care of pyflakes version compatibilty.
pyflakes>=2.1.1
# Testing Requirements # Testing Requirements
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0