diff --git a/python-xmlschema.changes b/python-xmlschema.changes index 7914375..a570b38 100644 --- a/python-xmlschema.changes +++ b/python-xmlschema.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Thu Sep 29 08:47:56 UTC 2022 - Fabian Vogt + +- 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 diff --git a/python-xmlschema.spec b/python-xmlschema.spec index a8cf155..458f181 100644 --- a/python-xmlschema.spec +++ b/python-xmlschema.spec @@ -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 diff --git a/xmlschema-1.9.2.tar.gz b/xmlschema-1.9.2.tar.gz deleted file mode 100644 index da32fc0..0000000 --- a/xmlschema-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ce6fe408a8c0a0ca5917cbe6181a933dfb5cfade9714eeb07b6335f9aff7b10 -size 394954 diff --git a/xmlschema-2.1.0.tar.gz b/xmlschema-2.1.0.tar.gz new file mode 100644 index 0000000..b9b9b61 --- /dev/null +++ b/xmlschema-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7f70c305e0def2a2293ab7110827086c477ab3c6f8757d2acb3ccbfa6b425a4 +size 481921