Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply pyxform 1.5.1 upgrade to beta branch #719

Merged
merged 13 commits into from
May 25, 2021
Merged

Conversation

jnm
Copy link
Member

@jnm jnm commented May 25, 2021

Description

Addresses any conflicts and Python 3 / Django 2 incompatibilities with the previous upgrade to pyxform 1.5.1 (#716).

Related issues

Incorporates #716
Closes #604 (on beta branch)
Supersedes #699 (completely)
Begins work on #718

JacquelineMorrissette and others added 13 commits February 24, 2021 22:45
…to-formList

Add version information to form list
* Recognize select questions from the question elements themselves
    instead of checking the bind type; see XLSForm/pyxform#168
* Recognize new error message when a group name matches the form name
    See XLSForm/pyxform#510
* Set `allow_choice_duplicates` to `yes` in cascade test XLSForms
    See XLSForm/pyxform#23; XLSForm/pyxform#373 (comment)
* Update tests to use `default_name` instead of relying on the XLSForm file name
    See XLSForm/pyxform#130
* Update expected XML in tests to match new pyxform behavior:
    * `<model>` becomes `<model odk:xforms-version="1.0.0">`
        * See XLSForm/pyxform#393
    * The bind type for `select` and `select1` becomes `string`
        * See XLSForm/pyxform#168
    * `calculate="concat('uuid:', uuid())"` becomes `jr:preload="uid"`
        * See XLSForm/pyxform#94

This squashed set of changes includes work from #699.
Thanks to @duvld for that contribution.
…to avoid running pip-compile three times manually whenever there's a
Python dependency change
Includes a humongous diff thanks to jazzband/pip-tools#1237, which
places each "via" package on a separate line
…and prefer explicit encoding/decoding over `smart_str()`. See #718
@jnm jnm self-assigned this May 25, 2021
@jnm jnm merged commit 8e3c89a into beta May 25, 2021
@jnm jnm deleted the update-pyxform-beta-branch branch May 25, 2021 07:23
@jnm jnm mentioned this pull request May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants