From 11c02bd67f30e784061b1efff5f236c948c5d1e0 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 9 Nov 2023 09:44:51 +0100 Subject: [PATCH] build: Define kuberntes as a group and Add it to all-platforms group --- powerapi/cli/binding_manager.py | 1 + pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/powerapi/cli/binding_manager.py b/powerapi/cli/binding_manager.py index 4e00fe80..aac9a4aa 100644 --- a/powerapi/cli/binding_manager.py +++ b/powerapi/cli/binding_manager.py @@ -26,6 +26,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# pylint: disable=R1702 from powerapi.exception import UnsupportedActorTypeException, UnexistingActorException, TargetActorAlreadyUsed from powerapi.processor.processor_actor import ProcessorActor from powerapi.puller import PullerActor diff --git a/pyproject.toml b/pyproject.toml index 7d71ef01..9f0001ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,8 +29,7 @@ authors = [ dependencies = [ "pyzmq >= 18.1.0", - "setproctitle >= 1.1.8", - "kubernetes >= 27.0.2" + "setproctitle >= 1.1.8" ] [project.optional-dependencies] @@ -60,10 +59,11 @@ prometheus = ["prometheus-client >= 0.9.0"] # Plaforms: libvirt = ["libvirt-python >= 6.1.0"] # requires libvirt lib/headers, do not include by default. +kubernetes = ["kubernetes >= 27.0.2"] # Aliases: all-databases = ["powerapi[mongodb, influxdb, opentsdb, prometheus]"] -all-platforms = [] +all-platforms = ["kubernetes"] everything = ["powerapi[all-databases, all-platforms]"] devel = ["powerapi[everything, test, docs, lint]"]