From 7981ea4002be51a91c348c295730f7fc7d58227d3a08e9a9f13065a3cb41e54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 26 Mar 2020 13:07:28 +0000 Subject: [PATCH] Accepting request 788534 from home:mcalabkova:branches:devel:languages:python - update to 0.7.1 * JSON Schema: Fix allOf and oneOf with only one condition * JSON Schema: Fix using falsy values as default * Add 3.7 to "schema is tested with..." list * JSON schema now rendering using references OBS-URL: https://build.opensuse.org/request/show/788534 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-schema?expand=0&rev=7 --- python-schema.changes | 9 +++++++++ python-schema.spec | 8 ++++---- schema-0.7.0.tar.gz | 3 --- schema-0.7.1.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 schema-0.7.0.tar.gz create mode 100644 schema-0.7.1.tar.gz diff --git a/python-schema.changes b/python-schema.changes index a476132..9fa0437 100644 --- a/python-schema.changes +++ b/python-schema.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Mar 26 12:29:02 UTC 2020 - Marketa Calabkova + +- update to 0.7.1 + * JSON Schema: Fix allOf and oneOf with only one condition + * JSON Schema: Fix using falsy values as default + * Add 3.7 to "schema is tested with..." list + * JSON schema now rendering using references + ------------------------------------------------------------------- Tue Mar 26 16:29:04 UTC 2019 - pgajdos@suse.com diff --git a/python-schema.spec b/python-schema.spec index 019ce4e..5de25ee 100644 --- a/python-schema.spec +++ b/python-schema.spec @@ -1,7 +1,7 @@ # # spec file for package python-schema # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-schema -Version: 0.7.0 +Version: 0.7.1 Release: 0 Summary: Data validation library License: MIT Group: Development/Languages/Python -Url: https://github.com/keleshev/schema +URL: https://github.com/keleshev/schema Source: https://files.pythonhosted.org/packages/source/s/schema/schema-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -54,7 +54,7 @@ parsing, converted from JSON/YAML (or something else) to Python data-types. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec test_schema.py +%pytest test_schema.py %files %{python_files} %defattr(-,root,root,-) diff --git a/schema-0.7.0.tar.gz b/schema-0.7.0.tar.gz deleted file mode 100644 index 36195af..0000000 --- a/schema-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44add3ef9016c85ac4b0291b45286a657d0df309b31528ca8d0a9c6d0aa68186 -size 19407 diff --git a/schema-0.7.1.tar.gz b/schema-0.7.1.tar.gz new file mode 100644 index 0000000..ee98f93 --- /dev/null +++ b/schema-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9dc8f4624e287c7d1435f8fd758f6a0aabbb7eff442db9192cd46f0e2b6d959 +size 38957