summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2018-01-26 19:03:33 +0100
committerAlessio Sergi <al3hex@gmail.com>2018-01-26 19:03:33 +0100
commit4e606f46503e3bfb1c1f5b8ddc0f043e8fa8db06 (patch)
treea4ffbb80768a69f442159d11538421cbac3fbe2f
parent524babd3d7cb574409baaedc41098be592fa5122 (diff)
Drop support for EOL Python 3.3
-rw-r--r--.ci/appveyor/download_exes.py2
-rw-r--r--.travis.yml1
-rw-r--r--NEWS1
-rw-r--r--README.rst6
-rw-r--r--circle.yml2
-rw-r--r--glances/__init__.py4
-rwxr-xr-xsetup.py5
7 files changed, 10 insertions, 11 deletions
diff --git a/.ci/appveyor/download_exes.py b/.ci/appveyor/download_exes.py
index 37ebdfd1..cbea08e7 100644
--- a/.ci/appveyor/download_exes.py
+++ b/.ci/appveyor/download_exes.py
@@ -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):
diff --git a/.travis.yml b/.travis.yml
index 20fc29e6..68e3eda7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
language: python
python:
- '2.7'
-- '3.3'
- '3.4'
- '3.5'
- '3.6'
diff --git a/NEWS b/NEWS
index 78c88917..731d4971 100644
--- a/NEWS
+++ b/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
diff --git a/README.rst b/README.rst
index eaedb18f..e7cfd20f 100644
--- a/README.rst
+++ b/README.rst
@@ -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
diff --git a/circle.yml b/circle.yml
index c3e11ae9..46a461b8 100644
--- a/circle.yml
+++ b/circle.yml
@@ -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:
diff --git a/glances/__init__.py b/glances/__init__.py
index a69a76f9..83ee1421 100644
--- a/glances/__init__.py
+++ b/glances/__init__.py
@@ -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
diff --git a/setup.py b/setup.py
index 08a831a4..b5d11b6d 100755
--- a/setup.py
+++ b/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',