14
0

Accepting request 1006884 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1006884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=17
This commit is contained in:
2022-10-01 15:42:42 +00:00
committed by Git OBS Bridge
4 changed files with 52 additions and 6 deletions

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Thu Sep 29 08:47:56 UTC 2022 - Fabian Vogt <fvogt@suse.com>
- Update to 2.1.0:
* Add to_etree() to document API
* Improve generic encoding with wildcards
* Clean document API and schema decoding
- Update to 2.0.4:
* Add use_location_hints argument to document API for giving the option
of ignoring XSI schema locations hints
* Fix import from locations hints with namespace mismatch (issue #324)
- Update to 2.0.3:
* Add keep_empty and element_hook options to main iter_decode() method
* Fix default namespace mapping in BadgerFishConverter
* Fix type restriction check if restricted particle has maxOccurs==0 (issue #323)
- Update to 2.0.2:
* Fix XSD 1.1 assertions effective scope
* Add support for Python 3.11
- Update to 2.0.1:
* Remove warnings during the build of the package using package_data specs in setup.py
* Fix decoding with process_namespaces=False and xsi:type in XML instance
* Refactor DataElement.get(), restore DataElement.set() (issue #314)
* Add map_attribute_names argument to DataElementConverter
- Update to 2.0.0:
* Refactor XPath interface for the full XPath node implementation of elementpath v3.0
* Fix BadgerFishConverter with mixed content (issue #315)
* Improve get() and set() of DataElement (issue #314)
- Update to 1.11.3:
* Fix invalid element not detected with empty particle (issue #306)
* Fix Sphinx warnings (issue #305)
- Update to 1.11.2:
* Fix 'replace_existing' argument usage in XsdElement.get_binding method (issue #300)
* Add Russian full translation (from PR #303 and #304)
- Update to 1.11.1:
* Protect converter calls in iter_decode()/iter_encode()
* Extend XSD type matching for code generators
- Update to 1.11.0:
* Add localization for XSD parsing and validation related error messages
* Add full Italian translation
* Add Russian partial translation (from PR #293)
- Update to 1.10.0:
* Add 'nonlocal' option to defuse argument of XMLResource (also for schema classes)
* Add 'none' option to allow argument of XMLResource
* Fix too strict parsing on XSD annotations (issue 287)
* Drop support for Python 3.6
-------------------------------------------------------------------
Mon Jan 3 12:40:27 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -19,20 +19,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-xmlschema
Version: 1.9.2
Version: 2.1.0
Release: 0
Summary: An XML Schema validator and decoder
License: MIT
URL: https://github.com/sissaschool/xmlschema
Source: https://files.pythonhosted.org/packages/source/x/xmlschema/xmlschema-%{version}.tar.gz
BuildRequires: %{python_module elementpath >= 2.2.1}
BuildRequires: %{python_module elementpath >= 3.0.0}
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.2.1
Requires: python-elementpath >= 3.0.0
Requires: python-lxml
Requires(post): update-alternatives
Requires(postun):update-alternatives

View File

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

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

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