** Description changed: + [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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578761 Title: editable mode crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pyparsing/+bug/1578761/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
