here is a patch that removes extraneous import of future library
& most likely solves this bug
diff --git a/debian/control b/debian/control
index c3fa5b6..12b2535 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,7 @@ Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-all,
                python3-setuptools,
-Build-Depends-Indep: python3-future,
-                     python3-unittest2,
+Build-Depends-Indep: python3-unittest2,
 Standards-Version: 4.6.0
 Homepage: https://github.com/sangwonl/python-mpegdash
 Vcs-Browser: https://salsa.debian.org/python-team/packages/python-mpegdash
diff --git a/mpegdash/utils.py b/mpegdash/utils.py
index 4d7b828..7a08a91 100644
--- a/mpegdash/utils.py
+++ b/mpegdash/utils.py
@@ -1,4 +1,3 @@
-from past.builtins import unicode   # python3 compat
 from xml.dom import minidom
 
 import re
@@ -19,7 +18,7 @@ def parse_child_nodes(xmlnode, tag_name, node_type):
 
     nodes = []
     for elem in elements:
-        if node_type in (unicode, str):
+        if node_type is str:
             node = xmlnode.firstChild.nodeValue
         else:
             node = node_type()
diff --git a/requirements.txt b/requirements.txt
index 2c6edea..e69de29 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +0,0 @@
-future
diff --git a/setup.py b/setup.py
index 20b593d..2db676d 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,6 @@ setup(
   license="MIT",
   zip_safe=False,
   include_package_data=True,
-  install_requires=["future"],
   url="https://github.com/sangwonl/python-mpegdash";,
   tests_require=["unittest2"],
   test_suite="tests.my_module_suite",

Reply via email to