Commit Graph

64 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
cb8ab03ede setup: allow an older version of pycryptopp if we are not on x86 or amd64 architecture (which are the architectures on which older versions of Crypto++ had bugs in asm implementations of AES and SHA-256) 2010-09-21 07:03:44 -07:00
david-sarah
d9c7bcc44e _auto_deps.py: require pycrypto >= 0.5.20 (fixes bugs in SHA-256 and AES) 2010-09-18 21:57:43 -07:00
david-sarah
57b96c5e2f _auto_deps.py: change pycrypto version requirement to avoid https://bugs.launchpad.net/pycrypto/+bug/620253 2010-08-29 16:00:38 -07:00
Zooko O'Whielacronx
5377d99cf3 setup: increase requirement on foolscap from >= 0.4.1 to >= 0.5.1 to avoid the foolscap performance bug with transferring large mutable files 2010-08-02 00:17:48 -07:00
Zooko O'Whielacronx
44edecb36c setup: replace hardcoded 'allmydata-tahoe' with allmydata.__appname__ 2010-08-01 09:05:17 -07:00
Zooko O'Whielacronx
28ed28a0c2 setup: move the mock library from install_requires to tests_require (re: #1016) 2010-06-08 22:05:42 -07:00
david-sarah
59b493f6d3 _auto_deps.py: allow Python 2.4.3 on Redhat-based distributions. 2010-06-08 17:36:46 -07:00
david-sarah
529add7774 Raise Python version requirement to 2.4.4 for non-UCS-2 builds, to avoid a critical Python security bug. 2010-06-04 20:17:13 -07:00
Francois Deppierraz
b2542b8708 Add dependency on Michael Foord's mock library 2010-05-19 16:33:25 -07:00
david-sarah
01e59aab8d SFTP: relax pyasn1 version dependency to >= 0.0.8a. 2010-05-20 11:14:37 -07:00
david-sarah
4f8db94861 SFTP: add pyasn1 as dependency, needed if we are using Twisted >= 9.0.0. 2010-05-16 12:37:10 -07:00
david-sarah
43b092ffeb Dependency on Windmill test framework is not needed yet. 2010-05-04 09:10:43 -07:00
david-sarah
ec2e8b9c88 Add dependency on windmill >= 1.3 2010-04-16 12:04:04 -07:00
Zooko O'Whielacronx
784b208708 setup: comment-out the dependency on pycrypto, see #953 2010-02-14 21:08:44 -08:00
Peter Secor
4143cd1786 adding pycrypto to the auto dependencies 2010-02-05 21:43:14 -08:00
david-sarah
ef002c935a storage server: detect disk space usage on Windows too (fixes #637) 2009-11-20 21:56:44 -08:00
Zooko O'Whielacronx
2a63fc9159 docs: update relnotes.txt, relnotes-short.txt, and others documentation bits for v1.5.0 release! 2009-08-01 19:57:10 -07:00
Zooko O'Whielacronx
560b09d696 setup: tidy up formatting and comments in _auto_deps.py 2009-07-27 12:30:08 -07:00
Zooko O'Whielacronx
9578e70161 setup: increase requirement on pycryptopp to >= 0.5.15 2009-07-06 07:08:15 -07:00
Zooko O'Whielacronx
a1c6ee17c3 setup: require pycryptopp>=0.5.14 if on Windows and with Python>=2.6 2009-06-30 11:48:07 -07:00
Zooko O'Whielacronx
81b0e1382d setup: require pysqlite >= v2.0.5. if we are running on Python < 2.5 2009-06-04 08:45:48 -07:00
Brian Warner
cfb523cc51 _auto_deps.py: require foolscap-0.4.1, which adds an important fix for py2.4 2009-05-22 18:11:03 -07:00
Brian Warner
5d04c5b601 _auto_deps.py: bump our foolscap dependency to 0.4.0, since I'm about to start using its new features 2009-05-21 17:21:00 -07:00
Zooko O'Whielacronx
a664c1699f setup: fix bug (wrong import) in error message, as noticed by pyflakes 2009-05-19 12:56:42 -07:00
Zooko O'Whielacronx
18be10ceeb setup: fix trivial bug in recent patch to test base64.py at startup 2009-05-19 12:51:29 -07:00
Zooko O'Whielacronx
8df5fc8d81 setup: make Tahoe exit at startup with a useful error message if the base64.py module is buggy (fixes part of #710) 2009-05-19 12:45:55 -07:00
Zooko O'Whielacronx
69efdb5b2a setup: update comments about what versions we require of our dependencies 2009-04-10 10:43:45 -07:00
Zooko O'Whielacronx
c440989b38 setup: remove attempt to automatically satisfy dependency on pywin32 2009-02-13 17:49:39 -07:00
Zooko O'Whielacronx
f4f69f4a95 setup: refactor versions-and-paths and use pkg_resources to find them
Using pkg_resources is probably better if it works -- zope.interface doesn't have a __version__ attribute that we can query, but pkg_resources knows zope.interface's version number, for one thing.
This code falls back to the old way -- looking at the __version__ attributes and __file__ attributes -- if the pkg_resources way doesn't answer.
Note that this patch also changes the capitalization of "Nevow", "Twisted", and "pyOpenSSL", and the spelling of "allmydata-tahoe".  These changes are not frivolous: they are reflecting the fact that we are naming Python packages (technically called Python "distributions") instead of Python modules (technically and confusingly called Python "packages") here.  The package ("distribution") is named "allmydata-tahoe".  The module ("package") is named "allmydata".
2009-01-19 15:04:35 -07:00
Zooko O'Whielacronx
ea77d27cc5 setup: merge relaxation of the version of setuptools that we require at runtime with an indentation change 2009-01-09 13:09:49 -07:00
Zooko O'Whielacronx
2d90087420 setup: we require pywin32 if building on Windows (plus some formatting and comment fixes) 2008-12-05 17:19:11 -07:00
Zooko O'Whielacronx
9fba028892 setup: try depending on setuptools >= 0.6c6 instead of >= 0.6c7 at run-time, to be able to use the setuptools that came with Ubuntu Gutsy 2008-12-08 11:47:25 -07:00
Zooko O'Whielacronx
8e22556e66 setup: loosen requirement on simplejson to >= 1.4
That's the version of simplejson that comes with ubuntu feisty, and the one that we've required for most of our history.  Currently the Ubuntu dapper buildslave fails (see issue #534), and setting the simplejson requirement to be >= 2.0 would fix that failure, but I don't understand why.
2008-12-08 08:35:37 -07:00
Zooko O'Whielacronx
9d729109d2 setup: require simplejson >= 1.7.1
That's the version that comes with gutsy, and we don't really understand why increasing the required version number helped with issue #553.
2008-12-07 22:34:12 -07:00
Zooko O'Whielacronx
5ebd731982 setup: move the requirement on simplejson from setup.py to _auto_deps.py, and loosen it from >= 2.0.5 to > 1.8.1
We'll see if this fixes the tests on all of our current buildslaves, and if it does then I'll be happy to leave it at "> 1.8.1" for now, even though I don't know exactly what versions of simplejson changed exactly what behavior that interacts with exactly what environment.  See http://allmydata.org/trac/tahoe/ticket/534 for uncertainties.
2008-11-25 14:37:51 -07:00
Zooko O'Whielacronx
83b5f5ad52 setup: require setuptools >= 0.6c7 to run 2008-11-20 22:36:11 -07:00
Zooko O'Whielacronx
68f38f241b setup: we require setuptools > 0.6a9 in order to parse requirements that have a dot in them such as "zope.interface"
In the near future we might start actually relying on setuptools's pkg_resources's "require()" function to make modules importable, so we can't just skip zope.interface.
2008-11-20 09:15:03 -07:00
Zooko O'Whielacronx
7912f9ff27 setup: reorder dependencies to be sort of increasing order of how much they depend on other stuff
Not that the order makes any different to how it gets installed, as far as I can tell.
2008-10-25 06:47:39 -07:00
Brian Warner
c6999d219e use foolscap's new app_versions API, require foolscap-0.3.1 2008-09-20 11:38:53 -07:00
Zooko O'Whielacronx
bb71a8ee3b setup: doc string describing what the require_auto_deps() function is for 2008-08-15 10:22:34 -07:00
Brian Warner
c2f6eac53b bump foolscap dependency to 0.3.0, for the new incident-gathering interfaces 2008-08-05 16:58:28 -07:00
Zooko O'Whielacronx
01e5ca68e2 setup: require secure_connections from foolscap
This causes a problem on debian sid, since the pyOpenSSL v0.6 .deb doesn't come
with .egg-info, so setuptools will not know that it is already installed and
will try to install pyOpenSSL, and if it installs pyOpenSSL v0.7, then this
will trigger the bug in Twisted v8.1.0 when used with pyOpenSSL v0.7.

http://twistedmatrix.com/trac/ticket/3218

Now the comments in twisted #3218 suggest that it happens only with the select
reactor, so maybe using --reactor=poll will avoid it.
2008-07-29 19:10:41 -07:00
Brian Warner
d58591ceba start using Foolscap's 'incident-logging' feature, which requires foolscap-0.2.9 2008-07-02 17:40:29 -07:00
Zooko O'Whielacronx
e3337461af setup: trivial change: the name of the "Nevow" distribution is capitalized 2008-06-10 16:15:37 -07:00
Brian Warner
1efcf2ee3c _auto_deps.py: per #456, don't require the 'secure_connections' feature from Foolscap, to avoid (failing) builds of pyopenssl 2008-06-09 16:55:04 -07:00
Zooko O'Whielacronx
970edc5c65 setup and docs: various improvements to setup and docs
Remove docs/install-details.html and README.win32 for now (see #282).
Remove checks for pywin32 and pyopenssl in Makefile -- that is (or will be) automated by setuptools.
Remove twisted from setup_requires.  This causes the problem in which Nevow doesn't declare its dependency on Twisted (#440) to yield a clear ImportError mentioning Twisted and to fail repeatedly, rather than yielding a weird ImportError and working on the second identical attempt.
Fix Makefile to set PATH so that trial and twistd can be found by "make test" after Twisted was installed into support/ during "make"
2008-06-05 13:55:05 -07:00
Zooko O'Whielacronx
b41dcbd329 setup: trivial formatting change in _auto_deps.py 2008-05-06 12:30:56 -07:00
Zooko O'Whielacronx
99d5d2335d setup: require pycryptopp >= v0.5 2008-05-06 11:17:47 -07:00
Zooko O'Whielacronx
9613997ddb setup: remove the try: except: around the import of pkg_resources -- we now require setuptools at run time and at build time 2008-04-18 13:24:59 -07:00
Zooko O'Whielacronx
dbde3d5632 setup: don't try __import__(name) in _auto_deps.py
This happens to work, because all of our "distribution" (i.e. distributable packaged Python code) names to coincide with all of their "package" (i.e. a directory with a __init__.py in it, which is "import"-able) names, except, I think for Twisted on Brian's debian sid system.

But there's no reason why it should always work, and the only reason for that __import__() was to give us an explicit error message indicating missing requirements in the case that pkg_resources isn't importable or that the requirements don't have correct .egg-info metadata.  So, by removing this stanza we may allow certain places to get a more ad-hoc failure message, i.e. an ImportError from somewhere, instead of an ImportError from _auto_deps.py, but that's okay.

Note that dependencies which do not have their .egg-info metadata with them are increasingly rare, since Python 2.5 distutils creates the .egg-info file by default, and Linux distributions have stopped their former practice of actively deleting the .egg-info files.
2008-04-18 12:17:22 -07:00