Skip to content

Commit 528b08e

Browse files
committed
Update release info and CI tests
1 parent 378f099 commit 528b08e

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

.github/workflows/test-elementpath.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
17-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14.0", "pypy-3.10"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14.0", "3.15.0-alpha.3", "pypy-3.10"]
1818
exclude:
1919
- os: macos-latest
20-
python-version: 3.9
20+
python-version: 3.10
2121
- os: windows-latest
22-
python-version: 3.9
22+
python-version: 3.10
2323

2424
steps:
2525
- uses: actions/checkout@v4
@@ -40,7 +40,7 @@ jobs:
4040
pip install mypy==1.18.2 xmlschema lxml-stubs
4141
mypy --show-error-codes --strict elementpath
4242
- name: Install optional dependencies
43-
if: ${{ matrix.python-version != '3.14.0' }}
43+
if: ${{ matrix.python-version != '3.15.0-alpha.3' }}
4444
run: pip install lxml
4545
- name: Test with unittest
4646
run: |

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
CHANGELOG
33
*********
44

5+
`v5.1.0`_ (2025-12-28)
6+
======================
7+
* Drop Python 3.9 compatibility and add Pyton 3.15 support
8+
* Improve XPath sequence internal processing with a list derived type `xlist'
9+
* Extensions and fixes for XSD datatypes
10+
* Add `XSequence` datatype for external representation of XPath sequences
11+
512
`v5.0.4`_ (2025-08-16)
613
======================
714
* Fix default/fixed values processing of schema annotated XML data (issue #94)
@@ -523,3 +530,4 @@ CHANGELOG
523530
.. _v5.0.2: https://github.com/sissaschool/elementpath/compare/v5.0.1...v5.0.2
524531
.. _v5.0.3: https://github.com/sissaschool/elementpath/compare/v5.0.2...v5.0.3
525532
.. _v5.0.4: https://github.com/sissaschool/elementpath/compare/v5.0.3...v5.0.4
533+
.. _v5.1.0: https://github.com/sissaschool/elementpath/compare/v5.0.4...v5.1.0

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
author = 'Davide Brunato'
3030

3131
# The short X.Y version
32-
version = '5.0'
32+
version = '5.1'
3333
# The full version, including alpha/beta/rc tags
3434
release = '5.1.0'
3535

elementpath/sequences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __add__(self, other: list[_S]) -> list[_S | T]: ...
7272

7373
def __add__(self, other: list[T] | list[_S]) -> list[T] | list[_S | T]:
7474
if isinstance(other, list):
75-
return xlist(chain(self, other))
75+
return xlist(chain(self, cast(list[T], other)))
7676
elif len(self) == 1:
7777
return xlist([self[0] + other])
7878
return NotImplemented

publiccode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ publiccodeYmlVersion: '0.4'
66
name: elementpath
77
url: 'https://github.com/sissaschool/elementpath'
88
landingURL: 'https://github.com/sissaschool/elementpath'
9-
releaseDate: '2025-08-16'
10-
softwareVersion: v5.0.4
9+
releaseDate: '2025-12-28'
10+
softwareVersion: v5.1.0
1111
developmentStatus: stable
1212
platforms:
1313
- linux

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ commands =
5656

5757
[testenv:mypy-py{310,311,312,313,314,315,py3}]
5858
deps =
59-
mypy==1.19.0; platform_python_implementation != 'PyPy'
59+
mypy==1.19.1; platform_python_implementation != 'PyPy'
6060
mypy==1.18.2; platform_python_implementation == 'PyPy'
6161
xmlschema~=4.2.0
6262
lxml-stubs
@@ -89,7 +89,7 @@ set_env =
8989
xmlschema420: VERSION = 4.2.0
9090
change_dir = {env_tmp_dir}
9191
deps =
92-
mypy==1.19.0
92+
mypy==1.19.1
9393
lxml
9494
lxml-stubs
9595
jinja2

0 commit comments

Comments
 (0)