-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description The previous version was 1.9.0. Most workflows are not affected, but if you interact directly with XForm XML, you should refer to the changes listed at /~https://github.com/XLSForm/pyxform/blob/master/CHANGES.txt, particularly the major version v2.0.0. These do affect the generated XForm XML. ## Checklist 1. [ ] If you've added code that should be tested, add tests 2. [ ] If you've changed APIs, update (or create!) the documentation 3. [x] Ensure the tests pass 4. [x] Make sure that your code lints and that you've followed [our coding style](/~https://github.com/kobotoolbox/kpi/blob/master/CONTRIBUTING.md) 5. [x] Write a title and, if necessary, a description of your work suitable for publishing in our [release notes](https://community.kobotoolbox.org/tag/release-notes) 6. [ ] Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE) 7. [ ] Open an issue in the [docs](/~https://github.com/kobotoolbox/docs/issues/new) if there are UI/UX changes ## Notes Update pyxform to version [2.1.1](/~https://github.com/XLSForm/pyxform/releases/tag/v2.1.1). This also modifies the format of the xls file that we send to the pyxform method `create_survey_from_xls`. Before the xls was a Django FieldFile object but we now covert it into a binary stream using `io.BytesIO` to create a file-like object in order to be compatible with the pyxform updates. This update is deployed to [kf.du.kbtdev.org](https://kf.du.kbtdev.org/) for testing. --------- Co-authored-by: John N. Milner <john@tmoj.net>
- Loading branch information
1 parent
709e65a
commit 1574ad2
Showing
8 changed files
with
308 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ openpyxl | |
psycopg | ||
pymongo | ||
python-dateutil | ||
pyxform==1.9.0 | ||
pyxform==2.1.1 | ||
requests | ||
regex | ||
responses | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
326 changes: 130 additions & 196 deletions
326
kobo/apps/openrosa/apps/api/tests/fixtures/Transportation Form.xml
Large diffs are not rendered by default.
Oops, something went wrong.
329 changes: 131 additions & 198 deletions
329
kobo/apps/openrosa/apps/main/tests/fixtures/transportation/transportation.xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters