From 041ce67619074ee79226161aab8169f990e4c175 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 25 Jun 2020 20:42:50 -0500 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: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Also adding bindep file for libffi packages. Story: #2007865 Task: #40200 Change-Id: I8d9b8d9e19ca7b94f1ce1f2b95aeafc9f7127ea3 --- bindep.txt | 5 +++++ lower-constraints.txt | 4 ++-- tox.ini | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 bindep.txt diff --git a/bindep.txt b/bindep.txt new file mode 100644 index 00000000..986c66b1 --- /dev/null +++ b/bindep.txt @@ -0,0 +1,5 @@ +# This is a cross-platform list tracking distribution packages needed for install and tests; +# see https://docs.openstack.org/infra/bindep/ for additional information. + +libffi-dev [platform:dpkg test] +libffi-devel [platform:rpm test] diff --git a/lower-constraints.txt b/lower-constraints.txt index c4474b66..145e1055 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -3,7 +3,7 @@ amqp==2.2.2 appdirs==1.3.0 Babel==2.5.3 cachetools==2.0.1 -cffi==1.11.5 +cffi==1.14.0 contextlib2==0.5.5 coverage==4.0 debtcollector==1.19.0 @@ -25,7 +25,7 @@ Jinja2==2.10 keystoneauth1==3.4.0 kombu==4.1.0 linecache2==1.0.0 -MarkupSafe==1.0 +MarkupSafe==1.1.1 mccabe==0.2.1 monotonic==1.4 msgpack-python==0.4.0 diff --git a/tox.ini b/tox.ini index 2cfe1ab5..1fd648d4 100644 --- a/tox.ini +++ b/tox.ini @@ -72,3 +72,11 @@ max-complexity = 30 [hacking] import_exceptions = os_vif.i18n + +[testenv:bindep] +# Do not install any requirements. We want this to be fast and work even if +# system dependencies are missing, since it's used to tell you what system +# dependencies are missing! This also means that bindep must be installed +# separately, outside of the requirements files. +deps = bindep +commands = bindep test