Skip to content

Commit

Permalink
Drop py26 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kvesteri committed Aug 30, 2016
1 parent 8d5cef5 commit 453cb70
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 19 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
Expand Down
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ Changelog
---------


0.10.4 (2016-08-30)
0.11.0 (2016-08-30)
^^^^^^^^^^^^^^^^^^^

- Fixed public url validation (#29)
- Made URL validator case insensitive (#27)
- Drop Python 2.6 support


0.10.3 (2016-06-13)
Expand Down
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ You can install ``validators`` using pip::
pip install validators


Currently ``validators`` supports python versions 2.6, 2.7, 3.3, 3.4, 3.5 and
PyPy.
Currently ``validators`` supports python versions 2.7, 3.3, 3.4, 3.5 and PyPy.


Basic validators
Expand Down
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def get_version():
install_requires=[
'six>=1.4.0',
'decorator>=3.4.0',
'ordereddict>=1.1'
if sys.version_info[0] == 2 and sys.version_info[1] < 7 else '',
'total_ordering>=0.1'
if sys.version_info[0] == 2 and sys.version_info[1] < 7 else ''
],
extras_require=extras_require,
classifiers=[
Expand All @@ -62,7 +58,6 @@ def get_version():
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
Expand Down
2 changes: 1 addition & 1 deletion validators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
from .utils import ValidationFailure, validator # noqa
from .uuid import uuid # noqa

__version__ = '0.10.4'
__version__ = '0.11.0'
6 changes: 1 addition & 5 deletions validators/extremes.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
try:
from functools import total_ordering
except ImportError:
# Use Python 2.6 port
from total_ordering import total_ordering
from functools import total_ordering


@total_ordering
Expand Down
5 changes: 1 addition & 4 deletions validators/utils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict
import inspect
import itertools
from collections import OrderedDict

import six
from decorator import decorator
Expand Down

0 comments on commit 453cb70

Please sign in to comment.