From da46c4553d9412fe9616a209a3436957aa65495a Mon Sep 17 00:00:00 2001 From: joo Date: Fri, 18 May 2018 03:26:51 +0100 Subject: [PATCH] Remove support for Python 3.3. Add Python 3.6 to autotests as default version. --- .travis.yml | 14 +++++++------- README.rst | 1 - requirements.txt | 3 +-- tox.ini | 14 +++++++------- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6763f52..19a6a25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,21 +5,21 @@ matrix: include: - python: 2.7 env: TOX_ENV=py27 - - python: 3.3 - env: TOX_ENV=py33 - python: 3.4 env: TOX_ENV=py34 - python: pypy env: TOX_ENV=pypy - python: 3.5 env: TOX_ENV=py35 - - python: 3.5 + - python: 3.6 + env: TOX_ENV=py36 + - python: 3.6 env: TOX_ENV=flake8 - - python: 3.5 + - python: 3.6 env: TOX_ENV=pylint-errors - - python: 3.5 + - python: 3.6 env: TOX_ENV=pylint-full - - python: 3.5 + - python: 3.6 env: TOX_ENV=verify-manifest install: @@ -28,6 +28,6 @@ install: script: - tox -e $TOX_ENV after_script: - - if [ "$TOX_ENV" = "py35" ]; then tox -e coveralls; fi + - if [ "$TOX_ENV" = "py36" ]; then tox -e coveralls; fi notifications: email: false diff --git a/README.rst b/README.rst index deb7ff2..944ed05 100644 --- a/README.rst +++ b/README.rst @@ -48,7 +48,6 @@ Supported Python versions pyCraft is compatible with (at least) the following Python implementations: * Python 2.7 -* Python 3.3 * Python 3.4 * Python 3.5 * Python 3.6 diff --git a/requirements.txt b/requirements.txt index 6e08852..0f1d0b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -cryptography>=1.5 ; python_version!="3.3" -cryptography>=1.5,<2.0 ; python_version=="3.3" +cryptography>=1.5 requests future diff --git a/tox.ini b/tox.ini index de0deab..61365ef 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py27, py33, py34, py35, pypy, flake8, pylint-errors, pylint-full, verify-manifest +envlist = py27, py34, py35, py36, pypy, flake8, pylint-errors, pylint-full, verify-manifest [testenv] commands = nosetests @@ -31,7 +31,7 @@ deps = {[testenv]deps} mock -[testenv:py35] +[testenv:py36] setenv = PYCRAFT_RUN_INTERNET_TESTS=1 commands = @@ -45,7 +45,7 @@ deps = mock [testenv:flake8] -basepython = python3.5 +basepython = python3.6 commands = flake8 minecraft tests setup.py start.py bin/generate_travis_yml.py deps = @@ -53,14 +53,14 @@ deps = flake8 [testenv:pylint-errors] -basepython = python3.5 +basepython = python3.6 deps = {[testenv]deps} pylint commands = pylint minecraft -E [testenv:pylint-full] -basepython = python3.5 +basepython = python3.6 deps = {[testenv]deps} pylint @@ -68,7 +68,7 @@ commands = - pylint minecraft --disable=E [testenv:docs] -basepython = python3.5 +basepython = python3.6 deps = {[testenv:cover]deps} sphinx @@ -77,7 +77,7 @@ commands = {toxinidir}/bin/build_docs [testenv:verify-manifest] -basepython = python3.5 +basepython = python3.6 deps = check-manifest commands =