From 406300bb50d1b402f1056c76c96621bd62da1a19 Mon Sep 17 00:00:00 2001 From: "Davide Brunato (brunato)" Date: Sat, 27 Apr 2024 23:11:04 +0200 Subject: [PATCH] Update CI tests and release info --- .github/workflows/test-xmlschema.yml | 6 +++--- CHANGELOG.rst | 6 ++++++ doc/conf.py | 2 +- publiccode.yml | 4 ++-- setup.py | 2 +- tox.ini | 4 ++-- xmlschema/__init__.py | 2 +- 7 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-xmlschema.yml b/.github/workflows/test-xmlschema.yml index 802f8f69..8b6e034f 100644 --- a/.github/workflows/test-xmlschema.yml +++ b/.github/workflows/test-xmlschema.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, "3.10", 3.11, 3.12, "3.13.0-alpha.4", "pypy-3.10"] + python-version: [3.8, 3.9, "3.10", 3.11, 3.12, "3.13.0-alpha.6", "pypy-3.10"] exclude: - os: macos-latest python-version: 3.8 @@ -36,7 +36,7 @@ jobs: python -m pip install --upgrade pip pip install setuptools - name: Install optional dependencies - if: ${{ matrix.python-version != '3.13.0-alpha.4' }} + if: ${{ matrix.python-version != '3.13.0-alpha.6' }} run: pip install lxml jinja2 - name: Test with unittest run: | @@ -48,5 +48,5 @@ jobs: flake8 xmlschema --max-line-length=100 --statistics - name: Lint with mypy run: | - pip install mypy==1.9.0 elementpath==4.4.0 lxml-stubs + pip install mypy==1.10.0 elementpath==4.4.0 lxml-stubs mypy --show-error-codes --strict xmlschema diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 10547df7..8926a06b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,11 @@ CHANGELOG ********* +`v3.3.1`_ (2024-04-27) +====================== +* Update validation errors with logging stacktrace in debug mode +* Improve locations parsing and URL encoding + `v3.3.0`_ (2024-04-17) ====================== * Rewrite the validation of openContent using InterleavedModelVisitor and SuffixedModelVisitor @@ -698,3 +703,4 @@ v0.9.6 (2017-05-05) .. _v3.2.0: https://github.com/brunato/xmlschema/compare/v3.1.0...v3.2.0 .. _v3.2.1: https://github.com/brunato/xmlschema/compare/v3.2.0...v3.2.1 .. _v3.3.0: https://github.com/brunato/xmlschema/compare/v3.2.1...v3.3.0 +.. _v3.3.1: https://github.com/brunato/xmlschema/compare/v3.3.0...v3.3.1 diff --git a/doc/conf.py b/doc/conf.py index 5bab4057..804d0209 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -81,7 +81,7 @@ # The short X.Y version. version = '3.3' # The full version, including alpha/beta/rc tags. -release = '3.3.0' +release = '3.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 bad922f0..b72aac70 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: '2024-04-17' -softwareVersion: v3.3.0 +releaseDate: '2024-04-27' +softwareVersion: v3.3.1 developmentStatus: stable platforms: - linux diff --git a/setup.py b/setup.py index 53c2ea3b..a136b312 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name='xmlschema', - version='3.3.0', + version='3.3.1', packages=find_packages(include=['xmlschema*']), package_data={ 'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'], diff --git a/tox.ini b/tox.ini index 395211be..dae4e1e4 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ commands = [testenv:mypy-py{38,39,310,311,312,py3}] deps = - mypy==1.9.0 + mypy==1.10.0 elementpath==4.4.0 lxml-stubs jinja2 @@ -69,7 +69,7 @@ deps = elementpath>=4.4.0, <5.0.0 lxml jinja2 - mypy==1.9.0 + mypy==1.10.0 lxml-stubs commands = pytest tests -ra diff --git a/xmlschema/__init__.py b/xmlschema/__init__.py index 87aff353..70e724f9 100644 --- a/xmlschema/__init__.py +++ b/xmlschema/__init__.py @@ -33,7 +33,7 @@ XMLSchema, XMLSchema10, XMLSchema11, XsdComponent, XsdType, XsdElement, XsdAttribute ) -__version__ = '3.3.0' +__version__ = '3.3.1' __author__ = "Davide Brunato" __contact__ = "brunato@sissa.it" __copyright__ = "Copyright 2016-2024, SISSA"