Skip to content

Commit

Permalink
Update to release v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Sep 13, 2020
1 parent 077fefd commit de22181
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
CHANGELOG
*********

`v1.2.4`_ (2020-08-xx)
`v1.2.4`_ (2020-09-13)
======================
* Use regex engine from XPath processor
* Use the regex engine of *elementpath* library
* Fix and extend tests on xs:assert

`v1.2.3`_ (2020-08-14)
======================
Expand Down
2 changes: 1 addition & 1 deletion publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publiccodeYmlVersion: '0.2'
name: xmlschema
url: 'https://github.com/sissaschool/xmlschema'
landingURL: 'https://github.com/sissaschool/xmlschema'
releaseDate: '2020-08-xx'
releaseDate: '2020-09-13'
softwareVersion: v1.2.4
developmentStatus: stable
platforms:
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py35, py36, py37, py38, pypy3, ep202, docs, flake8, coverage
envlist = py35, py36, py37, py38, pypy3, ep202, ep203, docs, flake8, coverage
skip_missing_interpreters = true
toxworkdir = {homedir}/.tox/xmlschema

Expand All @@ -26,6 +26,11 @@ deps =
elementpath==2.0.2
lxml

[ep203]
deps =
elementpath==2.0.3
lxml

[testenv:docs]
commands =
make -C doc html
Expand Down
3 changes: 3 additions & 0 deletions xmlschema/testing/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ def check_json_serialization(self, root, converter=None, **kwargs):
if isinstance(elem1, tuple):
elem1 = elem1[0]

if lax_encode:
kwargs['validation'] = kwargs.get('validation', 'lax')

json_data2 = xmlschema.to_json(
elem1, schema=self.schema, converter=converter, **kwargs
)
Expand Down

0 comments on commit de22181

Please sign in to comment.