Skip to content

Commit

Permalink
Bump bugfix release and update CI configuration
Browse files Browse the repository at this point in the history
  - Including test with Python 3.14 prereleases
  • Loading branch information
brunato committed Oct 31, 2024
1 parent 2a742db commit 786e964
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 11 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test-xmlschema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,16 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools
- name: Install optional dependencies
- name: Build and install lxml for Python 3.14-alpha
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.14.0-alpha.1' }}
run: |
sudo apt-get install -y libxml2-dev libxslt-dev python3-dev
pip install lxml
- name: Install lxml for Python < 3.14
if: ${{ matrix.python-version != '3.14.0-alpha.1' }}
run: pip install lxml jinja2
run: pip install lxml
- name: Install other optional dependencies
run: pip install jinja2
- name: Test with unittest
run: |
pip install .
Expand All @@ -48,5 +55,5 @@ jobs:
flake8 xmlschema --max-line-length=100 --statistics
- name: Lint with mypy
run: |
pip install mypy==1.13.0 elementpath==4.5.0 lxml-stubs
pip install mypy==1.13.0 elementpath==4.6.0 lxml-stubs
mypy --show-error-codes --strict xmlschema
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
CHANGELOG
*********

`v3.4.3`_ (2024-10-31)
======================
* Fix incorrect validation error for substitution group with abstract head (issue #417)
* Refactor XSD identities processing using also typed XPath 2.0+ for getting values (issue #418)
* Clean tag retrieval during encode for some converter types (Abdera, BadgerFish and GData)

`v3.4.2`_ (2024-09-17)
======================
* Fix other failing URL normalization tests
Expand Down Expand Up @@ -727,3 +733,4 @@ v0.9.6 (2017-05-05)
.. _v3.4.0: https://github.com/brunato/xmlschema/compare/v3.3.2...v3.4.0
.. _v3.4.1: https://github.com/brunato/xmlschema/compare/v3.4.0...v3.4.1
.. _v3.4.2: https://github.com/brunato/xmlschema/compare/v3.4.1...v3.4.2
.. _v3.4.3: https://github.com/brunato/xmlschema/compare/v3.4.2...v3.4.3
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
# The short X.Y version.
version = '3.4'
# The full version, including alpha/beta/rc tags.
release = '3.4.2'
release = '3.4.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ publiccodeYmlVersion: '0.2'
name: xmlschema
url: 'https://github.com/sissaschool/xmlschema'
landingURL: 'https://github.com/sissaschool/xmlschema'
releaseDate: '2024-09-17'
softwareVersion: v3.4.2
releaseDate: '2024-10-31'
softwareVersion: v3.4.3
developmentStatus: stable
platforms:
- linux
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='xmlschema',
version='3.4.2',
version='3.4.3',
packages=find_packages(include=['xmlschema*']),
package_data={
'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'],
Expand Down Expand Up @@ -63,6 +63,7 @@
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
min_version = 4.0
envlist = flake8, py{38,39,310,311,312,313,314,py3}, ep{44,45,46}, docs,
mypy-py{38,39,310,311,312,313,py3}, coverage, pytest
mypy-py{38,39,310,311,312,313,314,py3}, coverage, pytest
skip_missing_interpreters = true
work_dir = {tox_root}/../.tox/xmlschema

Expand Down Expand Up @@ -44,10 +44,10 @@ commands =
flake8 tests
flake8 scripts

[testenv:mypy-py{38,39,310,311,312,py3}]
[testenv:mypy-py{38,39,310,311,312,313,314,py3}]
deps =
mypy==1.13.0
elementpath==4.5.0
elementpath==4.6.0
lxml-stubs
jinja2
commands =
Expand Down
2 changes: 1 addition & 1 deletion xmlschema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
XMLSchema, XMLSchema10, XMLSchema11, XsdComponent, XsdType, XsdElement, XsdAttribute
)

__version__ = '3.4.2'
__version__ = '3.4.3'
__author__ = "Davide Brunato"
__contact__ = "[email protected]"
__copyright__ = "Copyright 2016-2024, SISSA"
Expand Down

0 comments on commit 786e964

Please sign in to comment.