Skip to content

setup.cfg: fix teuthology-openstack dependency#2074

Merged
kshtsk merged 1 commit intoceph:mainfrom
kshtsk:wip-fix-revive-openstack
Aug 18, 2025
Merged

setup.cfg: fix teuthology-openstack dependency#2074
kshtsk merged 1 commit intoceph:mainfrom
kshtsk:wip-fix-revive-openstack

Conversation

@kshtsk
Copy link
Copy Markdown
Contributor

@kshtsk kshtsk commented Aug 15, 2025

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: 252ab4f

The PR ceph#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: 252ab4f

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
@kshtsk kshtsk requested a review from a team as a code owner August 15, 2025 15:05
@kshtsk kshtsk requested review from VallariAg, amathuria, deepssin and zmc and removed request for a team August 15, 2025 15:05
Copy link
Copy Markdown
Contributor

@deepssin deepssin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@kshtsk kshtsk merged commit c9986ad into ceph:main Aug 18, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants