Skip to content

Commit

Permalink
Bump minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Mar 12, 2024
1 parent af1284c commit 409c3e5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
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.1.0`_ (2024-03-13)
======================
* Add GData converter (issue #388/PR #391)
* Fix typing protocols usage
* Extend XSD annotations parsing (issue #366)

`v3.0.2`_ (2024-02-18)
======================
* Use XPath subtree as fragment for xs:assert (issue #386)
Expand Down Expand Up @@ -672,3 +678,4 @@ v0.9.6 (2017-05-05)
.. _v3.0.0: https://github.com/brunato/xmlschema/compare/v2.5.1...v3.0.0
.. _v3.0.1: https://github.com/brunato/xmlschema/compare/v3.0.0...v3.0.1
.. _v3.0.2: https://github.com/brunato/xmlschema/compare/v3.0.1...v3.0.2
.. _v3.1.0: https://github.com/brunato/xmlschema/compare/v3.0.2...v3.1.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.0'
version = '3.1'
# The full version, including alpha/beta/rc tags.
release = '3.0.3'
release = '3.1.0'

# 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-02-18'
softwareVersion: v3.0.2
releaseDate: '2024-03-13'
softwareVersion: v3.1.0
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='3.0.3',
version='3.1.0',
packages=find_packages(include=['xmlschema*']),
package_data={
'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'],
Expand Down
9 changes: 9 additions & 0 deletions tests/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ def test_simple_types(self):
])
self.assertEqual(result[2], 0, msg=result[1] or result[0])

def test_protocols(self):
result = mypy_api.run([
'--strict',
'--no-warn-unused-ignores',
'--config-file', str(self.config_file),
str(self.cases_dir.joinpath('protocols.py'))
])
self.assertEqual(result[2], 0, msg=result[1] or result[0])

def test_extra_validator__issue_291(self):
result = mypy_api.run([
'--strict',
Expand Down
2 changes: 1 addition & 1 deletion xmlschema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
XMLSchema, XMLSchema10, XMLSchema11, XsdComponent, XsdType, XsdElement, XsdAttribute
)

__version__ = '3.0.3'
__version__ = '3.1.0'
__author__ = "Davide Brunato"
__contact__ = "brunato@sissa.it"
__copyright__ = "Copyright 2016-2024, SISSA"
Expand Down

0 comments on commit 409c3e5

Please sign in to comment.