From c9e8d95c0945d7f6354c3b7198823d3cd56b27cf Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Tue, 4 Aug 2020 13:58:26 +0000 Subject: [PATCH] [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 --- mistraldashboard/test/settings.py | 2 +- test-requirements.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mistraldashboard/test/settings.py b/mistraldashboard/test/settings.py index cd11fb7..37bba8f 100644 --- a/mistraldashboard/test/settings.py +++ b/mistraldashboard/test/settings.py @@ -16,5 +16,5 @@ from horizon.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') diff --git a/test-requirements.txt b/test-requirements.txt index c6e6ac4..87fced8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,6 +4,10 @@ # Hacking already pins down pep8, pyflakes and flake8 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 coverage!=4.4,>=4.0 # Apache-2.0