please provide binary eggs of PyCrypto

Bug #589511 reported by Zooko Wilcox-O'Hearn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
Won't Fix
Wishlist
Unassigned
Tahoe-LAFS
Fix Released
Unknown

Bug Description

Folks: thanks for PyCrypto!

The Tahoe-LAFS project now depends on PyCrypto in order to provide SSH/SFTP service. Our build system automatically installs dependencies when you install Tahoe-LAFS following this quickstart:

http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html

Here are some buildbots which build Tahoe-LAFS from source on every commit in order to test whether the automated build system still works:

http://tahoe-lafs.org/buildbot/

Some of these buildbots went from green (passing) to red (failing) when we added the dependency on PyCrypto, because the build system can't find any eggs of PyCrypto to install. Here is an example of one of the ones that is now failing:

Windows 7, 64-bit CPU, Python 2.6:
http://tahoe-lafs.org/buildbot/builders/Soultcer%20Win7-64%20py2.6

An example failing build is:
http://tahoe-lafs.org/buildbot/builders/Soultcer%20Win7-64%20py2.6/builds/47/steps/build/logs/stdio

Which ends with this output:

Searching for pycrypto>=2.0.1
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.amk.ca/python/code/crypto
Best match: pycrypto 2.1.0
Downloading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/pycrypto-2.1.0.tar.bz2
Processing pycrypto-2.1.0.tar.bz2
Running pycrypto-2.1.0\setup.py -q bdist_egg --dist-dir c:\users\buildbot\appdata\local\temp\easy_install-ynvpn2\pycrypto-2.1.0\egg-dist-tmp-k5u7tq
Failure to get the list of managed files from darcs -- if you are building a package with 'setup.py sdist', 'setup.py bdist_egg', or other package-building commands, then the resulting package might be missing some files. If you are not building a package then you can ignore this warning.
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
error: Setup script exited with error: Unable to find vcvarsall.bat

What happened was that the build system downloaded the PyCrypto source code and attempted to compile it, but there is no compiler installed on that system. This is deliberate! That system is there to test whether people can install Tahoe-LAFS on a system with no compiler. In order to make that work, we need to build and host binary eggs of PyCrypto for Win7-64-py2.6.

Here is the Tahoe-LAFS ticket to track this issue:

http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1065

Changed in tahoe-lafs:
status: Unknown → New
Revision history for this message
Darsey Litzenberger (dlitz) wrote :

I have no intention of distributing PyCrypto binaries any time soon. Sorry.

Changed in pycrypto:
importance: Undecided → Wishlist
status: New → Won't Fix
Changed in tahoe-lafs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.