Julian Berman
f672988e2c
Need to preserve backwards compat for RefResolvers without the new methods.
2015-03-21 22:08:54 -04:00
Julian Berman
33973dc9fa
Pass in caches instead of arguments.
2015-03-21 21:56:50 -04:00
Julian Berman
8ebd5bcb0a
I give up.
2015-03-15 18:20:00 -04:00
Julian Berman
b7aab95f43
Not deprecating these for now, just not used internally.
2015-03-15 18:19:20 -04:00
Julian Berman
fec4647280
Merge remote-tracking branch 'dnephin/perf_cache_resolving' into perf_cache_resolving
...
* dnephin/perf_cache_resolving:
Fix base_uri backwards compatibility.
2015-03-15 18:12:08 -04:00
Daniel Nephin
7241db0d5e
Fix base_uri backwards compatibility.
2015-03-15 17:51:07 -04:00
Julian Berman
10ea4fa104
Er, green doesn't work on 2.6, and make running right out of a checkout easier.
2015-03-15 14:00:10 -04:00
Julian Berman
2fda689941
Wrong docstring.
2015-03-15 13:45:38 -04:00
Julian Berman
2c59b7192e
Add back assertions for backwards compat.
2015-03-15 12:39:35 -04:00
Julian Berman
b74a7fd9b8
Wait wat. Remove insanity.
2015-03-15 12:37:08 -04:00
Julian Berman
feea2329b1
Probably should combine these at some point, but for now move them.
2015-03-15 12:27:15 -04:00
Julian Berman
159dd1f0ea
Really run on the installed package.
2015-03-15 12:24:33 -04:00
Julian Berman
e5664b639f
Begone py.test.
2015-03-15 11:52:45 -04:00
Julian Berman
9b051e3124
Remove 3.3, use pip for installs, use green here too.
2015-03-15 11:52:33 -04:00
Julian Berman
2b7b85e206
lxml-cffi is giving obscure errors again.
2015-03-15 11:46:08 -04:00
Julian Berman
504f978da3
Fix a non-type in the docs.
2015-03-15 11:45:51 -04:00
Julian Berman
e2a604f7eb
Switch to vcversioner, use repoze.lru only on 2.6, and add extras_require for format.
2015-03-15 11:45:34 -04:00
Julian Berman
5f91ee6876
Run tests on the installed package.
2015-03-15 11:41:34 -04:00
Julian Berman
6093485f50
Newer tox is slightly saner.
2015-03-15 11:39:47 -04:00
Julian Berman
b40f902441
It's hard to be enthusiastic about tox anymore.
2015-03-14 21:23:13 -04:00
Julian Berman
a959fb1688
Merge remote-tracking branch 'dnephin/perf_cache_resolving'
...
* dnephin/perf_cache_resolving:
Use lru_cache
Remove DefragResult.
Remove context manager from ref() validation.
Perf improvements by using a cache.
Add benchmark script.
Fix test failures
issue #158 : TRY to speed-up scope & $ref url-handling by keeping fragments separated from URL (and avoid redunant frag/defrag). Conflicts: jsonschema/tests/test_benchmarks.py
2015-03-14 20:03:23 -04:00
Daniel Nephin
ee1a256fc8
Use lru_cache
2015-03-04 16:20:43 -05:00
Daniel Nephin
ca59f3fa87
Remove DefragResult.
2015-03-03 16:09:42 -05:00
Daniel Nephin
d1e24483aa
Remove context manager from ref() validation.
2015-03-01 20:52:20 -05:00
Daniel Nephin
613cf3e1a0
Perf improvements by using a cache.
2015-03-01 19:35:44 -05:00
Daniel Nephin
812392bbd4
Add benchmark script.
2015-03-01 19:16:41 -05:00
Daniel Nephin
22701dc652
Fix test failures
2015-02-27 19:53:54 -05:00
Kostis Anagnostopoulos @ STUW025
2fda1556ef
issue #158 : TRY to speed-up scope & $ref url-handling by keeping
...
fragments separated from URL (and avoid redunant frag/defrag).
Conflicts:
jsonschema/tests/test_benchmarks.py
issue #158 : Use try-finally to ensure resolver scopes_stack empty when
iteration breaks (no detectable performance penalty).
* Replace non-python-2.6 DefragResult with named-tuple.
* Add test-case checking scopes_stack empty.
Conflicts:
jsonschema/tests/test_validators.py
jsonschema/validators.py
2015-02-27 19:04:43 -05:00
Julian Berman
a38eac9048
Merge pull request #200 from samarjeet27/master
...
Add build status image
2015-02-25 08:52:10 -05:00
Samarjeet
9a0caed26d
Add build status image
2015-02-25 19:18:46 +05:30
Julian Berman
d14012615f
Merge pull request #192 from bennoleslie/patch-1
...
Fix Draft4Validator example code in validate.rst
2015-01-06 22:02:39 -05:00
Ben Leslie
aa7233f15e
Fix Draft4Validator example code in validate.rst
2015-01-07 13:56:02 +11:00
Julian Berman
e1c30237cf
Merge pull request #190 from vpelletier/master
...
Improve mutlipleOf validator with floating point value.
2015-01-04 13:01:54 -05:00
Vincent Pelletier
2b9a72273e
Improve mutlipleOf validator with floating point value.
...
Rely on system's built-in float tolerance by comparing quotient with cast
quotient instead of checking distance to remainder.
2014-12-29 16:21:42 +01:00
Julian Berman
add447fbe5
Try to be as explicit as possible on the million different uses of 'validator'.
...
Closes #175 .
2014-12-07 12:48:03 -05:00
Julian Berman
fcb178774f
Slightly clarify the wording, which means to refer to calling this method directly.
2014-12-07 12:24:47 -05:00
Julian Berman
62e942ea37
Merge commit '45cf1fb8a6a0b7ea1ab8de8ea9fc7addb0ffd149'
...
* commit '45cf1fb8a6a0b7ea1ab8de8ea9fc7addb0ffd149':
Squashed 'json/' changes from 3cef243..9208016
2014-12-07 12:22:37 -05:00
Julian Berman
45cf1fb8a6
Squashed 'json/' changes from 3cef243..9208016
...
9208016 Merge pull request #67 from iainbeeston/defaults
f57888c Added tests around the default property
db28fee Merge pull request #63 from iainbeeston/patch-1
609944b Added the json-schema ruby gem to the list of libraries using the test suite
git-subtree-dir: json
git-subtree-split: 9208016d04c1b6774d5a17e8b037161873414edb
2014-12-07 12:22:33 -05:00
Julian Berman
a23ef83090
Generative environments, and disable lxml on pypy3 which doesn't work yet.
2014-11-24 08:33:15 -05:00
Julian Berman
7593c1a15e
Merge remote-tracking branch 'asottile/pypy3'
...
* asottile/pypy3:
Support pypy3
2014-10-31 17:23:26 -04:00
Anthony Sottile
acbcbb1a16
Support pypy3
2014-10-16 14:04:58 -07:00
Julian Berman
eb987ac9ee
Fix style.
2014-10-12 17:47:00 -04:00
Julian Berman
1610e2802d
Add a simple test and all of the args.
2014-10-12 17:46:47 -04:00
Julian Berman
ff426eb870
Merge remote-tracking branch 'immerrr/make-exceptions-picklable'
...
* immerrr/make-exceptions-picklable:
Make exceptions picklable on Python 2.X
2014-10-12 17:21:17 -04:00
immerrr
0a51b663dc
Make exceptions picklable on Python 2.X
2014-10-07 03:55:28 +04:00
Julian Berman
642c802ca3
compat.py is not public API either.
2014-10-05 22:19:29 -04:00
Julian Berman
86844350c8
Merge remote-tracking branch 'sebastianmika/master'
...
* sebastianmika/master:
Closes maximum issue which wasn't an issue. Remove float conversion on minimum validator to make it work for very negative numbers
All tests pass when adding `float()` conversion on `instance` and `maximum` and `minimum` in respective validators
Add in float(instance) in maximum validator
2014-10-05 13:41:55 -04:00
Julian Berman
d82fa02dcf
Merge commit '43075285ed7271d9caaa02caa1747ead3cbb27ef'
...
* commit '43075285ed7271d9caaa02caa1747ead3cbb27ef':
Squashed 'json/' changes from abdd47f..3cef243
2014-10-05 13:41:12 -04:00
Julian Berman
43075285ed
Squashed 'json/' changes from abdd47f..3cef243
...
3cef243 Applies to Draft4 as well.
f323723 Check comparisons for very negative numbers as well.
c73cf22 Merge pull request #60 from gilesbowkett/added-jsck-to-who-uses-it
e77c86a jsck uses JSON Schema Test Suite
1a96775 Merge pull request #57 from tanaka-tatsuya/fix/max-length-test-case
b124928 fixed maxLength test case
git-subtree-dir: json
git-subtree-split: 3cef243acce1290c8bbbc546f7f3fcbd6c10ff8b
2014-10-05 13:41:06 -04:00
Julian Berman
8df0518ca3
2.5.0-dev
2014-09-27 20:51:12 -04:00