Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-schema for openSUSE:Factory checked in at 2022-05-04 15:11:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-schema (Old) and /work/SRC/openSUSE:Factory/.python-schema.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-schema" Wed May 4 15:11:13 2022 rev:6 rq:974869 version:0.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-schema/python-schema.changes 2020-10-15 13:49:14.545270309 +0200 +++ /work/SRC/openSUSE:Factory/.python-schema.new.1538/python-schema.changes 2022-05-04 15:11:34.512203351 +0200 @@ -1,0 +2,14 @@ +Wed May 4 09:07:11 UTC 2022 - pgaj...@suse.com + +- version update to 0.7.5 + * Full subclass support for nested schemas. + * Don't double-format errors. fixes #240 (#247) [Leif Ryge] + * Fix "Unknown format code" in Python 3.8 (#245) [Denis Blanchette] + * JSON Schema: Allow using $ref when schema is not a dict (#244) [Denis Blanchette] + * JSON Schema: Set additionalProperties true when dict contains str as key (#243) [Denis Blanchette] +- do not require python-mock for build +- added patches + fix https://github.com/keleshev/schema/pull/273 + + python-schema-no-mock.patch + +------------------------------------------------------------------- Old: ---- schema-0.7.3.tar.gz New: ---- python-schema-no-mock.patch schema-0.7.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-schema.spec ++++++ --- /var/tmp/diff_new_pack.rkHuaZ/_old 2022-05-04 15:11:34.992203941 +0200 +++ /var/tmp/diff_new_pack.rkHuaZ/_new 2022-05-04 15:11:34.996203946 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-schema # -# 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 @@ -18,19 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-schema -Version: 0.7.3 +Version: 0.7.5 Release: 0 Summary: Data validation library License: MIT Group: Development/Languages/Python URL: https://github.com/keleshev/schema Source: https://files.pythonhosted.org/packages/source/s/schema/schema-%{version}.tar.gz +# https://github.com/keleshev/schema/pull/273 +Patch0: python-schema-no-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module contextlib2 >= 0.5.5} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} # /SECTION Requires: python-contextlib2 >= 0.5.5 @@ -45,6 +46,7 @@ %prep %setup -q -n schema-%{version} +%patch0 -p1 %build %python_build ++++++ python-schema-no-mock.patch ++++++ diff -upr schema-0.7.5.orig/test_schema.py schema-0.7.5/test_schema.py --- schema-0.7.5.orig/test_schema.py 2022-05-04 11:01:08.770513691 +0200 +++ schema-0.7.5/test_schema.py 2022-05-04 11:01:08.774513716 +0200 @@ -10,7 +10,7 @@ from collections import defaultdict, nam from functools import partial from operator import methodcaller -from mock import Mock +from unittest.mock import Mock from pytest import mark, raises from schema import ( ++++++ schema-0.7.3.tar.gz -> schema-0.7.5.tar.gz ++++++ ++++ 5386 lines of diff (skipped)