From c1578b5aa6214f5c52f85cc4d8d5c31b13e93613 Mon Sep 17 00:00:00 2001 From: Davide Brunato Date: Wed, 14 Jun 2023 08:19:05 +0200 Subject: [PATCH] Update release info and fix CI tests - Bump bugfix release - Fix decoding tests check for Windows systems (uppercase IDs) --- CHANGELOG.rst | 6 ++++++ doc/conf.py | 2 +- publiccode.yml | 4 ++-- setup.py | 2 +- xmlschema/__init__.py | 2 +- xmlschema/testing/_builders.py | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e6d0f2b3..ce803456 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,11 @@ CHANGELOG ********* +`v2.3.1`_ (2023-06-14) +====================== +* Meta-schema elements and groups ignore xsi:type attributes (issue #350) +* Use the meta-schemas only for validating XSD sources otherwise create dummy schemas + `v2.3.0`_ (2023-05-18) ====================== * Improve sequence/all restriction checks for XSD 1.1 @@ -622,3 +627,4 @@ v0.9.6 (2017-05-05) .. _v2.2.2: https://github.com/brunato/xmlschema/compare/v2.2.1...v2.2.2 .. _v2.2.3: https://github.com/brunato/xmlschema/compare/v2.2.2...v2.2.3 .. _v2.3.0: https://github.com/brunato/xmlschema/compare/v2.2.3...v2.3.0 +.. _v2.3.1: https://github.com/brunato/xmlschema/compare/v2.3.0...v2.3.1 diff --git a/doc/conf.py b/doc/conf.py index bf586ea3..048ffa30 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -81,7 +81,7 @@ # The short X.Y version. version = '2.3' # The full version, including alpha/beta/rc tags. -release = '2.3.0' +release = '2.3.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/publiccode.yml b/publiccode.yml index d27da32f..a2d5c999 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -6,8 +6,8 @@ publiccodeYmlVersion: '0.2' name: xmlschema url: 'https://github.com/sissaschool/xmlschema' landingURL: 'https://github.com/sissaschool/xmlschema' -releaseDate: '2023-05-18' -softwareVersion: v2.3.0 +releaseDate: '2023-06-14' +softwareVersion: v2.3.1 developmentStatus: stable platforms: - linux diff --git a/setup.py b/setup.py index 7f02e906..708d5174 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name='xmlschema', - version='2.3.0', + version='2.3.1', packages=find_packages(include=['xmlschema*']), package_data={ 'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'], diff --git a/xmlschema/__init__.py b/xmlschema/__init__.py index f299197b..f191b11a 100644 --- a/xmlschema/__init__.py +++ b/xmlschema/__init__.py @@ -31,7 +31,7 @@ XsdComponent, XsdType, XsdElement, XsdAttribute ) -__version__ = '2.3.0' +__version__ = '2.3.1' __author__ = "Davide Brunato" __contact__ = "brunato@sissa.it" __copyright__ = "Copyright 2016-2023, SISSA" diff --git a/xmlschema/testing/_builders.py b/xmlschema/testing/_builders.py index cbf224e6..a2553693 100644 --- a/xmlschema/testing/_builders.py +++ b/xmlschema/testing/_builders.py @@ -50,7 +50,7 @@ from ._observers import SchemaObserver -OBJ_ID_PATTERN = re.compile(r" at 0x[0-9a-f]+") +OBJ_ID_PATTERN = re.compile(r" at 0x[0-9a-fA-F]+") def make_schema_test_class(test_file, test_args, test_num, schema_class, check_with_lxml):