Skip to content

Commit

Permalink
Bump release and update Tox tests
Browse files Browse the repository at this point in the history
  - Use mypy==0.961 for static typing tests
  • Loading branch information
brunato committed Jun 11, 2022
1 parent 4e23c37 commit 762bc23
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-xmlschema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
- name: Lint with mypy if Python version == 3.7
if: ${{ matrix.python-version == '3.7' }}
run: |
pip install mypy==0.950 elementpath==2.5.1 lxml-stubs
pip install mypy==0.961 elementpath==2.5.3 lxml-stubs
mypy --show-error-codes --no-warn-redundant-casts --no-warn-unused-ignores --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
*********

`v1.11.2`_ (2022-06-11)
=======================
* Fix 'replace_existing' argument usage in `XsdElement.get_binding` method (issue #300)
* Add Russian full translation (from PR #303 and #304)

`v1.11.1`_ (2022-05-22)
=======================
* Protect converter calls in iter_decode()/iter_encode()
Expand Down Expand Up @@ -531,3 +536,4 @@ v0.9.6 (2017-05-05)
.. _v1.10.0: https://github.com/brunato/xmlschema/compare/v1.9.2...v1.10.0
.. _v1.11.0: https://github.com/brunato/xmlschema/compare/v1.10.0...v1.11.0
.. _v1.11.1: https://github.com/brunato/xmlschema/compare/v1.11.0...v1.11.1
.. _v1.11.2: https://github.com/brunato/xmlschema/compare/v1.11.1...v1.11.2
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
# The short X.Y version.
version = '1.11'
# The full version, including alpha/beta/rc tags.
release = '1.11.1'
release = '1.11.2'

# 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: '2022-05-22'
softwareVersion: v1.11.1
releaseDate: '2022-06-11'
softwareVersion: v1.11.2
developmentStatus: stable
platforms:
- linux
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='1.11.1',
version='1.11.2',
packages=find_packages(include=['xmlschema', 'xmlschema.*']),
include_package_data=True,
entry_points={
Expand Down
19 changes: 12 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310}, pypy3, ep{250,251,252}, docs,
envlist = py{37,38,39,310}, pypy3, ep{250,251,252,253}, docs,
flake8, mypy-py{37,38,39,310}, coverage, pytest
skip_missing_interpreters = true
toxworkdir = {homedir}/.tox/xmlschema
Expand Down Expand Up @@ -39,6 +39,11 @@ deps =
elementpath==2.5.2
lxml

[testenv:ep253]
deps =
elementpath==2.5.3
lxml

[testenv:docs]
commands =
make -C doc html
Expand All @@ -54,17 +59,17 @@ commands =

[testenv:mypy-py37]
deps =
mypy==0.950
elementpath==2.5.0
mypy==0.961
elementpath==2.5.3
lxml-stubs
jinja2
commands =
mypy --config-file {toxinidir}/mypy.ini xmlschema

[testenv:mypy-py{38,39,310}]
deps =
mypy==0.950
elementpath==2.5.0
mypy==0.961
elementpath==2.5.3
lxml-stubs
jinja2
commands =
Expand All @@ -84,10 +89,10 @@ commands =
deps =
pytest
pytest-randomly
elementpath>=2.5.0, <3.0.0
elementpath~=2.5.0
lxml
jinja2
mypy==0.950
mypy==0.961
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 @@ -30,7 +30,7 @@
XsdComponent, XsdType, XsdElement, XsdAttribute
)

__version__ = '1.11.1'
__version__ = '1.11.2'
__author__ = "Davide Brunato"
__contact__ = "brunato@sissa.it"
__copyright__ = "Copyright 2016-2022, SISSA"
Expand Down

0 comments on commit 762bc23

Please sign in to comment.