Skip to content

Commit

Permalink
Bump release and update CI tests configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Sep 10, 2024
1 parent 8b6d470 commit 388b584
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-xmlschema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.3", "pypy-3.10"]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, "3.13.0-rc.1", "pypy-3.10"]
exclude:
- os: macos-latest
python-version: 3.8
Expand All @@ -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-beta.3' }}
if: ${{ matrix.python-version != '3.13.0-rc.1' }}
run: pip install lxml jinja2
- name: Test with unittest
run: |
Expand All @@ -48,5 +48,5 @@ jobs:
flake8 xmlschema --max-line-length=100 --statistics
- name: Lint with mypy
run: |
pip install mypy==1.11.0 elementpath==4.4.0 lxml-stubs
pip install mypy==1.11.2 elementpath==4.4.0 lxml-stubs
mypy --show-error-codes --strict xmlschema
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
CHANGELOG
*********

`v3.4.0`_ (2024-09-10)
======================
* Extended ModelVisitor to make it usable as an helper class for generating content
(issues #405 and #408)

`v3.3.2`_ (2024-07-29)
======================
* Fix UNC path tests (issues #405 and #408)
Expand Down Expand Up @@ -709,3 +714,4 @@ v0.9.6 (2017-05-05)
.. _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
.. _v3.3.2: https://github.com/brunato/xmlschema/compare/v3.3.1...v3.3.2
.. _v3.4.0: https://github.com/brunato/xmlschema/compare/v3.3.2...v3.4.0
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
# built documents.
#
# The short X.Y version.
version = '3.3'
version = '3.4'
# The full version, including alpha/beta/rc tags.
release = '3.3.2'
release = '3.4.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 3 additions & 3 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-07-29'
softwareVersion: v3.3.2
releaseDate: '2024-09-10'
softwareVersion: v3.4.0
developmentStatus: stable
platforms:
- linux
Expand Down Expand Up @@ -50,7 +50,7 @@ description:
shortDescription: XML Schema validator and data conversion library for Python
longDescription: >
The _xmlschema_ library is an implementation of [XML
Schema](http://www.w3.org/2001/XMLSchema) for Python (supports Python 3.7+).
Schema](http://www.w3.org/2001/XMLSchema) for Python (supports Python 3.8+).
This library arises from the needs of a solid Python layer for processing
Expand Down
2 changes: 1 addition & 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.3.2',
version='3.4.0',
packages=find_packages(include=['xmlschema*']),
package_data={
'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'],
Expand Down
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
min_version = 4.0
envlist = flake8, py{38,39,310,311,312,313,py3}, ep44, docs,
envlist = flake8, py{38,39,310,311,312,313,py3}, ep{44,45}, docs,
mypy-py{38,39,310,311,312,py3}, coverage, pytest
skip_missing_interpreters = true
work_dir = {tox_root}/../.tox/xmlschema
Expand Down Expand Up @@ -28,6 +28,12 @@ deps =
jinja2
elementpath~=4.4

[testenv:ep45]
deps =
lxml
jinja2
elementpath~=4.5

[testenv:docs]
commands =
make -C doc html SPHINXOPTS="-W -n"
Expand All @@ -49,7 +55,7 @@ commands =

[testenv:mypy-py{38,39,310,311,312,py3}]
deps =
mypy==1.11.0
mypy==1.11.2
elementpath==4.4.0
lxml-stubs
jinja2
Expand All @@ -70,7 +76,7 @@ deps =
elementpath>=4.4.0, <5.0.0
lxml
jinja2
mypy==1.11.0
mypy==1.11.2
lxml-stubs
commands =
pytest tests -ra
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.3.2'
__version__ = '3.4.0'
__author__ = "Davide Brunato"
__contact__ = "[email protected]"
__copyright__ = "Copyright 2016-2024, SISSA"
Expand Down

0 comments on commit 388b584

Please sign in to comment.