Accepting request 1007788 from systemsmanagement:ansible

update to 4.16.0; Requires python-hatch_fancy_pypi_readme from SR#1007786

OBS-URL: https://build.opensuse.org/request/show/1007788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=54
This commit is contained in:
Dirk Mueller 2022-10-04 07:40:04 +00:00 committed by Git OBS Bridge
parent a9b4eab596
commit 15d72d792f
4 changed files with 72 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59ad13764820eb9d2cafc6db32e92fabd318c1e4e3f2205e646225283704a2c3
size 285507

3
jsonschema-4.16.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23
size 292399

View File

@ -1,3 +1,70 @@
-------------------------------------------------------------------
Tue Oct 4 05:29:39 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
- change dependency from hatch_fancy_pypi_readme to hatch-fancy-pypi-readme
-------------------------------------------------------------------
Sun Oct 2 09:08:59 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>
- update to 4.12.1:
* Use rST markers in README by @hynek in #987
-------------------------------------------------------------------
Sun Oct 2 08:26:42 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>

View File

@ -25,7 +25,7 @@
%{?!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,6 +33,7 @@ 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}