← Back to team overview

touch-packages team mailing list archive

[Bug 1536638] [NEW] pip >= 8.0.0 fails because of egg-info files in python stdlib

 

Public bug reported:

Up-to-date pip might fail because ubuntu ships some egg-info files for
stdlib packages in /usr/lib/python2.7/, but egg-info files are only for
locally installed packages.

How to reproduce with argparse:

$ virtualenv venv
$ . venv/bin/activate
$ pip install -U pip
$ pip install -U argparse
Collecting argparse
  Downloading argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: argparse
  Found existing installation: argparse 1.2.1
Detected a distutils installed project ('argparse') which we cannot uninstall. The metadata provided by distutils does not contain a list of files which have been installed, so pip does not know which files to uninstall.

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1536638

Title:
  pip >= 8.0.0 fails because of egg-info files in python stdlib

Status in python2.7 package in Ubuntu:
  New

Bug description:
  Up-to-date pip might fail because ubuntu ships some egg-info files for
  stdlib packages in /usr/lib/python2.7/, but egg-info files are only
  for locally installed packages.

  How to reproduce with argparse:

  $ virtualenv venv
  $ . venv/bin/activate
  $ pip install -U pip
  $ pip install -U argparse
  Collecting argparse
    Downloading argparse-1.4.0-py2.py3-none-any.whl
  Installing collected packages: argparse
    Found existing installation: argparse 1.2.1
  Detected a distutils installed project ('argparse') which we cannot uninstall. The metadata provided by distutils does not contain a list of files which have been installed, so pip does not know which files to uninstall.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1536638/+subscriptions