From 43f29326e4070f7c243ef89922c25b0d4a44c257 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 21 Aug 2018 19:54:46 +0300 Subject: [PATCH] Drop support for Python 3.3 --- .travis.yml | 4 +--- appveyor.yml | 6 +----- devscripts/requirements/requirements_tests.txt | 2 +- docs/news.rst | 5 +++++ setup.py | 3 +-- tox.ini | 8 +------- 6 files changed, 10 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75d4038..d08dcc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,6 @@ matrix: include: - python: "2.7" env: TOXENV=py27 - - python: "3.3" - env: TOXENV=py33 - python: "3.4" env: TOXENV=py34 - python: "3.5" @@ -34,7 +32,7 @@ matrix: env: TOXENV=py34-flake8 install: - - travis_retry pip install --upgrade pip setuptools "tox <= 2.9.1" + - travis_retry pip install --upgrade pip setuptools tox script: - tox diff --git a/appveyor.yml b/appveyor.yml index 509c25c..102b7c4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,10 +22,6 @@ environment: PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" - - TOXENV: "py33" - PYTHON_VERSION: "3.3" - PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python33-x64" - TOXENV: "py36" PYTHON_VERSION: "3.6" PYTHON_ARCH: "32" @@ -50,7 +46,7 @@ install: - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - "python -m pip install --upgrade pip setuptools" - - "pip install --upgrade \"tox <= 2.9.1\"" + - "pip install --upgrade tox" - "pip --version" # No build step - we don't have C extensions diff --git a/devscripts/requirements/requirements_tests.txt b/devscripts/requirements/requirements_tests.txt index 9d52e69..8e890d8 100644 --- a/devscripts/requirements/requirements_tests.txt +++ b/devscripts/requirements/requirements_tests.txt @@ -1,4 +1,4 @@ -r requirements.txt -pytest < 3.3 +pytest pytest-cov diff --git a/docs/news.rst b/docs/news.rst index fc2aaea..99586c7 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -1,6 +1,11 @@ News ==== +Version 0.7.0 (2018-??-??) +-------------------------- + +* Drop support for Python 3.3. + Version 0.6.1 (2017-12-15) -------------------------- diff --git a/setup.py b/setup.py index 2da5c79..dd7d863 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,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', @@ -48,5 +47,5 @@ setup( 'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py', 'scripts/which.py', ], - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*', + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', ) diff --git a/tox.ini b/tox.ini index 45c75b4..e38a2e5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] minversion = 1.8 -envlist = py{27,33,34,35,36,37}, pypy, py{27,34}-flake8 +envlist = py{27,34,35,36,37}, pypy, py{27,34}-flake8 # Base test environment settings [testenv] basepython = py27: {env:TOXPYTHON:python2.7} - py33: {env:TOXPYTHON:python3.3} py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} @@ -27,11 +26,6 @@ commands = {[testenv]commands} {[general]commands} -[testenv:py33] -commands = - {[testenv]commands} - {[general]commands} - [testenv:py34] commands = {[testenv]commands} -- 2.39.2