See also https://github.com/jaraco/configparser/issues/17

I also verified that rebuilding the package python-configparser with the
following patch, and installing that, fixes the problem here:

--- configparser-3.5.0.orig/setup.py
+++ configparser-3.5.0/setup.py
@@ -42,7 +42,6 @@ setup(
     py_modules=modules,
     package_dir={'': 'src'},
     packages=find_packages('src'),
-    namespace_packages=['backports'],
     include_package_data=True,
     zip_safe=False,
     install_requires=requirements,
--- configparser-3.5.0.orig/src/backports/__init__.py
+++ configparser-3.5.0/src/backports/__init__.py
@@ -3,9 +3,3 @@
 
 from pkgutil import extend_path
 __path__ = extend_path(__path__, __name__)
-
-try:
-    import pkg_resources
-    pkg_resources.declare_namespace(__name__)
-except ImportError:
-    pass


** Bug watch added: github.com/jaraco/configparser/issues #17
   https://github.com/jaraco/configparser/issues/17

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821247

Title:
  python-configparser 3.5.0-1 breaks the python backports namespace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/configparser/+bug/1821247/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to