Public bug reported:

Installing python-configparser 3.5.0-1 breaks other python modules in
the backports namespace.

https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1812589 was
filed against the wrong package; see also
https://github.com/PiDelport/backports.os/issues/11

The problem was fixed upstream in June 2018
https://github.com/jaraco/configparser/pull/22
and the current verison (3.7.3) is ok.

To see the bug in action:

# apt update
# apt install python-pip
# su ubuntu
$ pip install --user backports.os
$ python -c "from backports import os" && echo ok
ok
$ sudo apt install python-configparser
$ Setting up python-configparser (3.5.0-1) ...
$ python -c "from backports import os" && echo ok
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name os
$ sudo apt remove python-configparser
$ pip install configparser
https://github.com/jaraco/configparser/pull/22
$ pip list | grep configparser
configparser (3.7.3)
$ python -c "from backports import os" && echo ok
ok

Please pull a fix for this configparser problem into Ubuntu 18.04.
Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python-configparser 3.5.0-1
ProcVersionSignature: Ubuntu 4.15.0-46.49-generic 4.15.18
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 21 13:57:17 2019
PackageArchitecture: all
SourcePackage: configparser
UpgradeStatus: Upgraded to bionic on 2018-04-30 (325 days ago)

** Affects: configparser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to