Bugs item #3293195, was opened at 2011-04-26 20:32
Message generated for change (Settings changed) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=3293195&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
>Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
>Assigned to: Oleg Broytman (phd)
Summary: problem installing SQLObject 1.0.0. using pip
Initial Comment:
Hello guys, there seem to be a bug while installing the SQLObject using pip. See below:
[os-py27] os@[dyn3 ~]> pip install -r os/requirements.txt
Downloading/unpacking FormEncode>=1.2.4 (from -r os/requirements.txt (line 1))
Running setup.py egg_info for package FormEncode
warning: no files found matching '*.py' under directory '.'
no previously-included directories found matching '**/.svn'
Downloading/unpacking Django>=1.3 (from -r os/requirements.txt (line 2))
Running setup.py egg_info for package Django
Downloading/unpacking psycopg2>=2.4 (from -r os/requirements.txt (line 3))
Running setup.py egg_info for package psycopg2
no previously-included directories found matching 'doc/src/_build'
Downloading/unpacking IMDbPY>=4.7 (from -r os/requirements.txt (line 4))
Running setup.py egg_info for package IMDbPY
Created locale for: en tr it.
warning: no previously-included files matching '*~' found anywhere in distribution
no previously-included directories found matching 'CVS'
no previously-included directories found matching '.svn'
no previously-included directories found matching '.hg'
warning: no previously-included files matching 'CVS' found anywhere in distribution
warning: no previously-included files matching '.svn' found anywhere in distribution
Downloading/unpacking chardet>=1.0.1 (from -r opensubtitles/requirements.txt (line 5))
Running setup.py egg_info for package chardet
Obtaining pysublib from hg+http://bitbucket.org/danger/pysublib/#egg=pysublib (from -r os/requirements.txt (line 6))
Updating ./.virtualenvs/os-py27/src/pysublib clone
warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)
Running setup.py egg_info for package pysublib
Downloading/unpacking SQLObject (from IMDbPY>=4.7->-r os/requirements.txt (line 4))
Running setup.py egg_info for package SQLObject
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/data/www/ng.os.org/.virtualenvs/os-py27/build/SQLObject/setup.py", line 12, in <module>
from sqlobject import version, version_info
File "sqlobject/__init__.py", line 6, in <module>
from col import *
File "sqlobject/col.py", line 31, in <module>
from formencode import compound
ImportError: No module named formencode
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/data/www/ng.os.org/.virtualenvs/os-py27/build/SQLObject/setup.py", line 12, in <module>
from sqlobject import version, version_info
File "sqlobject/__init__.py", line 6, in <module>
from col import *
File "sqlobject/col.py", line 31, in <module>
from formencode import compound
ImportError: No module named formencode
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /data/www/ng.os.org/.pip/pip.log
Exit 1
[os-py27] os@[dyn3 ~]> cat os/requirements.txt
FormEncode>=1.2.4
Django>=1.3
psycopg2>=2.4
IMDbPY>=4.7
chardet>=1.0.1
-e hg+http://bitbucket.org/danger/pysublib/#egg=pysublib
Here is also a snipped of my discussion on #pip on IRC:
18:23:31 < agronholm> no, but this is an sqlobject bug
18:23:38 < agronholm> it's importing stuff it shouldn't in setup.py
18:23:41 < carljm> DanGer: The only fix that will make this work for automated deployment is to fix SQLObject's setup.py.
18:23:43 < agronholm> not much we can do about it
18:24:06 < DanGer> agronholm: I tried listing formencode before imdbpy in requirements, but it seems not to install things in the order listed in requirements.txt
18:24:15 < carljm> DanGer: order is irrelevant.
18:24:34 < carljm> Pip needs to get metadata from all packages in the to-be-installed set before it installs any of them, that's a core design goal of pip.
18:24:47 < carljm> This is failing at the get-metadata step, because of the broken setup.py.
18:25:20 < carljm> So regardless of order, nothing in your requirements.txt will be installed yet at this stage.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=3293195&group_id=74338
|