Comment 2 for bug 1821247

Revision history for this message
Dan Kegel (dank) wrote :

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