From 73dfccdb19be0c8887ac5215666617ca2793d9c9 Mon Sep 17 00:00:00 2001 From: Eric Hayes Date: Tue, 2 Apr 2019 19:58:29 -0700 Subject: Add support for python 3.7 (#65) * Adding support for 3.7. This was previously left out due to some issues mentioned in 3.7-dev for travis-ci (see: https://github.com/travis-ci/travis-ci/issues/9815), but those issues appear to be resolved now. * Python 2.6 appears to be failing due to deprecation notice, 3.7 requires a workaround since this build is currently using trusty instead of xenial. --- .travis.yml | 7 ++++++- README.rst | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a99738..8aa387e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,17 @@ language: python python: - - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" +# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs +matrix: + include: + - python: 3.7 + dist: xenial + sudo: true install: - "pip install ." - "pip install pytest" diff --git a/README.rst b/README.rst index 2811fd4..dc6856e 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ https://github.com/kennknowles/python-jsonpath-rw |Build Status| |Test coverage| |PyPi version| |PyPi downloads| This library provides a robust and significantly extended implementation -of JSONPath for Python. It is tested with Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, and 3.6. +of JSONPath for Python. It is tested with Python 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, and 3.7. *(On travis-ci there is a segfault when running the tests with pypy; I don't think the problem lies with this library)*. This library differs from other JSONPath implementations in that it is a -- cgit v1.2.1