- Update to 0.4.1:

* This release just incorporates the fix for #223
  * Default values will now always serialize, even if the default value is null. Since this change could cause unexpected changes in serialized output the minor version has been bumped. Fixes #200
  * Literals now properly support comparisons of all types (#213)
  * oneOfs inside oneOfs (oneOf-ception?!) no longer fail to serialize (#214)
  * #203 validatorSchemas passed in are now respected
  * #208 oneOf roundtrip serializations work better
  * #207 Another fix for abc deprecation
  * Fixes import path for collections.abc to be compliant with Python 3.8 [#197] (h/t @adriangay) 
- Remove duplicate setuptools BuildRequires.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jsonschema-objects?expand=0&rev=6
This commit is contained in:
2022-01-21 03:10:25 +00:00
committed by Git OBS Bridge
parent a41734acc3
commit e159e122b0
4 changed files with 19 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-jsonschema-objects
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,12 @@
# python2-Markdown missing
%define skip_python2 1
Name: python-python-jsonschema-objects
Version: 0.3.12
Version: 0.4.1
Release: 0
Summary: An object wrapper for JSON Schema definitions
License: MIT
Group: Development/Languages/Python
URL: https://python-jsonschema-objects.readthedocs.org/
Source: https://files.pythonhosted.org/packages/source/p/python_jsonschema_objects/python_jsonschema_objects-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 18.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros