diff --git a/jsonschema-4.10.3.tar.gz b/jsonschema-4.10.3.tar.gz deleted file mode 100644 index 58969b5..0000000 --- a/jsonschema-4.10.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59ad13764820eb9d2cafc6db32e92fabd318c1e4e3f2205e646225283704a2c3 -size 285507 diff --git a/jsonschema-4.16.0.tar.gz b/jsonschema-4.16.0.tar.gz new file mode 100644 index 0000000..50d36a4 --- /dev/null +++ b/jsonschema-4.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23 +size 292399 diff --git a/python-jsonschema.changes b/python-jsonschema.changes index c77b9dd..9623bfc 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,78 @@ +------------------------------------------------------------------- +Tue Oct 11 21:10:52 UTC 2022 - Ben Greiner + +- Clean up specfile + * remove obsolete setuptools BuildRequirements + * remove old distro python <= 3.6 directives + * update outdated description + +------------------------------------------------------------------- +Tue Oct 4 05:29:39 UTC 2022 - Johannes Kastl + +- change dependency from hatch_fancy_pypi_readme to hatch-fancy-pypi-readme + +------------------------------------------------------------------- +Sun Oct 2 09:08:59 UTC 2022 - Johannes Kastl + +- update to 4.16.0: + * Improve the base URI behavior when resolving a $ref to a resolution URI + which is different from the resolved schema's declared $id. + * Accessing jsonschema.draftN_format_checker is deprecated. Instead, if you + want access to the format checker itself, it is exposed as + jsonschema.validators.DraftNValidator.FORMAT_CHECKER on any + jsonschema.protocols.Validator. + +------------------------------------------------------------------- +Sun Oct 2 09:08:13 UTC 2022 - Johannes Kastl + +- update to 4.15.0: + * Enable dedicated API documentation page(s) by @Julian in #989 + +------------------------------------------------------------------- +Sun Oct 2 08:57:47 UTC 2022 - Johannes Kastl + +- update to 4.14.0: + * FormatChecker.cls_checks is deprecated. Use FormatChecker.checks on + an instance of FormatChecker instead. + * unevaluatedItems has been fixed for draft 2019. It's nonetheless + discouraged to use draft 2019 for any schemas, new or old. + * Fix a number of minor annotation issues in protocols.Validator + +------------------------------------------------------------------- +Sun Oct 2 08:44:21 UTC 2022 - Johannes Kastl + +- update to 4.13.0: + * Add support for creating validator classes whose metaschema uses a different + dialect than its schemas. In other words, they may use draft2020-12 to define + which schemas are valid, but the schemas themselves use draft7 (or a custom + dialect, etc.) to define which instances are valid. Doing this is likely + not something most users, even metaschema authors, may need, but occasionally + will be useful for advanced use cases. + +------------------------------------------------------------------- +Sun Oct 2 08:33:20 UTC 2022 - Johannes Kastl + +- update to 4.12.1: + * Use rST markers in README by @hynek in #987 + +------------------------------------------------------------------- +Sun Oct 2 08:26:42 UTC 2022 - Johannes Kastl + +- update to 4.12.0: + - Warn at runtime when subclassing validator classes. Doing so was not + intended to be public API, though it seems some downstream libraries + do so. A future version will make this an error, as it is brittle and + better served by composing validator objects instead. Feel free to reach + out if there are any cases where changing existing code seems difficult + and I can try to provide guidance. + +------------------------------------------------------------------- +Mon Sep 26 05:01:31 UTC 2022 - Johannes Kastl + +- update to 4.11.0: + - jsonschema deserves a fancy readme by @hynek in #983 +- add new dependency hatch_fancy_pypi_readme + ------------------------------------------------------------------- Mon Sep 26 05:00:38 UTC 2022 - Johannes Kastl diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 8f6791c..c92e6bc 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -22,10 +22,8 @@ %bcond_with libalternatives %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-jsonschema -Version: 4.10.3 +Version: 4.16.0 Release: 0 Summary: An implementation of JSON-Schema validation for Python License: MIT @@ -33,13 +31,10 @@ URL: https://github.com/python-jsonschema/jsonschema Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz # SECTION build BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module hatch-fancy-pypi-readme} BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module tomli} -BuildRequires: %{python_module wheel} # /SECTION # SECTION runtime BuildRequires: %{python_module attrs >= 17.4.0} @@ -85,8 +80,10 @@ BuildArch: noarch %python_subpackages %description -jsonschema is an implementation of JSON Schema (currently in Draft 3) -for Python (supporting 2.6+ including Python 3). +jsonschema is an implementation of the JSON Schema specification for Python +The validator can be used as python module and from console: + + $ jsonschema --instance sample.json sample.schema %prep %setup -q -n jsonschema-%{version}