Skip to content

Commit 453cb70

Browse files
committed
Drop py26 support
1 parent 8d5cef5 commit 453cb70

7 files changed

Lines changed: 6 additions & 19 deletions

File tree

‎.travis.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: python
22
python:
3-
- 2.6
43
- 2.7
54
- 3.3
65
- 3.4

‎CHANGES.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ Changelog
22
---------
33

44

5-
0.10.4 (2016-08-30)
5+
0.11.0 (2016-08-30)
66
^^^^^^^^^^^^^^^^^^^
77

88
- Fixed public url validation (#29)
99
- Made URL validator case insensitive (#27)
10+
- Drop Python 2.6 support
1011

1112

1213
0.10.3 (2016-06-13)

‎docs/index.rst‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ You can install ``validators`` using pip::
3232
pip install validators
3333

3434

35-
Currently ``validators`` supports python versions 2.6, 2.7, 3.3, 3.4, 3.5 and
36-
PyPy.
35+
Currently ``validators`` supports python versions 2.7, 3.3, 3.4, 3.5 and PyPy.
3736

3837

3938
Basic validators

‎setup.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ def get_version():
4949
install_requires=[
5050
'six>=1.4.0',
5151
'decorator>=3.4.0',
52-
'ordereddict>=1.1'
53-
if sys.version_info[0] == 2 and sys.version_info[1] < 7 else '',
54-
'total_ordering>=0.1'
55-
if sys.version_info[0] == 2 and sys.version_info[1] < 7 else ''
5652
],
5753
extras_require=extras_require,
5854
classifiers=[
@@ -62,7 +58,6 @@ def get_version():
6258
'Operating System :: OS Independent',
6359
'Programming Language :: Python',
6460
'Programming Language :: Python :: 2',
65-
'Programming Language :: Python :: 2.6',
6661
'Programming Language :: Python :: 2.7',
6762
'Programming Language :: Python :: 3',
6863
'Programming Language :: Python :: 3.3',

‎validators/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
from .utils import ValidationFailure, validator # noqa
1414
from .uuid import uuid # noqa
1515

16-
__version__ = '0.10.4'
16+
__version__ = '0.11.0'

‎validators/extremes.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
try:
2-
from functools import total_ordering
3-
except ImportError:
4-
# Use Python 2.6 port
5-
from total_ordering import total_ordering
1+
from functools import total_ordering
62

73

84
@total_ordering

‎validators/utils.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
try:
2-
from collections import OrderedDict
3-
except ImportError:
4-
from ordereddict import OrderedDict
51
import inspect
62
import itertools
3+
from collections import OrderedDict
74

85
import six
96
from decorator import decorator

0 commit comments

Comments
 (0)