From 2d9bf175d0e17de3e09debf1b59a23ed9615e99b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Thu, 26 May 2022 09:35:42 +0200 Subject: [PATCH] Another dep issue solved in the Alpine Docker + issue in the outdated method --- glances/outdated.py | 2 +- optional-requirements.txt | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/glances/outdated.py b/glances/outdated.py index b5816b39..f7f36e51 100644 --- a/glances/outdated.py +++ b/glances/outdated.py @@ -61,7 +61,7 @@ class Outdated(object): # Read the configuration file self.load_config(config) if not PACKAGING_IMPORT: - self.args.disable_check_update = False + self.args.disable_check_update = True logger.debug("Check Glances version up-to-date: {}".format(not self.args.disable_check_update)) # And update ! diff --git a/optional-requirements.txt b/optional-requirements.txt index 2e480cdd..944f55c7 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -28,6 +28,7 @@ python-dateutil pyzmq requests scandir; python_version < "3.5" +six sparklines statsd wifi diff --git a/setup.py b/setup.py index 05beac93..925b2206 100755 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ def get_install_extras_require(): 'action': ['chevron'], 'browser': ['zeroconf==0.19.1' if PY2 else 'zeroconf>=0.19.1'], 'cloud': ['requests'], - 'docker': ['docker>=2.0.0', 'python-dateutil'], + 'docker': ['docker>=2.0.0', 'python-dateutil', 'six'], 'export': ['bernhard', 'cassandra-driver', 'couchdb', 'elasticsearch', 'graphitesender', 'influxdb>=1.0.0', 'kafka-python', 'pika', 'paho-mqtt', 'potsdb', 'prometheus_client', 'pyzmq',