diff options
author | Hugo <hugovk@users.noreply.github.com> | 2018-01-15 16:57:26 +0200 |
---|---|---|
committer | Hugo <hugovk@users.noreply.github.com> | 2018-01-15 16:57:26 +0200 |
commit | df3395ab1db3957e71c5a9701f0d3bb622faf16f (patch) | |
tree | c84eaeb520e8a7c00b71a1ef90db682b1b1c93a9 | |
parent | bae64f61ec5f1057342faf19b89d5bd571b038da (diff) | |
download | python-json-pointer-df3395ab1db3957e71c5a9701f0d3bb622faf16f.tar.gz |
Drop support for EOL Python 2.6 and 3.3
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | doc/index.rst | 2 | ||||
-rw-r--r-- | jsonpointer.py | 2 | ||||
-rw-r--r-- | setup.py | 3 |
4 files changed, 3 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index bd9a8a3..f67ebbe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: python python: -- '2.6' - '2.7' -- '3.3' - '3.4' - '3.5' - '3.6' diff --git a/doc/index.rst b/doc/index.rst index dbdf2c6..53b1dea 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -7,7 +7,7 @@ python-json-pointer =================== *python-json-pointer* is a Python library for resolving JSON pointers (`RFC -6901 <http://tools.ietf.org/html/rfc6901>`_). Python 2.6, 2.7, 3.2, 3.3 +6901 <http://tools.ietf.org/html/rfc6901>`_). Python 2.7, 3.4+ and PyPy are supported. **Contents** diff --git a/jsonpointer.py b/jsonpointer.py index 285fc0c..a844729 100644 --- a/jsonpointer.py +++ b/jsonpointer.py @@ -174,7 +174,7 @@ class JsonPointer(object): # validate escapes invalid_escape = self._RE_INVALID_ESCAPE.search(pointer) if invalid_escape: - raise JsonPointerException('Found invalid escape {0}'.format( + raise JsonPointerException('Found invalid escape {}'.format( invalid_escape.group())) parts = pointer.split('/') @@ -42,10 +42,8 @@ CLASSIFIERS = [ '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', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', @@ -66,4 +64,5 @@ setup(name=PACKAGE, py_modules=MODULES, scripts=['bin/jsonpointer'], classifiers=CLASSIFIERS, + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', ) |