mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 14:12:21 +03:00
Drop support for EOL Python 3.3
This commit is contained in:
parent
524babd3d7
commit
4e606f4650
@ -25,7 +25,7 @@ from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
|
||||
BASE_URL = 'https://ci.appveyor.com/api'
|
||||
PY_VERSIONS = ['2.7', '3.3', '3.4', '3.5']
|
||||
PY_VERSIONS = ['2.7', '3.4', '3.5']
|
||||
|
||||
|
||||
def term_supports_colors(file=sys.stdout):
|
||||
|
@ -1,7 +1,6 @@
|
||||
language: python
|
||||
python:
|
||||
- '2.7'
|
||||
- '3.3'
|
||||
- '3.4'
|
||||
- '3.5'
|
||||
- '3.6'
|
||||
|
1
NEWS
1
NEWS
@ -39,6 +39,7 @@ Bugs corrected:
|
||||
|
||||
Backward-incompatible changes:
|
||||
|
||||
* Support for Python 3.3 has been dropped (EOL 2017-09-29)
|
||||
* Minimum supported Docker API version is now 1.21 (Docker plugins)
|
||||
* Support for InfluxDB < 0.9 is deprecated (InfluxDB exporter)
|
||||
* Remove graph export from Glances
|
||||
|
@ -51,7 +51,7 @@ add new plugins or exports modules.
|
||||
Requirements
|
||||
============
|
||||
|
||||
- ``python 2.7,>=3.3``
|
||||
- ``python 2.7,>=3.4``
|
||||
- ``psutil>=2.0.0`` (better with latest version)
|
||||
|
||||
Optional dependencies:
|
||||
@ -84,12 +84,12 @@ Optional dependencies:
|
||||
*Note for Python 2.6 users*
|
||||
|
||||
Glances no longer supports Python 2.6. Please upgrade
|
||||
to a minimum Python version of 2.7/3.3+ or downgrade to Glances 2.6.2 (last version
|
||||
to a minimum Python version of 2.7/3.4+ or downgrade to Glances 2.6.2 (last version
|
||||
with Python 2.6 support).
|
||||
|
||||
*Note for CentOS Linux 6 and 7 users*
|
||||
|
||||
Python 2.7, 3.3 and 3.4 are now available via SCL repositories. See:
|
||||
Python 2.7 and 3.4 are now available via SCL repositories. See:
|
||||
https://lists.centos.org/pipermail/centos-announce/2015-December/021555.html.
|
||||
|
||||
Installation
|
||||
|
@ -1,6 +1,6 @@
|
||||
machine:
|
||||
post:
|
||||
- pyenv local 2.7.10 3.3.3 3.4.3 3.5.0
|
||||
- pyenv local 2.7.10 3.4.3 3.5.0
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
|
@ -51,8 +51,8 @@ except locale.Error:
|
||||
print("Warning: Unable to set locale. Expect encoding problems.")
|
||||
|
||||
# Check Python version
|
||||
if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 3):
|
||||
print('Glances requires at least Python 2.7 or 3.3 to run.')
|
||||
if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 4):
|
||||
print('Glances requires at least Python 2.7 or 3.4 to run.')
|
||||
sys.exit(1)
|
||||
|
||||
# Check PSutil version
|
||||
|
5
setup.py
5
setup.py
@ -9,8 +9,8 @@ from io import open
|
||||
from setuptools import setup, Command
|
||||
|
||||
|
||||
if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 3):
|
||||
print('Glances requires at least Python 2.7 or 3.3 to run.')
|
||||
if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 4):
|
||||
print('Glances requires at least Python 2.7 or 3.4 to run.')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
@ -113,7 +113,6 @@ setup(
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
|
Loading…
Reference in New Issue
Block a user