Drop support for EOL Python 3.3

pull/1229/head
Alessio Sergi 2018-01-26 19:03:33 +01:00
parent 524babd3d7
commit 4e606f4650
7 changed files with 10 additions and 11 deletions

View File

@ -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):

View File

@ -1,7 +1,6 @@
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'

1
NEWS
View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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',