← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1578761] Re: editable mode crash

 

** Changed in: python-pip (Ubuntu)
    Milestone: xenial-updates => None

** Changed in: python-pip (Ubuntu Xenial)
    Milestone: None => xenial-updates

** No longer affects: python-packaging (Ubuntu Xenial)

** Changed in: pyparsing (Ubuntu)
       Status: New => Fix Released

** Changed in: python-pip (Ubuntu)
       Status: New => Fix Released

** Changed in: pyparsing (Ubuntu)
   Importance: Undecided => Medium

** Changed in: pyparsing (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: python-pip (Ubuntu)
   Importance: Undecided => Medium

** Changed in: python-pip (Ubuntu Xenial)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1578761

Title:
  editable mode crash

Status in pyparsing package in Ubuntu:
  Fix Released
Status in python-pip package in Ubuntu:
  Fix Released
Status in pyparsing source package in Xenial:
  Fix Released
Status in python-pip source package in Xenial:
  Fix Released
Status in python-pip package in Debian:
  Fix Released

Bug description:
  [Impact]

  From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823358

  pip install -e .[testing]

  crashes.

  The `[testing]` bit names an `extras_require` section in a package's
  setup.py so this crash prevents the installation of package extras.

  The coming SRU fixes to python-pip backports into a quilt patch just
  enough of the upstream changes to repair installing extras.

  This does however require an SRU for pyparsing because it is a new
  runtime dependency of the patch, and the version of pyparsing in
  Xenial cannot be dirtbiked (rewheeled) because it uses
  distutils.setup() instead of setuptools.setup().  So the SRU for
  pyparsing simply patches the setup.py to use setuptools and thus
  produce an egg-info directory instead (which contains the necessary
  metadata for dirtbike to turn this new Built-Using package into a
  .whl).

  Neither fix is necessary for Yakkety because 1) pip has a new upstream
  release in Debian which contains the backported fix; 2) pyparsing has
  a new upstream release in Debian which already switches to setuptools.

  Both should show up in Yakkety once the normal unstable autoimport
  runs.

  [Test Case]

  I've also backported a DEP-8 test called pip3-editable.sh which proves
  that this change fixes the bug.  I added this DEP-8 test in the new
  Debian version, and proved that running the DEP-8 tests without the
  quilt patch fails, but with it, it succeeds.

  [Regression potential]

  It should be low to none.  The previously existing DEP-8 tests invoke
  pip under several common scenarios (i.e. both inside and outside a
  virtualenv, and both as a normal user and root).

  All tests continue to pass, although I'll note that I also had to
  backport the addition of PIP_DISABLE_PIP_VERSION_CHECK=1 from the new
  Debian package to prevent stderr output due to the new upstream
  version.

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


References