[Distutils] Weird dependency recursion to self on package install

Andreas Kloeckner inform at tiker.net
Tue Feb 1 17:05:48 CET 2011


Hi there, 

I just got a truly strange report from a user who sent me the following
install log:

---------------------------------------------------------------------
(pythonenv)knepley:/PETSc3/multicore/pyopencl$ python setup.py install
running install
install_dir /PETSc3/multicore/pythonenv/lib/python2.6/site-packages/
running bdist_egg
running egg_info
creating pyopencl.egg-info
writing requirements to pyopencl.egg-info/requires.txt

(snip... builds as normal)

writing build/bdist.macosx-10.6-i386/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/pyopencl-2011.1beta3-py2.6-macosx-10.6-i386.egg' and adding
'build/bdist.macosx-10.6-i386/egg' to it
removing 'build/bdist.macosx-10.6-i386/egg' (and everything under it)
Processing pyopencl-2011.1beta3-py2.6-macosx-10.6-i386.egg
creating
/PETSc3/multicore/pythonenv/lib/python2.6/site-packages/pyopencl-2011.1beta3-py2.6-macosx-10.6-i386.egg
Extracting pyopencl-2011.1beta3-py2.6-macosx-10.6-i386.egg to
/PETSc3/multicore/pythonenv/lib/python2.6/site-packages
Adding pyopencl 2011.1beta3 to easy-install.pth file

Installed
/PETSc3/multicore/pythonenv/lib/python2.6/site-packages/pyopencl-2011.1beta3-py2.6-macosx-10.6-i386.egg
Processing dependencies for pyopencl==2011.1beta3
Searching for pyopencl==2011.1beta3
Reading http://pypi.python.org/simple/pyopencl/
Reading http://mathema.tician.de/software/pyopencl
Best match: pyopencl 2011.1beta3
Downloading
http://pypi.python.org/packages/source/p/pyopencl/pyopencl-2011.1beta3.tar.gz#md5=efc633bb5e7a03207fa657a61a12c7af
Processing pyopencl-2011.1beta3.tar.gz
---------------------------------------------------------------------

It appears that the package (PyOpenCL) finds itself as its own
dependency, proceeds to re-download itself (and then fails to build
itself the second time around, but I think that's irrelevant for us
here).

PyOpenCL uses distribute, is installed to the user's empty
distribute-based virtualenv sitting on top of a Mac system Python.

I'd much appreciate any hints on what might be wrong.

Thanks,
Andreas

PS: Versions: virtualenv-1.5.1, distribute-0.6.14
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20110201/d1d3e742/attachment.pgp>


More information about the Distutils-SIG mailing list