Skip to content

Commit 0642254

Browse files
authored
Merge pull request #81 from hugovk/rm-3.3
Drop support for EOL Python 3.3
2 parents 4ff7398 + 02fa1f8 commit 0642254

File tree

8 files changed

+12
-13
lines changed

8 files changed

+12
-13
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: python
22
python:
33
- '2.7'
4-
- '3.3'
54
- '3.4'
65
- '3.5'
76
- '3.6'

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1-
python-json-patch [![Build Status](https://secure.travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch) [![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master)
1+
python-json-patch
22
=================
3+
4+
[![PyPI version](https://img.shields.io/pypi/v/jsonpatch.svg)](https://pypi.python.org/pypi/jsonpatch/)
5+
[![Supported Python versions](https://img.shields.io/pypi/pyversions/jsonpatch.svg)](https://pypi.python.org/pypi/jsonpatch/)
6+
[![Build Status](https://travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch)
7+
[![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master)
8+
39
Applying JSON Patches in Python
410
-------------------------------
511

612
Library to apply JSON Patches according to
713
[RFC 6902](http://tools.ietf.org/html/rfc6902)
814

9-
See Sourcecode for Examples
15+
See source code for examples
1016

1117
* Website: https://github.com/stefankoegl/python-json-patch
1218
* Repository: https://github.com/stefankoegl/python-json-patch.git
1319
* Documentation: https://python-json-patch.readthedocs.org/
1420
* PyPI: https://pypi.python.org/pypi/jsonpatch
15-
* Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
21+
* Travis CI: https://travis-ci.org/stefankoegl/python-json-patch
1622
* Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
1723

1824
Running external tests

bin/jsondiff

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from __future__ import print_function
55

66
import sys
7-
import os.path
87
import json
98
import jsonpatch
109
import argparse

doc/index.rst

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

99
*python-json-patch* is a Python library for applying JSON patches (`RFC 6902
10-
<http://tools.ietf.org/html/rfc6902>`_). Python 2.7 and 3.3-3.6 are
10+
<http://tools.ietf.org/html/rfc6902>`_). Python 2.7 and 3.4+ are
1111
supported. Tests are run on both CPython and PyPy.
1212

1313

ext_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
""" Script to run external tests, eg from
3535
https://github.com/json-patch/json-patch-tests """
3636

37-
from functools import partial
3837
import doctest
3938
import unittest
4039
import jsonpatch

jsonpatch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
import collections
3838
import copy
3939
import functools
40-
import inspect
41-
import itertools
4240
import json
4341
import sys
4442

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
import sys
54
import io
65
import re
7-
import warnings
86
try:
97
from setuptools import setup
108
has_setuptools = True
@@ -58,7 +56,6 @@
5856
'Programming Language :: Python :: 2',
5957
'Programming Language :: Python :: 2.7',
6058
'Programming Language :: Python :: 3',
61-
'Programming Language :: Python :: 3.3',
6259
'Programming Language :: Python :: 3.4',
6360
'Programming Language :: Python :: 3.5',
6461
'Programming Language :: Python :: 3.6',
@@ -81,5 +78,6 @@
8178
package_data={'': ['requirements.txt']},
8279
scripts=['bin/jsondiff', 'bin/jsonpatch'],
8380
classifiers=CLASSIFIERS,
81+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
8482
**OPTIONS
8583
)

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_issue40(self):
366366

367367
src = [8, 7, 2, 1, 0, 9, 4, 3, 5, 6]
368368
dest = [7, 2, 1, 0, 9, 4, 3, 6, 5, 8]
369-
patch = jsonpatch.make_patch(src, dest)
369+
jsonpatch.make_patch(src, dest)
370370

371371
def test_issue76(self):
372372
""" Make sure op:remove does not include a 'value' field """

0 commit comments

Comments
 (0)