From e0ff22517bb0d116cc13d5dfa122fce7df015ee9 Mon Sep 17 00:00:00 2001 From: Davide Brunato Date: Sun, 18 Feb 2024 19:15:49 +0100 Subject: [PATCH] Update release info and CI tests - Add CI test with Python 3.13 (3.13.0-alpha.4 pre-release) --- .github/workflows/test-xmlschema.yml | 8 +++++--- CHANGELOG.rst | 7 ++++++- publiccode.yml | 2 +- setup.py | 1 + 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-xmlschema.yml b/.github/workflows/test-xmlschema.yml index 52ad4041..f108e6dc 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.0, pypy-3.10] + python-version: [3.8, 3.9, "3.10", 3.11, 3.12, "3.13.0-alpha.4", "pypy-3.10"] exclude: - os: macos-latest python-version: 3.8 @@ -35,9 +35,11 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools + - name: Install optional dependencies + if: ${{ matrix.python-version != '3.13.0-alpha.4' }} + run: pip install lxml jinja2 - name: Test with unittest run: | - pip install lxml jinja2 pip install . python -m unittest - name: Lint with flake8 @@ -46,5 +48,5 @@ jobs: flake8 xmlschema --max-line-length=100 --statistics - name: Lint with mypy run: | - pip install mypy==1.8.0 elementpath==4.2.0 lxml-stubs + pip install mypy==1.8.0 elementpath==4.3.0 lxml-stubs mypy --show-error-codes --strict xmlschema diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b993c72d..87353cbb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,9 +2,14 @@ CHANGELOG ********* -`v3.0.2`_ (2024-02-10) +`v3.0.2`_ (2024-02-18) ====================== * Use XPath subtree as fragment for xs:assert (issue #386) +* Fix in XMLSchemaProxy definition and usage for providing + a base-uri to schema nodes (issue #379) +* Module xpath.py splitted to a subpackage for including all the + custom XPath 1.0/2.0 parsers and related classes to XPath +* Add support for Python 3.13 (pre-releases) `v3.0.1`_ (2024-01-09) ====================== diff --git a/publiccode.yml b/publiccode.yml index 00bf1bb9..ad45df68 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -6,7 +6,7 @@ publiccodeYmlVersion: '0.2' name: xmlschema url: 'https://github.com/sissaschool/xmlschema' landingURL: 'https://github.com/sissaschool/xmlschema' -releaseDate: '2024-02-10' +releaseDate: '2024-02-18' softwareVersion: v3.0.2 developmentStatus: stable platforms: diff --git a/setup.py b/setup.py index 7312938c..8dcba687 100755 --- a/setup.py +++ b/setup.py @@ -62,6 +62,7 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries',