Skip to content

Commit 3d69ea0

Browse files
authored
Feat/fork and update dict2xml (#75)
* feat: first commit with dict2xml fork * feat: some cleanup * chore: format with black * feat: remove legacy code for python2 support * chore: cleanup some more code * feat: some more pylint improvements * feat: make code more idiomatic python * chore: some more cleanup * feat: some more cleanup * feat: add f-strings for easier formatting * feat: remove xmltodict as it is a test only dep * chore: plan for removing requests from dep as well * fix: make flake8 pass * feat: make flake8 consult setup.cfg * feat: test with 3.10.0-rc.1 (#71) * feat: test with python3.10 b1 * feat: add support for python3.10 beta versio jaraco/keyring@a5f055a - Github Issue: Authored-by: Vinit Kumar <[email protected]> Signed-off-by: Vinit Kumar <[email protected]> * fix: some type warnings, thanks to the latest video @asottile * feat: directly give the 3.10.0-beta3 * feat: add 3.10 beta 4 support * feat: only support latest ubuntu, macos and windows for now * feat: update classifiers * Update to Python 3.10 rc1 * Update pythonpackage.yml * fix: allow exit-zero for flake8 config * 📝 docs: update the readme to reflect fork of dicttoxml We are upgrading dicttoxml by forking and adding it to the code * 🔖 v3.7.0beta1 Release
1 parent e864658 commit 3d69ea0

File tree

10 files changed

+452
-20
lines changed

10 files changed

+452
-20
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
11+
python-version: [3.6, 3.7, 3.8, 3.9, pypy3, '3.10.0-rc.1']
1212
os: [
1313
ubuntu-20.04,
14-
ubuntu-18.04,
15-
ubuntu-16.04,
1614
macOS-latest,
1715
windows-latest,
1816
]
@@ -32,10 +30,9 @@ jobs:
3230
- name: Lint with flake8
3331
run: |
3432
pip install flake8
33+
pip install xmltodict==0.12.0
3534
# stop the build if there are Python syntax errors or undefined names
36-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
flake8 json2xml/ --exit-zero
3936
- name: Test with pytest
4037
run: |
4138
python setup.py test

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Simple Python Library to convert JSON to XML
3030
* Documentation: https://json2xml.readthedocs.io.
3131

3232

33+
Update
34+
------
35+
36+
The dict2xml project has been forked and integrated in the project itself. This helped with cleaning up the code
37+
and also doing improvements. The goal is to remove all the dependencies from this project.
38+
3339
Features
3440
--------
3541

json2xml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
__author__ = """Vinit Kumar"""
66
__email__ = "[email protected]"
7-
__version__ = "3.6.0"
7+
__version__ = "3.7.0b1"
88

99

1010
# from .utils import readfromurl, readfromstring, readfromjson

0 commit comments

Comments
 (0)