summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't allow warnings during test runs.warningsJulian Berman2021-07-091-0/+1
|
* Install with --in-tree-build in the tox.ini.Julian Berman2021-07-091-4/+9
| | | | | | | | Follows pip's warning message advice, which recommends trying this option because out-of-tree builds will be removed. See: pypa/pip#7555
* Rename the test skip (to match the renamed tests).Julian Berman2021-06-291-2/+2
|
* Merge commit '02434de22eb0fb4eb60744c5f38c4895b5d4dd02'Julian Berman2021-06-296-10/+90
|\ | | | | | | | | * commit '02434de22eb0fb4eb60744c5f38c4895b5d4dd02': Squashed 'json/' changes from 1326f36e..17fa9589
| * Squashed 'json/' changes from 1326f36e..17fa9589Julian Berman2021-06-296-10/+90
| | | | | | | | | | | | | | | | | | 17fa9589 Merge pull request #494 from anexia-it/master a0d28fdf Extend duration and uuid format tests for ignored values b6769f2b fix ids in older drafts git-subtree-dir: json git-subtree-split: 17fa958927a0ef5ba9d26bff8358c03f082476e7
* | Merge pull request #819 from anexia-it/uri-templateJulian Berman2021-06-272-8/+7
|\ \ | | | | | | Fixes validation for uri-template format
| * | Fixes validation for uri-template formatHarald Nezbeda2021-06-252-8/+7
| | |
* | | And skip a few more new ref tests.Julian Berman2021-06-261-0/+28
| | |
* | | Merge commit '4e76fb6ae3c1f77d12bca82e4f92691dd57cac15'Julian Berman2021-06-266-2/+150
|\ \ \ | | |/ | |/| | | | | | | * commit '4e76fb6ae3c1f77d12bca82e4f92691dd57cac15': Squashed 'json/' changes from 0aefbb3d..1326f36e
| * | Squashed 'json/' changes from 0aefbb3d..1326f36eJulian Berman2021-06-266-2/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1326f36e Merge pull request #493 from json-schema-org/ether/id-sibling-to-ref b9bddc9c test that sibling $ids to $refs are ignored 2f6a498d Merge pull request #492 from json-schema-org/ether/fix-refRemote 61d03c0e fix buggy test with $ref in older drafts git-subtree-dir: json git-subtree-split: 1326f36ebb30f81162f0e69ae8e7079c29bcd880
* | | Revert an accidentally removed test.Julian Berman2021-06-261-0/+7
| |/ |/|
* | Skip the tests which tickle known bugs.Julian Berman2021-06-242-7/+34
| |
* | Merge commit '6d455c83e3fd953a9e762e596c52ce1fc4bf8740'Julian Berman2021-06-24102-101/+12887
|\ \ | |/ | | | | | | * commit '6d455c83e3fd953a9e762e596c52ce1fc4bf8740': Squashed 'json/' changes from 09fd353f..0aefbb3d
| * Squashed 'json/' changes from 09fd353f..0aefbb3dJulian Berman2021-06-24102-101/+12887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aefbb3d Merge pull request #491 from jdesrosiers/object-contains-tests 336ef8d2 Merge pull request #452 from LeifRilbe/rilbe/propertyNames-with-pattern 2dfbc79c Simplify the test case names as well. b6d0649d Add tests for contains with objects da687ca5 Enforce a consistent code style for contains tests b163efcf Merge pull request #490 from jdesrosiers/draft-future 7c8cb488 Initialize draft-future with 2020-12 tests 4d65d2df Merge pull request #483 from kylef/kylef/date ee9dcaa7 Merge pull request #485 from marksparkza/contains-with-false-if eaa5bffc Merge pull request #489 from json-schema-org/ether/more-recursiveRef 7c33b533 dynamic $recursiveRef test with cousin $recursiveAnchors 8a3a542b Fix invalid JSON error 8a89f58e Add tests combining remote refs and defs 3aec0d14 Add tests combining relative refs and defs a107d196 fix: $defs -> definitions in draft 6,7 tests 0c223de2 Remove a test for undefined $id behavior 4efec180 Test that "contains" does not fail due to false "if" subschema bf383b4c fix: make identifiers unique across tests 812f1f08 Merge pull request #484 from json-schema-org/ether/schemas-under-unknown-keywords 64f6b850 Test that identifiers are not found inside unrecognized keywords c69a89c6 Stricter date format constraints 93193442 Test cases for propertyNames with pattern - update after PR feedback. 8e4aad95 Test cases for propertyNames with pattern. git-subtree-dir: json git-subtree-split: 0aefbb3d80e0caa22f3782677cf09c61b2205aa7
* | Merge pull request #816 from franciscouzo/delete-unused-dependencyJulian Berman2021-06-131-1/+0
|\ \ | | | | | | Delete unused dependency
| * | Delete unused dependencyFrancisco Couzo2021-06-121-1/+0
|/ /
* | Add #746 to the changelog.Julian Berman2021-06-021-0/+3
| |
* | Merge pull request #811 from Julian/dependabot/pip/docs/urllib3-1.26.5Julian Berman2021-06-021-26/+54
|\ \ | | | | | | Bump urllib3 from 1.26.4 to 1.26.5 in /docs
| * | Bump urllib3 from 1.26.4 to 1.26.5 in /docsdependabot[bot]2021-06-021-26/+54
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* | v4.0.0a1v4.0.0a1Julian Berman2021-05-221-0/+17
| |
* | Evade the pip safety warning.Julian Berman2021-05-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regardless of the version of pip on the host Python, the embedded pip version (for the current versions of CPython) is vulnerable, so safety was complaining about the resulting virtual environmnets created by tox. See e.g. https://github.com/Julian/jsonschema/runs/2504226692?check_suite_focus=true This fix seems like the simplest, albeit still seems very fragile. tox does have a `download` config option, documented here: https://tox.readthedocs.io/en/latest/config.html#conf-download but it doesn't seem to have any effect, possibly because we use `skipsdist`.
* | Remove default types (in favor of the TypeChecker API).Julian Berman2021-05-043-397/+2
| | | | | | | | | | | | This has been deprecated for ~2 years, so should be good to go. Closes: #681.
* | Style.Julian Berman2021-04-281-0/+1
| |
* | Unsupport leap seconds.Julian Berman2021-04-281-0/+12
| | | | | | | | | | | | | | | | It's unclear to me yet what to do here. Upstream we seem to read that these should be valid, but in particular, strict-rfc3339 doesn't support them because they'd require up to date tzdata.
* | Merge commit 'c19f0b4ee66ce10217185fa8d2c8b7a2784e3a31'Julian Berman2021-04-2825-30/+660
|\ \ | |/ | | | | | | * commit 'c19f0b4ee66ce10217185fa8d2c8b7a2784e3a31': Squashed 'json/' changes from 15ec577f..09fd353f
| * Squashed 'json/' changes from 15ec577f..09fd353fJulian Berman2021-04-2825-30/+660
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09fd353f Merge pull request #481 from kylef/kylef/time 0ed2e79b Fix negative time test to only fail on a single rule 2edc74b1 Add valid time with different second fractions 7bde0bf7 Add valid time with leap second including offset ee83f464 Stricter time format constraints 5732904a Merge pull request #480 from json-schema-org/ether/better-test-names c2994271 better test names for schema-items + additionalItems 6bc53e60 Merge pull request #479 from json-schema-org/fix-non-id-in-enum-for-drafts-6-and-7 3f783d9c fixing draft 6 & 7 non-id tests 5768c68d Merge pull request #476 from json-schema-org/ether/readme-updates 0c8bfc06 add mention of JSON::Schema::Tiny e4c10c6b fix markdown for underscores in package names eeb4db18 mention draft2020-12 in readme dff69dcb Merge pull request #474 from marksparkza/unevaluatedItems-depends-on-contains 51b4977c Merge pull request #478 from sorinsarca/patch-1 dfcd4a19 fix bad comma 4cb100a5 Merge pull request #465 from json-schema-org/ether/more-naive-ref 31dc86bc add another test of naive $ref replacement f858c613 Merge pull request #477 from json-schema-org/ether/more-items-tests 4e266c34 test that array-items/prefixItems adjusts the starting position for schema-items/additionalItems b7fced33 Merge pull request #473 from json-schema-org/ether/more-default-tests eadb9be7 test that a missing property is not populated by the default in the actual instance data 839b95d8 Added opis/json-schema 7cf78800 Add missing comma 3390c871 Update tests/draft2020-12/unevaluatedItems.json d3b88001 Update tests/draft2020-12/unevaluatedItems.json 84e1d5a9 Add another test case for unevaluatedItems-contains interaction f400802c Add tests for unevaluatedItems interaction with contains git-subtree-dir: json git-subtree-split: 09fd353fc44ab22e7e8998d096b3d6d83287e5e6
* | Fix IDs of remotes in the test suite on Windows.Julian Berman2021-04-121-1/+1
| | | | | | | | | | | | | | | | bb98b030046d7772679c28da806a01da6df02c96 in json-schema-org/JSON-Schema-Test-Suite seems to have accidentally changed the output here on Windows. Possibly I should fix that upstream, but for now...
* | Install package for perf toxenvs too.Julian Berman2021-04-121-1/+1
| | | | | | | | Closes: #798
* | Skip tests that actually rely on location-independent IDs.Julian Berman2021-04-121-0/+30
| |
* | Allowing leading zeros is allowed by the JSON Schema spec...Julian Berman2021-04-121-0/+11
| | | | | | | | | | | | | | | | And Python at the minute does so. That may change, see the discussion at https://bugs.python.org/issue36384. At that point these may get unskipped (and this library may change to follow it).
* | Merge commit '61d6022ad9cceb91eb634d01eecfc15358b1d8a1'Julian Berman2021-04-12103-217/+11736
|\ \ | |/ | | | | | | * commit '61d6022ad9cceb91eb634d01eecfc15358b1d8a1': Squashed 'json/' changes from 3627cc1..15ec577
| * Squashed 'json/' changes from 3627cc1..15ec577Julian Berman2021-04-12103-217/+11736
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15ec577 Merge pull request #471 from json-schema-org/ether/id-anchor-in-enum 9f97865 test for confusing not-identifiers in enums 0f7ecd4 Merge pull request #475 from marksparkza/marksparkza-patch-1 783d22a Add jschon fc68499 Merge pull request #472 from json-schema-org/ether/unevaluatedProperties_uncles ed4cf5f more test cases for unevaluatedItems, unevaluatedProperties d0d814d Merge pull request #469 from json-schema-org/ether/ipv4-vulnerability 7ca5f36 reject ipv4 strings with an octet with a leading zero 8e1e1c1 fix spelling error in test descriptions 77f1d10 Merge pull request #462 from jdesrosiers/dynamic-ref-tests 72a32fe Merge pull request #468 from json-schema-org/ether/combine-test-cases 0c48ffb Merge pull request #453 from notEthan/float-overflow-d4-int 76a4ba0 these test cases can be combined since the schemas are the same cd73775 Merge pull request #464 from json-schema-org/ether/format-by-default-always-validates 043dc63 by default, "format" only annotates, not validates 3c45b81 Merge pull request #460 from amosonn/remove-remotes-from-script b09e48d Fix $ref with siblings in pre-2019-09 tests ff9f22e Add tests for $dynamicRef/$dynamicAnchor 0faaf09 Fix refs to Draft 2019-09 schema to be refs to 2020-12 ebbcbc8 Use flask to server remotes directly bb98b03 Remove remotes from bin/jsonschema_suite fcae732 Merge pull request #455 from jdesrosiers/bootstrap-202012 e002409 Update tests for 2020-12 405b3fb Copy 2019-09 tests to bootstrap 2020-12 tests 1636a22 draft4 float-overflow instance may be considered not an integer 8daea3f Merge pull request #451 from json-schema-org/ether/more-relative-json-pointer 69fe40f some more relative-json-pointer tests 6505944 Merge pull request #450 from json-schema-org/ether/recursiveRef-dynamic-path afd0cd3 Move content* keyword tests to non-optional e2b2a4b Change all content* keyword tests to always validate 8999eae $recursiveRef example demonstrating dynamic nature of the resolution scope f47003f fix duplicate test description bcf1dc8 Merge pull request #391 from ether/recursiveRef (rebased, squashed) 3d88f34 test $recursiveRef + $recursiveAnchor 3b79a45 Merge pull request #418 from ChALkeR/chalker/contentSchema 29f609b Add tests for contentSchema git-subtree-dir: json git-subtree-split: 15ec577f5ddee0115319f4e7f856cd57567a9c78
* | Bump lxml (and the rest of the doc requirements).Julian Berman2021-03-291-57/+27
| |
* | Merge pull request #794 from Julian/dependabot/pip/docs/pygments-2.7.4Julian Berman2021-03-291-1/+1
|\ \ | | | | | | Bump pygments from 2.7.2 to 2.7.4 in /docs
| * | Bump pygments from 2.7.2 to 2.7.4 in /docsdependabot/pip/docs/pygments-2.7.4dependabot[bot]2021-03-291-1/+1
|/ / | | | | | | | | | | | | | | Bumps [pygments](https://github.com/pygments/pygments) from 2.7.2 to 2.7.4. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.7.2...2.7.4) Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #791 from Julian/dependabot/pip/docs/jinja2-2.11.3Julian Berman2021-03-201-1/+1
|\ \ | | | | | | Bump jinja2 from 2.11.2 to 2.11.3 in /docs
| * | Bump jinja2 from 2.11.2 to 2.11.3 in /docsdependabot/pip/docs/jinja2-2.11.3dependabot[bot]2021-03-201-1/+1
|/ / | | | | | | | | | | | | | | Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3) Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #790 from Julian/dependabot/pip/docs/urllib3-1.26.3Julian Berman2021-03-191-27/+56
|\ \ | | | | | | Bump urllib3 from 1.26.2 to 1.26.3 in /docs
| * | Bump urllib3 from 1.26.2 to 1.26.3 in /docsdependabot/pip/docs/urllib3-1.26.3dependabot[bot]2021-03-191-27/+56
|/ / | | | | | | | | | | | | | | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.2 to 1.26.3. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.2...1.26.3) Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #786 from sir-sigurd/patch-1Julian Berman2021-03-031-1/+1
|\ \ | | | | | | remove uneeded backtick from docstring of validators.extend()
| * | remove uneeded backtick from docstring of validators.extend()Sergey Fedoseev2021-03-031-1/+1
|/ /
* | Minor style fixes.Julian Berman2021-03-031-4/+7
| |
* | Merge branch 'fuzzer-fix'Julian Berman2021-03-031-4/+3
|\ \ | | | | | | | | | | | | * fuzzer-fix: fixed fuzzer.
| * | fixed fuzzer.davkor2021-03-031-4/+3
|/ /
* | Merge pull request #772 from DavidKorczynski/mainJulian Berman2021-03-023-1/+79
|\ \ | | | | | | Added fuzzer to be run with OSS-Fuzz
| * | Extra newline.Julian Berman2021-03-021-1/+0
| | |
| * | Ignore the fuzz module from coverage for now as well.Julian Berman2021-03-021-1/+1
| | |
| * | Go back to fuzz_* naming.Julian Berman2021-03-021-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hypothesis isn't a current testing dependency, so as this was before (where it was named test_* and discovered by the test runner) there are CI failures for the normal test suite run. In the future hypothesis will likely become a normal testing dependency and then we can run this as well, but for now, only run it in the CIFuzz job.
| * | Module docstringJulian Berman2021-03-021-0/+6
| | |
| * | Add language, remove dry-run: false which is the default.Julian Berman2021-03-021-3/+8
| | | | | | | | | | | | Run only against main for now, save some time on PRs.