14
0

- update to 1.6.1:

* Add multi-source initialization and add_schema() to schema class
  * Add bytes strings to accepted XML sources (issue #238)
  * XML data bindings and code generators are now considered stable
  * Add arguments 'max_depth' and 'extra_validator' to validation methods
  * Enhance decoding with 'value_hook' argument
  * Remove unnecessary bindings with schema proxy from ElementPathMixin
    to avoid conflicts when schema is used by an XPath 3 parser
  * Fix schema logger (issue #228)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=30
This commit is contained in:
2021-05-18 22:34:01 +00:00
committed by Git OBS Bridge
parent c0a1eb3809
commit 92df753903
4 changed files with 19 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-xmlschema
Version: 1.5.2
Version: 1.6.1
Release: 0
Summary: An XML Schema validator and decoder
License: MIT
@@ -28,14 +28,14 @@ Source: https://files.pythonhosted.org/packages/source/x/xmlschema/xmlsc
# PATCH-FIX-UPSTREAM remove_shebang.patch gh#sissaschool/xmlschema#210 mcepl@suse.com
# Remove superfluous shebang
Patch0: remove_shebang.patch
BuildRequires: %{python_module elementpath >= 2.1.2}
BuildRequires: %{python_module elementpath >= 2.2.1}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-elementpath >= 2.1.2
Requires: python-elementpath >= 2.2.1
Requires: python-lxml
Requires(post): update-alternatives
Requires(postun):update-alternatives