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

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue May 18 21:44:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 22 19:36:20 UTC 2021 - Dirk Müller <dmueller@suse.com> Thu Apr 22 19:36:20 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

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

View File

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

3
xmlschema-1.6.1.tar.gz Normal file
View File

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