Commit Graph

738 Commits

Author SHA1 Message Date
Benjamin Dauvergne b489242ddd add debian directory 2017-01-02 16:37:22 +01:00
Julian Berman 3f459b73a2 Formatting. 2015-06-08 12:04:44 -04:00
Julian Berman 792f76a9fc Merge pull request #231 from rbtcollins/patch-1
Fix universal wheels
2015-06-08 12:03:29 -04:00
rbtcollins a69464340b Fix universal wheels
The current universal wheels have static install_requires matching the python version they were built on: so a wheel built on 2.6 claims it needs argparse and repoze.lru on 2.7 and 3.4, etc. This clearly doesn't work :)

environment markers are however honoured by wheels and pip, using this somewhat ugly syntax in extras (I'm looking to improve that, but this works - see the distutils-sig list for some discussion on it recently).
2015-06-08 21:04:36 +12:00
Julian Berman 5f0f1fae39 Add version and license badges. 2015-06-05 19:25:53 -04:00
Julian Berman d404a32f86 Temporarily remove these until I resolve upstream.
These tests aren't self consistent.
2015-06-05 08:51:53 -04:00
Julian Berman adb92ec208 Release notes. 2015-06-05 08:38:10 -04:00
Julian Berman 9fd67b4768 Remove VCVersioner stuff from VCS. 2015-06-05 08:29:36 -04:00
Julian Berman 582246aabd Merge commit '7afa6f02eb14cbe2f5003f2836c4f16761857355'
* commit '7afa6f02eb14cbe2f5003f2836c4f16761857355':
  Squashed 'json/' changes from 0b657e8..3481a79
2015-06-05 08:28:25 -04:00
Julian Berman 7afa6f02eb Squashed 'json/' changes from 0b657e8..3481a79
3481a79 Merge pull request #91 from gelraen/nonanchoredpattern
818553f Update pattern.json
b63c96f Merge pull request #92 from gelraen/escapedref
2f043b0 Update ref.json
1ebe2b4 Add valid instances for escaped ref tests
b117902 Add a test that checks for implicit anchoring
d319afa Merge pull request #90 from bugventure/develop
a2c9de2 Add jsen to the list of validators
6d4adfe Merge pull request #87 from legoktm/protocol-relative
824cb99 Add test case for protocol-relative uri validation

git-subtree-dir: json
git-subtree-split: 3481a793ab6a1042a5973549f735b18f2355fb4e
2015-06-05 08:28:25 -04:00
Julian Berman 168237288e
Temporarily disable lxml-cffi because travis' libxml doesn't cooperate. 2015-04-08 23:42:46 -04:00
Julian Berman 09f322fcfc Merge pull request #215 from jacquerie/add-link-to-travis
Add link to latest Travis build.
2015-04-07 08:52:54 -04:00
Jacopo Notarstefano 4bbbe617e7 Add link to latest Travis build. 2015-04-07 14:01:34 +02:00
Julian Berman aab0979f8d
Again, again. 2015-04-05 21:29:14 -04:00
Julian Berman 839e6568c3
Try again. 2015-04-05 21:25:32 -04:00
Julian Berman 60fcbbf962
Merge branch 'perf_cache_resolving'
* perf_cache_resolving:
  Squashed 'json/' changes from 9208016..0b657e8
  Need to preserve backwards compat for RefResolvers without the new methods.
  Pass in caches instead of arguments.
  I give up.
  Not deprecating these for now, just not used internally.
  Fix base_uri backwards compatibility.
  Er, green doesn't work on 2.6, and make running right out of a checkout easier.
  Wrong docstring.
  Add back assertions for backwards compat.
  Wait wat. Remove insanity.
  Probably should combine these at some point, but for now move them.
  Really run on the installed package.
  Begone py.test.
  Remove 3.3, use pip for installs, use green here too.
  lxml-cffi is giving obscure errors again.
  Fix a non-type in the docs.
  Switch to vcversioner, use repoze.lru only on 2.6, and add extras_require for format.
  Run tests on the installed package.
  Newer tox is slightly saner.
  It's hard to be enthusiastic about tox anymore.
  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-04-05 20:32:04 -04:00
Julian Berman a3b999cbce
Merge commit 'e886fd27a6a276c784f4e8af99412950208f3f7b' into perf_cache_resolving
* commit 'e886fd27a6a276c784f4e8af99412950208f3f7b':
  Squashed 'json/' changes from 9208016..0b657e8
2015-03-22 13:31:54 -04:00
Julian Berman e886fd27a6
Squashed 'json/' changes from 9208016..0b657e8
0b657e8 Merge pull request #86 from kylef/patch-1
1bd4151 [README] JSONSchema.swift uses these tests too
8f86716 Revert "Add jon, JSON parser for the fishshell."
db9c629 Merge pull request #82 from bucaran/patch-1
875fa42 Add jon, JSON parser for the fishshell.
64c556c Merge pull request #81 from s-panferov/patch-1
43105d4 Add new Rust library to the list
aa4d927 Merge pull request #80 from seagreen/implementations
20ef067 Add new haskell implementation.
1274070 Merge pull request #79 from Muscula/json-schema-benchmark
6d8cf45 Merge pull request #78 from JamesNK/patch-1
55c4992 Add json-schema-benchmark to list of users of this test suite
645623d Added Newtonsoft.Json.Schema implementation
a7944d1 Merge pull request #76 from Prestaul/patch-1
5729cdf Added skeemas to list of suite users
4600fe3 Make the implementation list a bit less unwieldy now that it's so long (hooray!)
11d6905 Merge remote-tracking branch 'mafintosh/patch-1' into develop
689b80f Merge pull request #74 from bugventure/develop
c36f888 Add request-validator as a user of the test suite
41876b1 Update README.md
aabcb34 Merge pull request #71 from seagreen/additionalproperties
b3d160b Add tests for additionalProperties by itself.

git-subtree-dir: json
git-subtree-split: 0b657e8b0d21a4099d3ce378ba7208073a9295e6
2015-03-22 13:31:49 -04:00
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 1a3203b656
It's misleading to display build status for whatever random branch Travis built last. 2015-03-15 14:52:59 -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