./textproc/py-jsonschema, Implementation of JSON Schema for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.23.0, Package name: py312-jsonschema-4.23.0, Maintainer: bsiegert

jsonschema is an implementation of JSON Schema for Python (supporting
2.6+ including Python 3).

Features:

- Full support for Draft 3 and Draft 4 of the schema.
- Lazy validation that can iteratively report all validation errors.
- Small and extensible
- Programmatic querying of which properties or items failed validation.


Required to run:
[devel/py-attrs] [devel/py-pyrsistent] [lang/python310]

Master sites:

Filesize: 318.143 KB

Version history: (Expand)


CVS history: (Expand)


   2024-08-15 23:58:10 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-jsonschema: remove support for Python 3.8
   2024-07-17 10:09:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-jsonschema: updated to 4.23.0

v4.23.0

* Do not reorder dictionaries (schemas, instances) that are printed as part of \ 
validation errors.
* Declare support for Py3.13
   2024-05-08 10:23:39 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-jsonschema: updated to 4.22.0

v4.22.0

* Improve ``best_match`` (and thereby error messages from \ 
``jsonschema.validate``) in cases where there are multiple *sibling* errors from \ 
applying ``anyOf`` / ``allOf`` -- i.e. when multiple elements of a JSON array \ 
have errors, we now do prefer showing errors from earlier elements rather than \ 
simply showing an error for the full array.
* (Micro-)optimize equality checks when comparing for JSON Schema equality by \ 
first checking for object identity, as ``==`` would.
   2024-01-20 09:01:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-jsonschema: updated to 4.21.1

v4.21.1

* Slightly speed up the ``contains`` keyword by removing some unnecessary \ 
validator (re-)creation.
   2024-01-16 19:18:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-jsonschema: updated to 4.21.0

v4.21.0

* Fix the behavior of ``enum`` in the presence of ``0`` or ``1`` to properly \ 
consider ``True`` and ``False`` unequal.
* Special case the error message for ``{min,max}{Items,Length,Properties}`` when \ 
they're checking for emptiness rather than true length.
   2023-11-27 16:37:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-jsonschema: updated to 4.20.0

v4.20.0

* Properly consider items (and properties) to be evaluated by \ 
``unevaluatedItems`` (resp. ``unevaluatedProperties``) when behind a \ 
``$dynamicRef`` as specified by the 2020 and 2019 specifications.
* ``jsonschema.exceptions.ErrorTree.__setitem__`` is now deprecated.
  More broadly, in general users of ``jsonschema`` should never be mutating \ 
objects owned by the library.
   2023-11-02 12:01:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-jsonschema: updated to 4.19.2

v4.19.2

* Fix the error message for additional items when used with heterogeneous arrays.
* Don't leak the ``additionalItems`` keyword into JSON Schema draft 2020-12, \ 
where it was replaced by ``items``.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.