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
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 3.5.0/setup. py modules= modules, dir={'' : 'src'}, find_packages( 'src'), packages= ['backports' ], package_ data=True, safe=False, requires= requirements, 3.5.0.orig/ src/backports/ __init_ _.py 3.5.0/src/ backports/ __init_ _.py
+++ configparser-
@@ -42,7 +42,6 @@ setup(
py_
package_
packages=
- namespace_
include_
zip_
install_
--- configparser-
+++ configparser-
@@ -3,9 +3,3 @@
from pkgutil import extend_path path(__ path__, __name__) declare_ namespace( __name_ _)
__path__ = extend_
-
-try:
- import pkg_resources
- pkg_resources.
-except ImportError:
- pass