]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
setup.cfg: fix teuthology-openstack dependency 2074/head
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Fri, 15 Aug 2025 14:33:59 +0000 (16:33 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Fri, 15 Aug 2025 14:44:32 +0000 (16:44 +0200)
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 <kyrylo.shatskyy@clyso.com>
setup.cfg

index c03da52ad74eba06302099baa35397650186b51c..15555c85b5bdb65f3b59279fc4692b3763b60545 100644 (file)
--- 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 =