From bd3802de15b471f51c147f38c0334b79ade509d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9l=C3=A8ne=20Martin?= Date: Fri, 18 Nov 2022 16:38:36 -0800 Subject: [PATCH 1/2] Add contents to group to satisfy Validate --- tests/test_xlsform_spec.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_xlsform_spec.py b/tests/test_xlsform_spec.py index 567f446a..713801d7 100644 --- a/tests/test_xlsform_spec.py +++ b/tests/test_xlsform_spec.py @@ -21,6 +21,7 @@ def test_warnings__count(self): | | select_multiple yes_no | select_multiple_test | select multiple test | | minimal | | | | | | end group | adsaf | | | | | | | | | begin group | labeled_select_group | labeled select group test | | field-list | | | | + | | text | inside | Inside | | | | end group | | | | | | | | | | begin group | name | | | table-list | | | | | | select_one yes_no | table_list_question | table list question | hint | | | | | @@ -67,8 +68,8 @@ def test_warnings__count(self): "On the choices sheet there is a option with no label. [list_name : animals]", "[row : 9] Repeat has no label: {'name': 'repeat_test', 'type': 'begin repeat'}", "[row : 10] Group has no label: {'name': 'group_test', 'type': 'begin group'}", - "[row : 16] Group has no label: {'name': 'name', 'type': 'begin group'}", - "[row : 27] Use the max-pixels parameter to speed up submission " + "[row : 17] Group has no label: {'name': 'name', 'type': 'begin group'}", + "[row : 28] Use the max-pixels parameter to speed up submission " + "sending and save storage space. Learn more: https://xlsform.org/#image", ] self.assertListEqual(expected, warnings) From 272272fcdbd28aa986872d84daecbdd883b2dde9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9l=C3=A8ne=20Martin?= Date: Fri, 18 Nov 2022 16:45:51 -0800 Subject: [PATCH 2/2] Prepare release --- CHANGES.txt | 4 ++++ README.rst | 2 +- pyxform/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 5e7b18cb..b899c7f8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,9 @@ Pyxform Changelog +# v1.11.0, 2022-11-18 +* Accept more empty rows before stopping by @yanokwa in https://github.com/XLSForm/pyxform/pull/621 +* Add initial support for entity creation by @lognaturel in https://github.com/XLSForm/pyxform/pull/624 + # v1.10.1, 2022-06-24 * avoid processing vast empty areas of buggy / strange workbooks by @lindsay-stevens in https://github.com/XLSForm/pyxform/pull/612 diff --git a/README.rst b/README.rst index 9ad68415..068e00cb 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ =============== -pyxform v1.10.1 +pyxform v1.11.0 =============== |python| |black| diff --git a/pyxform/__init__.py b/pyxform/__init__.py index fd65499c..c9eb4a33 100644 --- a/pyxform/__init__.py +++ b/pyxform/__init__.py @@ -4,7 +4,7 @@ Collect easy. """ -__version__ = "1.10.1" +__version__ = "1.11.0" from pyxform.builder import ( SurveyElementBuilder, diff --git a/setup.py b/setup.py index 6c79a3c1..d51700f5 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="pyxform", - version="1.10.1", + version="1.11.0", author="github.com/xlsform", author_email="info@xlsform.org", packages=find_packages(exclude=["tests", "tests.*"]),