From: Anil Belur Date: Fri, 17 Mar 2023 16:59:31 +0000 (+0530) Subject: Fix: Remove shade deps from tox X-Git-Tag: v0.37.3^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F71424%2F2;p=releng%2Flftools.git Fix: Remove shade deps from tox Shade libs are deprecated therefore no longer required to be installed. Remove whitespaces in EOL. Issue-ID: RELENG-4644 Change-Id: I06226186cc80d5cb6da41b35f7a9fdf8309bf32d Signed-off-by: Anil Belur --- diff --git a/lftools/openstack/volume.py b/lftools/openstack/volume.py index 8838aa77..7faa7700 100644 --- a/lftools/openstack/volume.py +++ b/lftools/openstack/volume.py @@ -35,7 +35,7 @@ def _filter_volumes(volumes, days=0): def list(os_cloud, days=0): """List volumes found according to parameters.""" - cloud = openstack.connection.from_config(cloud=os_cloud) + cloud = openstack.connection.from_config(cloud=os_cloud) volumes = cloud.list_volumes() filtered_volumes = _filter_volumes(volumes, days) diff --git a/releasenotes/notes/remove-shade-deps-0016a8786e94fbe3.yaml b/releasenotes/notes/remove-shade-deps-0016a8786e94fbe3.yaml new file mode 100644 index 00000000..aded0a48 --- /dev/null +++ b/releasenotes/notes/remove-shade-deps-0016a8786e94fbe3.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + Shade libs are deprecated therefore no longer required + to be installed. + + https://docs.openstack.org/releasenotes/shade/stein.html diff --git a/setup.cfg b/setup.cfg index 25dade6f..1cfcc133 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,6 @@ ldap = python-ldap~=3.1.0 openstack = osc-lib~=2.2.0 - shade~=1.27.1 [files] packages = lftools diff --git a/tox.ini b/tox.ini index 6b7e1e13..656311e5 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,7 @@ description = Latest upstream test. Used for what exactly? basepython = python3 deps = -r{toxinidir}/requirements-test.txt commands = - pip install -U python-jenkins requests shade + pip install -U python-jenkins requests pytest [testenv:license]