From 237c7894d99d77f73b63756c6407a40ee88dd1cd Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Fri, 15 Aug 2025 16:33:59 +0200 Subject: [PATCH] setup.cfg: fix teuthology-openstack dependency The PR #2050 "Revive teuthology-openstack" introduced new dependency after refactoring partly of teuthology.openstack instance classes to use api instead of command line. However the openstacksdk added to wrong section options.extras_require.openstack, that intended to be used for provisioning openstack nodes via libcloud, which is optional and is not installable by default. I.e. `pip install -e ".[openstack]"` must be used in order to get it. However the refactoring forced unconditional openstack requirement. That's why this dependency should go to options.install_requires in order to make `pip install -e .` work again. Fixes: 252ab4f6a44c0d64b1e4cfb2b86e9bf58b5d9ffb Signed-off-by: Kyr Shatskyy --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index c03da52ad..15555c85b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -44,6 +44,7 @@ install_requires = lxml ndg-httpsclient netaddr + openstacksdk # teuthology-openstack dependencies paramiko pexpect pip-tools @@ -107,10 +108,10 @@ test = toml tox xmltodict +# libcloud openstack dependencies openstack = python-openstackclient python-novaclient - openstacksdk [options.package_data] teuthology.openstack = -- 2.47.3