[tahoe-lafs-trac-stream] [tahoe-lafs] #2032: `pip` managed install is broken.

tahoe-lafs trac at tahoe-lafs.org
Thu Aug 29 00:23:10 UTC 2013


#2032: `pip` managed install is broken.
---------------------------+----------------------------------
     Reporter:  nejucomo   |      Owner:
         Type:  defect     |     Status:  new
     Priority:  major      |  Milestone:  undecided
    Component:  packaging  |    Version:  1.10.0
   Resolution:             |   Keywords:  pypi packaging nevow
Launchpad Bug:             |
---------------------------+----------------------------------

Comment (by nejucomo):

 Replying to [comment:9 daira]:
 > I believe that, due to [http://bazaar.launchpad.net/~divmod-
 dev/divmod.org/build-nevow-without-
 importing-2699/revision/2601#Nevow/setup.py this Nevow commit], the bug
 only happens when `import setuptools` fails (as it will in a clean
 virtualenv).

 There may be more than one bug.  I don't understand what the presence of
 `setuptools` has to do with the bug I find when running `pip install
 nevow`, which is that if `setup.py` imports `nevow`, then it will import
 `twisted`.

 If `twisted` is not installed, then `setup.py` will raise an
 `ImportError`.  This prevents a user from running "python ./setup.py
 <anything>" unless they've already installed a dependency.  If this is
 true then I believe it would also break `easy_install` or any other case
 where `setup.py` is executed *prior* to satisfying dependencies.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2032#comment:13>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list