From a8c88277fb730c55aff8270182db99dbef1f21278ccf2fb5c907c3f878f65bf8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 Nov 2021 20:28:08 +0000 Subject: [PATCH] - update to 1.8.2: * Fix type annotation of XMLSchema source argument * Near compliance with strict type annotations * Removed ModelGroup class, merged with XsdGroup * Some optimizations and fixes from static analysis - update to 1.8.0: * Refactor XMLSchemaMeta deprecating BUILDER attribute * Extend type annotations to package API * Add static typing tests with checked mypy runs * Activate mypy checks for package * Fix for issues #257 and #259 * Make XSD annotation parsing lazy * Add lazy annotations to schema instances * Add get_annotation() method to multiple-facets classes (issue #255) - drop remove_shebang.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=33 --- python-xmlschema.changes | 23 +++++++++++++++++++++++ python-xmlschema.spec | 5 +---- remove_shebang.patch | 20 -------------------- xmlschema-1.6.4.tar.gz | 3 --- xmlschema-1.8.2.tar.gz | 3 +++ 5 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 remove_shebang.patch delete mode 100644 xmlschema-1.6.4.tar.gz create mode 100644 xmlschema-1.8.2.tar.gz diff --git a/python-xmlschema.changes b/python-xmlschema.changes index 6641dac..e197867 100644 --- a/python-xmlschema.changes +++ b/python-xmlschema.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Nov 29 20:24:54 UTC 2021 - Dirk Müller + +- update to 1.8.2: + * Fix type annotation of XMLSchema source argument + * Near compliance with strict type annotations + * Removed ModelGroup class, merged with XsdGroup + * Some optimizations and fixes from static analysis + +------------------------------------------------------------------- +Sat Oct 16 19:22:26 UTC 2021 - Dirk Müller + +- update to 1.8.0: + * Refactor XMLSchemaMeta deprecating BUILDER attribute + * Extend type annotations to package API + * Add static typing tests with checked mypy runs + * Activate mypy checks for package + * Fix for issues #257 and #259 + * Make XSD annotation parsing lazy + * Add lazy annotations to schema instances + * Add get_annotation() method to multiple-facets classes (issue #255) +- drop remove_shebang.patch (upstream) + ------------------------------------------------------------------- Thu Jun 17 21:22:48 UTC 2021 - Dirk Müller diff --git a/python-xmlschema.spec b/python-xmlschema.spec index c210884..f7ca9ba 100644 --- a/python-xmlschema.spec +++ b/python-xmlschema.spec @@ -19,15 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-xmlschema -Version: 1.6.4 +Version: 1.8.2 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 -# 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.2.1} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pip} diff --git a/remove_shebang.patch b/remove_shebang.patch deleted file mode 100644 index 0da3b5a..0000000 --- a/remove_shebang.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: xmlschema-1.5.1/xmlschema/testing/builders.py -=================================================================== ---- xmlschema-1.5.1.orig/xmlschema/testing/builders.py -+++ xmlschema-1.5.1/xmlschema/testing/builders.py -@@ -1,5 +1,3 @@ --#!/usr/bin/env python --# - # Copyright (c), 2016-2020, SISSA (International School for Advanced Studies). - # All rights reserved. - # This file is distributed under the terms of the MIT License. -Index: xmlschema-1.5.1/xmlschema/testing/helpers.py -=================================================================== ---- xmlschema-1.5.1.orig/xmlschema/testing/helpers.py -+++ xmlschema-1.5.1/xmlschema/testing/helpers.py -@@ -1,5 +1,3 @@ --#!/usr/bin/env python --# - # Copyright (c), 2016-2020, SISSA (International School for Advanced Studies). - # All rights reserved. - # This file is distributed under the terms of the MIT License. diff --git a/xmlschema-1.6.4.tar.gz b/xmlschema-1.6.4.tar.gz deleted file mode 100644 index aa34a0d..0000000 --- a/xmlschema-1.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:577ac82b89f6de354fb59abb544a77a41a282763ecb29843ea9e113693080c58 -size 369270 diff --git a/xmlschema-1.8.2.tar.gz b/xmlschema-1.8.2.tar.gz new file mode 100644 index 0000000..c0871fa --- /dev/null +++ b/xmlschema-1.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cc25cf346e6949d1333fdb36b13bed144d3502fdcf941376f673233343f86d2 +size 392045