Closed pgajdos closed 1 year ago
Could you please consider something like following patch given that you do not support python2.
Index: xmldiff-2.4/tests/test_main.py =================================================================== --- xmldiff-2.4.orig/tests/test_main.py +++ xmldiff-2.4/tests/test_main.py @@ -1,5 +1,5 @@ +import io import os -import six import sys import unittest @@ -71,8 +71,8 @@ class MainAPITests(unittest.TestCase): class MainCLITests(unittest.TestCase): def call_run(self, args, command=main.diff_command): - output = six.StringIO() - errors = six.StringIO() + output = io.StringIO() + errors = io.StringIO() stdout = sys.stdout stderr = sys.stderr Index: xmldiff-2.4/xmldiff.egg-info/requires.txt =================================================================== --- xmldiff-2.4.orig/xmldiff.egg-info/requires.txt +++ xmldiff-2.4/xmldiff.egg-info/requires.txt @@ -1,3 +1,2 @@ setuptools lxml>=3.1.0 -six Index: xmldiff-2.4/setup.py =================================================================== --- xmldiff-2.4.orig/setup.py +++ xmldiff-2.4/setup.py @@ -33,7 +33,7 @@ setup( packages=find_packages(exclude=["doc", "tests"]), include_package_data=True, zip_safe=False, - install_requires=["setuptools", "lxml>=3.1.0", "six",], + install_requires=["setuptools", "lxml>=3.1.0",], test_suite="tests", entry_points={ "console_scripts": [
Absolutely.
Could you please consider something like following patch given that you do not support python2.