Skip to content

Commit df3395a

Browse files
committed
Drop support for EOL Python 2.6 and 3.3
1 parent bae64f6 commit df3395a

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: python
22
python:
3-
- '2.6'
43
- '2.7'
5-
- '3.3'
64
- '3.4'
75
- '3.5'
86
- '3.6'

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python-json-pointer
77
===================
88

99
*python-json-pointer* is a Python library for resolving JSON pointers (`RFC
10-
6901 <http://tools.ietf.org/html/rfc6901>`_). Python 2.6, 2.7, 3.2, 3.3
10+
6901 <http://tools.ietf.org/html/rfc6901>`_). Python 2.7, 3.4+
1111
and PyPy are supported.
1212

1313
**Contents**

jsonpointer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def __init__(self, pointer):
174174
# validate escapes
175175
invalid_escape = self._RE_INVALID_ESCAPE.search(pointer)
176176
if invalid_escape:
177-
raise JsonPointerException('Found invalid escape {0}'.format(
177+
raise JsonPointerException('Found invalid escape {}'.format(
178178
invalid_escape.group()))
179179

180180
parts = pointer.split('/')

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@
4242
'Operating System :: OS Independent',
4343
'Programming Language :: Python',
4444
'Programming Language :: Python :: 2',
45-
'Programming Language :: Python :: 2.6',
4645
'Programming Language :: Python :: 2.7',
4746
'Programming Language :: Python :: 3',
48-
'Programming Language :: Python :: 3.3',
4947
'Programming Language :: Python :: 3.4',
5048
'Programming Language :: Python :: 3.5',
5149
'Programming Language :: Python :: 3.6',
@@ -66,4 +64,5 @@
6664
py_modules=MODULES,
6765
scripts=['bin/jsonpointer'],
6866
classifiers=CLASSIFIERS,
67+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
6968
)

0 commit comments

Comments
 (0)