From 3e31cdb1e0a017eb5f87cb04b380f0d9a3db88a3 Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 26 Aug 2019 16:58:27 +0300 Subject: [PATCH 1/6] sudo no longer needed https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 493cfdb9..b222ea74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ python: - "3.5" - "3.4" - "pypy" -sudo: false # Use container-based infrastructure install: - "pip install mock" script: "python -m unittest discover -p *_test.py" From e6030bbb4e1781e5ae8acac0cf323f73fa7ca6eb Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 26 Aug 2019 16:59:58 +0300 Subject: [PATCH 2/6] Add support for Python 3.7 --- .travis.yml | 1 + README.rst | 2 +- setup.py | 1 + tox.ini | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b222ea74..417da96c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python cache: pip python: - "2.7" + - "3.7" - "3.6" - "3.5" - "3.4" diff --git a/README.rst b/README.rst index 20c73fa3..e460848c 100644 --- a/README.rst +++ b/README.rst @@ -71,7 +71,7 @@ Copyright Jonathan Hartley 2013. BSD 3-Clause license; see LICENSE file. Dependencies ============ -None, other than Python. Tested on Python 2.7, 3.4, 3.5 and 3.6. +None, other than Python. Tested on Python 2.7 and 3.4+. Usage ===== diff --git a/setup.py b/setup.py index 35aecd89..962f8d4e 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,7 @@ def get_version(path): 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Terminals', diff --git a/tox.ini b/tox.ini index 00c61112..8fde315d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py34, py35, py36, pypy +envlist = py27, py34, py35, py36, py37, pypy [testenv] deps = mock From 212083c555980461252e7bd679e2b70230642eff Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 26 Aug 2019 17:05:01 +0300 Subject: [PATCH 3/6] Drop support for EOL Python 3.4 --- .travis.yml | 1 - README.rst | 2 +- setup.py | 3 +-- tox.ini | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 417da96c..b3e9d659 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ python: - "3.7" - "3.6" - "3.5" - - "3.4" - "pypy" install: - "pip install mock" diff --git a/README.rst b/README.rst index e460848c..e1a2b74b 100644 --- a/README.rst +++ b/README.rst @@ -71,7 +71,7 @@ Copyright Jonathan Hartley 2013. BSD 3-Clause license; see LICENSE file. Dependencies ============ -None, other than Python. Tested on Python 2.7 and 3.4+. +None, other than Python. Tested on Python 2.7 and 3.5+. Usage ===== diff --git a/setup.py b/setup.py index 962f8d4e..9154e1ff 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def get_version(path): url='https://github.com/tartley/colorama', license='BSD', packages=[NAME], - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', # see classifiers https://pypi.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -53,7 +53,6 @@ def get_version(path): 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', diff --git a/tox.ini b/tox.ini index 8fde315d..81f897fa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py34, py35, py36, py37, pypy +envlist = py27, py35, py36, py37, pypy [testenv] deps = mock From d610ca375a07c8290cfd14cb58b1d8f9df8ad544 Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 26 Aug 2019 17:06:19 +0300 Subject: [PATCH 4/6] Test on Python 3.8 beta to avoid surprises --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b3e9d659..7df5dcfd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python cache: pip python: - "2.7" + - "3.8-dev" - "3.7" - "3.6" - "3.5" From d642598b570e2892de51aea30e06a3a56a8b95e9 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 18 Oct 2019 09:12:00 +0300 Subject: [PATCH 5/6] Python 3.8 is out --- .travis.yml | 2 +- setup.py | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7df5dcfd..0bf49d3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: python cache: pip python: - "2.7" - - "3.8-dev" + - "3.8" - "3.7" - "3.6" - "3.5" diff --git a/setup.py b/setup.py index 9154e1ff..31720d02 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,7 @@ def get_version(path): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Terminals', diff --git a/tox.ini b/tox.ini index 81f897fa..1a577e90 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py35, py36, py37, pypy +envlist = py27, py35, py36, py37, py38, pypy [testenv] deps = mock From 9f03cb6c237ac420e60858f20ee775224cb5e186 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 20 Oct 2019 10:20:46 +0300 Subject: [PATCH 6/6] Explicitly list tested versions --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e1a2b74b..592b0705 100644 --- a/README.rst +++ b/README.rst @@ -71,7 +71,7 @@ Copyright Jonathan Hartley 2013. BSD 3-Clause license; see LICENSE file. Dependencies ============ -None, other than Python. Tested on Python 2.7 and 3.5+. +None, other than Python. Tested on Python 2.7, 3.5, 3.6, 3.7 and 3.8. Usage =====