Skip to content

Commit 19b3f3b

Browse files
committed
Drop support for Python 2.6.
😢
1 parent 358a42c commit 19b3f3b

5 files changed

Lines changed: 3 additions & 12 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ env:
55
- TOX_ENV=py27-lint
66
- TOX_ENV=py34-lint
77
- TOX_ENV=py27-lint-readme
8-
- TOX_ENV=py26
98
- TOX_ENV=py27
109
- TOX_ENV=py34
1110

CONTRIBUTING.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Before you submit a pull request, check that it meets these guidelines:
106106

107107
1. If the pull request adds functionality, the docs should be updated. Put
108108
your new functionality into a function with a docstring.
109-
2. The pull request should work for Python 2.6 and 2.7. Check
109+
2. The pull request should work for Python 2.7 and 3.4. Check
110110
https://travis-ci.org/galaxyproject/planemo/pull_requests
111111
and make sure that the tests pass for all supported Python versions.
112112

@@ -118,7 +118,7 @@ To run a subset of tests::
118118
% make tox ENV=py27 ARGS='--tests tests/test_shed_upload.py'
119119

120120
This will use Tox_ to run the specified tests using Python 2.7. ``ENV`` here
121-
can be used to specify different Python version (e.g. ``py26``, ``py27``,
121+
can be used to specify different Python version (e.g. ``py27`` and
122122
``py34``). Python 3.4 is a work in progress.
123123

124124
Even more granularity is also possible by specifying specific test methods.::
@@ -157,9 +157,6 @@ testing environment. Planemo defines the following environments:
157157
``py27-lint-readme``
158158
Lint the README reStructuredText.
159159

160-
``py26``
161-
Run planemo tests in Python 2.6.
162-
163160
``py27``
164161
Run planemo tests in Python 2.7.
165162

dev-requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ sphinx
1212
# Used to check readme.
1313
readme
1414

15-
# For Python 2.6 tests
16-
unittest2
17-
1815
# Used for code checking.
1916
pyflakes
2017
flake8

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def get_var(var_name):
114114
'Topic :: Software Development :: Testing',
115115
'Natural Language :: English',
116116
"Programming Language :: Python :: 2",
117-
'Programming Language :: Python :: 2.6',
118117
'Programming Language :: Python :: 2.7',
119118
],
120119
test_suite=TEST_DIR,

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# TODO: py34 to envlist
22
# TODO: implement doc linting
33
[tox]
4-
envlist = py34-lint, py27-lint, py27-lint-readme, py26, py27
4+
envlist = py34-lint, py27-lint, py27-lint-readme, py27
55
source_dir = planemo
66
test_dir = tests
77

@@ -11,7 +11,6 @@ commands = {envpython} setup.py nosetests []
1111
deps =
1212
-rrequirements.txt
1313
py27: cwltool
14-
py26: unittest2
1514
nose
1615
coverage
1716
flask

0 commit comments

Comments
 (0)