14
0

- 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
This commit is contained in:
2021-11-29 20:28:08 +00:00
committed by Git OBS Bridge
parent 31038ebbae
commit a8c88277fb
5 changed files with 27 additions and 27 deletions

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Nov 29 20:24:54 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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}

View File

@@ -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.

View File

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

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

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