Skip to content

Commit

Permalink
Set jsonschema requirement to <= 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
avian2 committed May 13, 2016
1 parent 2d6e071 commit 5a848b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ python:
- 2.7
- 3.3
- 3.4
env:
- JSONSCHEMA="jsonschema"
matrix:
include:
- python: "3.2"
env: JSONSCHEMA="jsonschema==2.3.0"
install:
- pip install $JSONSCHEMA
install:
- pip install jsonschema==2.3.0
script:
- python setup.py test
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ Requirements
You need *jsonschema* (https://pypi.python.org/pypi/jsonschema) module
installed.

*jsonschema* 2.4.0 is recommended. With versions newer than 2.4.0,
*get_schema()* method might not work correctly
(https://github.com/avian2/jsonmerge/issues/20)


Installation
------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
author='Tomaz Solc',
author_email='tomaz.solc@tablix.org',
packages = [ 'jsonmerge' ],
install_requires = [ 'jsonschema' ],
install_requires = [ 'jsonschema<=2.4.0' ],
test_suite = 'tests',
classifiers = [
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 5a848b3

Please sign in to comment.