From 04727c424593be2feeb768c2e763296fb6b574a1 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 22 Oct 2024 00:58:14 +0900 Subject: [PATCH] Add requirements check job ... to ensure aodhclient can be installed with the rest of the libraries. Change-Id: I18f5e89de01bf65f55eeda85b2a5a26428d05cf9 --- .zuul.yaml | 1 + requirements.txt | 4 ++-- test-requirements.txt | 9 ++++----- tox.ini | 4 ++++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index c6173ea..fad71c3 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -24,6 +24,7 @@ - project: templates: + - check-requirements - openstack-python3-jobs - publish-openstack-docs-pti - openstackclient-plugin-jobs diff --git a/requirements.txt b/requirements.txt index 4d386e3..98afd6c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -pbr>=1.4 +pbr>=1.4 # Apache-2.0 cliff>=1.17.0 # Apache-2.0 osc-lib>=1.0.1 # Apache-2.0 oslo.i18n>=1.5.0 # Apache-2.0 @@ -6,4 +6,4 @@ oslo.serialization>=1.4.0 # Apache-2.0 oslo.utils>=2.0.0 # Apache-2.0 osprofiler>=1.4.0 # Apache-2.0 keystoneauth1>=1.0.0 -pyparsing +pyparsing>2.1.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 6942fd5..213d060 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,8 +1,7 @@ os-client-config>=1.28.0 # Apache-2.0 -coverage>=3.6 +coverage>=3.6 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 -tempest>=10 +tempest>=10 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 -testtools>=1.4.0 -pifpaf[gnocchi]>=0.23 -gnocchi[postgresql,file] +testtools>=1.4.0 # MIT +pifpaf>=0.23 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 766c884..2b2e603 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,10 @@ deps = commands = stestr run --slowest {posargs} [testenv:functional] +deps = + {[testenv]deps} + pifpaf[gnocchi]>=0.23 + gnocchi[postgresql,file] setenv = OS_TEST_PATH = ./aodhclient/tests/functional OS_TESTENV_NAME = {envname}