On the road of Glances version 4.0.0

pull/2402/head
nicolargo 2023-05-16 10:51:17 +02:00
parent 08296ae6c5
commit 12ab23d1c2
4 changed files with 16 additions and 17 deletions

View File

@ -2,6 +2,12 @@
Glances changelog Glances changelog
============================================================================== ==============================================================================
===============
Version 4.0.0
===============
Under development: https://github.com/nicolargo/glances/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Glances+4.0.0%22
=============== ===============
Version 3.4.0 Version 3.4.0
=============== ===============

View File

@ -78,15 +78,15 @@ Any and all contributions are greatly appreciated.
Requirements Requirements
============ ============
- ``python>=3.4`` - ``python>=3.8`` (use Glances 3.4.x for lower Python version)
- ``psutil>=5.3.0`` (better with latest version) - ``psutil>=5.3.0`` (better with latest version)
- ``defusedxml`` (in order to monkey patch xmlrpc) - ``defusedxml`` (in order to monkey patch xmlrpc)
- ``ujson`` (an optimized alternative to the standard json module) - ``ujson`` (an optimized alternative to the standard json module)
*Note for Python 2 users* *Note for Python 2 users*
Glances version 4 or higher do not support Python 2. Glances version 4 or higher do not support Python 2 (and Python 3 < 3.8).
Please uses Glances version 3 if you need Python 2 support. Please uses Glances version 3.4.x if you need Python 2 support.
Optional dependencies: Optional dependencies:
@ -96,28 +96,27 @@ Optional dependencies:
- ``cassandra-driver`` (for the Cassandra export module) - ``cassandra-driver`` (for the Cassandra export module)
- ``chevron`` (for the action script feature) - ``chevron`` (for the action script feature)
- ``couchdb`` (for the CouchDB export module) - ``couchdb`` (for the CouchDB export module)
- ``docker`` (for the Containers Docker monitoring support) [Linux/macOS-only / Python >= 3.6] - ``docker`` (for the Containers Docker monitoring support)
- ``elasticsearch`` (for the Elastic Search export module) - ``elasticsearch`` (for the Elastic Search export module)
- ``graphitesender`` (For the Graphite export module) - ``graphitesender`` (For the Graphite export module)
- ``hddtemp`` (for HDD temperature monitoring support) [Linux-only] - ``hddtemp`` (for HDD temperature monitoring support) [Linux-only]
- ``influxdb`` (for the InfluxDB version 1 export module) - ``influxdb`` (for the InfluxDB version 1 export module)
- ``influxdb-client`` (for the InfluxDB version 2 export module) [Only for Python >= 3.6] - ``influxdb-client`` (for the InfluxDB version 2 export module)
- ``kafka-python`` (for the Kafka export module) - ``kafka-python`` (for the Kafka export module)
- ``netifaces`` (for the IP plugin) - ``netifaces`` (for the IP plugin)
- ``py3nvml`` (for the GPU plugin) - ``py3nvml`` (for the GPU plugin)
- ``pika`` (for the RabbitMQ/ActiveMQ export module) - ``pika`` (for the RabbitMQ/ActiveMQ export module)
- ``podman`` (for the Containers Podman monitoring support) [Linux/macOS-only / Python >= 3.6] - ``podman`` (for the Containers Podman monitoring support)
- ``potsdb`` (for the OpenTSDB export module) - ``potsdb`` (for the OpenTSDB export module)
- ``prometheus_client`` (for the Prometheus export module) - ``prometheus_client`` (for the Prometheus export module)
- ``py-cpuinfo`` (for the Quicklook CPU info module) - ``py-cpuinfo`` (for the Quicklook CPU info module)
- ``pygal`` (for the graph export module) - ``pygal`` (for the graph export module)
- ``pymdstat`` (for RAID support) [Linux-only] - ``pymdstat`` (for RAID support) [Linux-only]
- ``pymongo`` (for the MongoDB export module) [Only for Python >= 3.7] - ``pymongo`` (for the MongoDB export module)
- ``pysnmp`` (for SNMP support) - ``pysnmp`` (for SNMP support)
- ``pySMART.smartx`` (for HDD Smart support) [Linux-only] - ``pySMART.smartx`` (for HDD Smart support) [Linux-only]
- ``pyzmq`` (for the ZeroMQ export module) - ``pyzmq`` (for the ZeroMQ export module)
- ``requests`` (for the Ports, Cloud plugins and RESTful export module) - ``requests`` (for the Ports, Cloud plugins and RESTful export module)
- ``scandir`` (for the Folders plugin) [Only for Python 3.4]
- ``sparklines`` (for the Quick Plugin sparklines option) - ``sparklines`` (for the Quick Plugin sparklines option)
- ``statsd`` (for the StatsD export module) - ``statsd`` (for the StatsD export module)
- ``wifi`` (for the wifi plugin) [Linux-only] - ``wifi`` (for the wifi plugin) [Linux-only]

View File

@ -19,7 +19,7 @@ import sys
# Global name # Global name
# Version should start and end with a numerical char # Version should start and end with a numerical char
# See https://packaging.python.org/specifications/core-metadata/#version # See https://packaging.python.org/specifications/core-metadata/#version
__version__ = '4.0.0_alpha1' __version__ = '4.0.0_beta01'
__author__ = 'Nicolas Hennion <nicolas@nicolargo.com>' __author__ = 'Nicolas Hennion <nicolas@nicolargo.com>'
__license__ = 'LGPLv3' __license__ = 'LGPLv3'

View File

@ -41,11 +41,7 @@ def get_install_requires():
'psutil>=5.6.7', 'psutil>=5.6.7',
'defusedxml', 'defusedxml',
'packaging', 'packaging',
'future; python_version < "3.0"', 'ujson>=5.4.0',
'ujson<3; python_version < "3.0"',
'ujson<4; python_version >= "3.5" and python_version < "3.6"',
'ujson<5; python_version >= "3.6" and python_version < "3.7"',
'ujson>=5.4.0; python_version >= "3.7"',
] ]
if sys.platform.startswith('win'): if sys.platform.startswith('win'):
requires.append('bottle') requires.append('bottle')
@ -74,7 +70,6 @@ def get_install_extras_require():
'sparklines': ['sparklines'], 'sparklines': ['sparklines'],
'web': ['bottle', 'requests'], 'web': ['bottle', 'requests'],
'wifi': ['wifi'] 'wifi': ['wifi']
# 'gpu' and 'sensors' ==> See below
} }
if sys.platform.startswith('linux'): if sys.platform.startswith('linux'):
extras_require['sensors'] = ['batinfo'] extras_require['sensors'] = ['batinfo']
@ -116,7 +111,7 @@ setup(
url='https://github.com/nicolargo/glances', url='https://github.com/nicolargo/glances',
license='LGPLv3', license='LGPLv3',
keywords="cli curses monitoring system", keywords="cli curses monitoring system",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", python_requires=">=3.8",
install_requires=get_install_requires(), install_requires=get_install_requires(),
extras_require=get_install_extras_require(), extras_require=get_install_extras_require(),
packages=['glances'], packages=['glances'],
@ -136,7 +131,6 @@ setup(
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.10',