Skip to content

Commit ca7250d

Browse files
committed
Merge branch 'remove-26deps' into develop
* remove-26deps: Update tox to run 3.4 Remove unused imports Update changelog with latest changes Remove unused imports for 2.6
2 parents a7e9f9f + 516b413 commit ca7250d

File tree

5 files changed

+19
-27
lines changed

5 files changed

+19
-27
lines changed

CHANGELOG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
0.7.1
2+
=====
3+
4+
* Rename ``bin/jp`` to ``bin/jp.py``
5+
* Fix issue with precedence when parsing wildcard
6+
projections
7+
* Remove ordereddict and simplejson as py2.6 dependencies.
8+
These were never actually used in the jmespath code base,
9+
only in the unit tests. Unittests requirements are handled
10+
via requirements26.txt.
11+
12+
13+
0.7.0
14+
=====
15+
16+
* Add support for JEP-12, raw string literals
17+
* Support .whl files
18+
119
0.6.2
220
=====
321

jmespath/compat.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,3 @@ def get_methods(cls):
5454
for name, method in inspect.getmembers(cls,
5555
predicate=inspect.isfunction):
5656
yield name, method
57-
58-
59-
if sys.version_info[:2] == (2, 6):
60-
from ordereddict import OrderedDict
61-
import simplejson as json
62-
else:
63-
from collections import OrderedDict
64-
import json

jmespath/functions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import inspect
21
import math
32
import json
43
import weakref

setup.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,6 @@
77
from setuptools import setup, find_packages
88

99

10-
requires = []
11-
12-
13-
if sys.version_info[:2] == (2, 6):
14-
# For python2.6 we have a few other dependencies.
15-
# First we need an ordered dictionary so we use the
16-
# 2.6 backport.
17-
requires.append('ordereddict==1.1')
18-
# Then we need simplejson. This is because we need
19-
# a json version that allows us to specify we want to
20-
# use an ordereddict instead of a normal dict for the
21-
# JSON objects. The 2.7 json module has this. For 2.6
22-
# we need simplejson.
23-
requires.append('simplejson==3.3.0')
24-
25-
2610
setup(
2711
name='jmespath',
2812
version='0.7.0',
@@ -33,7 +17,6 @@
3317
url='https://github.com/jmespath/jmespath.py',
3418
scripts=['bin/jp.py'],
3519
packages=find_packages(exclude=['tests']),
36-
install_requires=requires,
3720
classifiers=(
3821
'Development Status :: 5 - Production/Stable',
3922
'Intended Audience :: Developers',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py26,py27,py32,py33
2+
envlist = py26,py27,py33,py34
33

44
[testenv]
55
commands = nosetests

0 commit comments

Comments
 (0)