Skip to content

Commit

Permalink
Feat/fork and update dict2xml (#75)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
vinitkumar authored Aug 28, 2021
1 parent e864658 commit 3d69ea0
Show file tree
Hide file tree
Showing 10 changed files with 452 additions and 20 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
python-version: [3.6, 3.7, 3.8, 3.9, pypy3, '3.10.0-rc.1']
os: [
ubuntu-20.04,
ubuntu-18.04,
ubuntu-16.04,
macOS-latest,
windows-latest,
]
Expand All @@ -32,10 +30,9 @@ jobs:
- name: Lint with flake8
run: |
pip install flake8
pip install xmltodict==0.12.0
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 json2xml/ --exit-zero
- name: Test with pytest
run: |
python setup.py test
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Simple Python Library to convert JSON to XML
* Documentation: https://json2xml.readthedocs.io.


Update
------

The dict2xml project has been forked and integrated in the project itself. This helped with cleaning up the code
and also doing improvements. The goal is to remove all the dependencies from this project.

Features
--------

Expand Down
2 changes: 1 addition & 1 deletion json2xml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

__author__ = """Vinit Kumar"""
__email__ = "[email protected]"
__version__ = "3.6.0"
__version__ = "3.7.0b1"


# from .utils import readfromurl, readfromstring, readfromjson
Loading

0 comments on commit 3d69ea0

Please sign in to comment.