Zooko O'Whielacronx
6514cd9a29
setup: gen-package-table.py -- Python packages can have . in their name
2010-11-14 00:26:43 -08:00
Zooko O'Whielacronx
b55dd7c811
setup: upgrade bundled version of darcsver to 1.7.1 to regain compatibility with Python 2.4
2010-11-14 00:26:20 -08:00
Zooko O'Whielacronx
e03206cbdf
setup: specify that the version file must go into src/allmydata/_version.py . fixes #1259
2010-11-13 23:40:40 -08:00
Zooko O'Whielacronx
680e33ef91
setup: upgrade bundled darcsver from 1.6.3 to 1.7.0
...
ref #1259 , we're going to use its 'versionfiles' setup() keyword argument to specify where to write the version file.
Remember, we have to bundle darcsver to work-around http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
2010-11-13 23:39:54 -08:00
Zooko O'Whielacronx
c14e20c2f8
setup: David-Sarah's new gen-package-table.py plus my patch to put the newer versions of Python first
...
fixes #1247
2010-11-13 23:35:32 -08:00
Zooko O'Whielacronx
59dcd5014d
setup: test whether the build system prefers binary dists which are new enough over source dists which are even newer
...
ref: #1233
2010-11-13 07:28:22 -08:00
david-sarah
cb777ad14f
tahoe_mv.py: use do_http, not urllib.openurl, in order to avoid connecting to the webapi server via a proxy. refs #1253
2010-11-09 16:53:36 -08:00
david-sarah
01a5365051
test_system.py: test for 'tahoe mv' with the http_proxy and HTTP_PROXY variables set. refs #1253
2010-11-09 19:36:49 -08:00
Zooko O'Whielacronx
6ba39a50b3
docs: NEWS: merge two additions
2010-11-10 21:58:51 -08:00
Zooko O'Whielacronx
1c449db88f
setup: remove separate licensing declaration
...
Whenever Free Software/Open Source legal folks are examining the Tahoe-LAFS source code, it seems like there has to be a discussion and documentation about every single licensing declaration. Since this one is (was) permissive, then you would think it could be avoided, but I'm not betting on it. We would probably have to install a copy of the MIT licence into every one of the "copyright" files under the debian/ subdirectory, for example. So: let's just let hashbasedsig.py be licensed the same way as the rest of Tahoe-LAFS.
2010-11-10 20:45:30 -08:00
Zooko O'Whielacronx
a4e9016482
docs: fix error in .rst formatting introduced by renaming Tahoe to Tahoe-LAFS in a header
2010-11-10 20:43:44 -08:00
Zooko O'Whielacronx
531443792e
docs: NEWS: refs #1253
2010-11-10 20:41:18 -08:00
Zooko O'Whielacronx
6e2b6c9133
docs: added permissions to avoid licence-incompatibility with other Free/Open Source licences
2010-11-10 20:39:26 -08:00
david-sarah
edec9c9869
test_client.py: change overzealous use of failUnlessReallyEqual on integers back to failUnlessEqual.
2010-11-09 15:08:16 -08:00
david-sarah
901690a029
misc/build_helpers/show-tool-versions.py: look for zetuptoolz egg in the current directory, not the parent.
2010-11-07 15:36:15 -08:00
david-sarah
f7caef635f
misc/build_helpers/show-tool-versions.py: if we can't import pkg_resources, insert the bundled zetuptoolz egg onto sys.path.
2010-11-06 14:44:04 -08:00
david-sarah
306ec02c1d
setup.py: fix a bug in the check for whether we are running 'trial' or 'test', that affected zooko's test for #1233 . refs #1233
2010-11-05 14:54:15 -08:00
david-sarah
564f47e5fe
misc/build_helpers/gen-package-table.py: allow all lowercase letters except 'w' (for example, 'c' and 'dev') in package versions.
2010-11-05 08:47:56 -07:00
david-sarah
50e9ed3ed0
misc/build_helpers/run_trial.py: minor refactoring -- make variable names consistent between run_trial.py and test_runner.py
2010-11-03 18:20:27 -07:00
david-sarah
aa9af450d6
NEWS: entry for #1242 (tilde expansion in 'tahoe backup --exclude-from'). refs #1242
2010-11-03 18:19:15 -07:00
Zooko O'Whielacronx
3e1c3a8a79
setup: fix gen-package-table to allow the "_r$REV" version numbers of packages
2010-11-04 00:39:44 -07:00
david-sarah
af4822d2d8
misc/build_helpers/gen-package-table.py: fix missing 'r's (meant to delete CRs :-)
2010-11-02 21:37:18 -07:00
david-sarah
a643558f04
add misc/build_helpers/gen-package-table.py. refs #1247
2010-11-02 21:33:28 -07:00
Zooko O'Whielacronx
c3b1bca954
tests: make test-with-fake-pkg's unacceptably-old fake pycryptopp be 0.5.13 instead of 0.5.17, since 0.5.17 is acceptably new on non-x86 archs
...
Also move the fakepkgs directory to be in misc/build_helpers/ instead of in the base of the source tree.
2010-11-01 22:33:57 -07:00
david-sarah
56f4c1218b
test_runner.py: fix test failure in test_the_right_code after applying zooko's change to test-with-fake-pkg.py
2010-11-01 20:59:05 -07:00
Zooko O'Whielacronx
a92912f513
setup: FreeStorm's WinXP-x86-py2.6 buildslave has informed us that there is yet a fourth way to spell "i386" in Python
2010-10-31 22:21:42 -07:00
Zooko O'Whielacronx
582417c3ca
setup: add platform.machine() to show-tool-versions, because FreeStorm WinXP builder apparently thinks that its platform.machine() is not one of ['i386', 'x86_64', 'amd64', ''], since it is requiring pycryptopp >= 0.5.14 instead of pycryptopp >= 0.5.20
2010-10-31 21:27:21 -07:00
Zooko O'Whielacronx
776eb31039
edit docs for English usage, rename "Tahoe" to "Tahoe-LAFS" in docs/configuration.rst, rename a variable in bin/tahoe-script.template for clarity, update François's CREDITS entry
2010-10-31 21:26:02 -07:00
david-sarah
b8905fc766
allmydata/__init__.py: move the call to require_auto_deps() to the top again, since the [4784] patch turned out not to be the cause of the failure on the 'mm netbsd5' buildslave.
2010-10-31 17:33:16 -07:00
david-sarah
63c010a9ca
allmydata/__init__.py: put the _auto_deps.require_auto_deps() call back in exactly the same place it was prior to [4784].
2010-10-31 10:46:49 -07:00
david-sarah
7e2ed2054c
allmydata/__init__.py: suppress a DeprecationWarning for the sha module on importing pycrypto.
2010-10-31 09:06:36 -07:00
david-sarah
8eca94e498
misc/build_helpers/run_trial.py: fix another typo in last patch.
2010-10-31 09:03:32 -07:00
david-sarah
7da0457ee5
misc/build_helpers/run_trial.py: fix typo in last patch.
2010-10-31 08:52:15 -07:00
david-sarah
6e76653913
allmydata/__init__.py: call require_auto_deps() after importing nevow and twisted, reverting change in [4784]. Also fix a missing 'warnings.filters.pop()'.
2010-10-31 08:38:28 -07:00
david-sarah
74996ffe46
misc/build_helpers/run_trial.py: fix false positive on directory check that can occur when running run_trial from test-with-fake-pkg manually.
2010-10-31 08:36:13 -07:00
david-sarah
2ab0b1aa2c
allmydata.__init__.py: temporary hack to debug failure on midnightmagic's buildslave
2010-10-30 22:50:03 -07:00
david-sarah
cb764da0ed
NEWS: entries for #1190 and #1212 , and minor cleanups. refs #1190 , #1212
2010-10-30 22:14:26 -07:00
david-sarah
6eaa7f2356
tahoe backup: perform tilde expansion in exclude-from filename (version 2). fixes #1241
2010-10-30 20:52:31 -07:00
Francois Deppierraz
99a6e63814
NEWS: add news entry for #1223
2010-10-30 04:11:30 -07:00
Francois Deppierraz
679c090c82
NEWS: add a NEWS entry about bug #1045
2010-10-30 03:13:51 -07:00
Zooko O'Whielacronx
3b2d0d9609
setup: run require_auto_deps() before attempting to import any deps in __init__.py
...
For one thing, this makes missing-dependency failures into DistributionNotFound errors instead of ImportErrors, which might be more useful to the user. For another thing, if someone is using distributions that were installed with --multi-version, then they might be not importable until after require_auto_deps() has been run. (The docs claim that this would be the case, but we don't have an example of this happening at this time.)
2010-10-30 01:10:35 -07:00
Zooko O'Whielacronx
0ab6211da4
setup: show-tool-versions: emit module and __version__ information even when module name != distribution (package) name, and add TwistedCore, TwistedWeb, and TwistedConch
2010-10-30 00:02:33 -07:00
david-sarah
7cec440a14
misc/build_helpers/test-with-fake-pkg.py: look for eggs in the parent of the src directory. refs #1190
2010-10-29 20:43:03 -07:00
david-sarah
1950d5a719
scripts/runner.py: fix unused import of allmydata. refs #1190
2010-10-29 17:31:49 -07:00
david-sarah
2a8f700026
scripts/runner.py: remove pkg_resources.require() calls. These are at best redundant because we have already called _auto_deps.require_auto_deps() (from allmydata.__init__) at that point, and they are causing failure of the test-from-prefixdir step on some buildslaves. refs #1190
2010-10-29 16:53:28 -07:00
david-sarah
8835f009d0
misc/build_helpers/run_trial.py: look for zetuptoolz egg in the parent directory, not the cwd of run_trial. refs #1190
2010-10-29 16:03:29 -07:00
david-sarah
647aa74d68
bundled zetuptoolz: if __main__.__requires__ exists then do not add packages to the working set if they provide an incompatible version of a package. Also put a complete __requires__ listing the transitive closure of dependencies at the beginning of generated scripts, rather than a shallow __requires__ specifying only the application version. refs #1190
2010-10-29 15:31:11 -07:00
david-sarah
fd02946074
setup.py, misc/build_helpers/run_trial.py: use undocumented __requires__ variable to cause setuptools/zetuptoolz to put the correct versions of dependencies on sys.path. Also ensure that run_trial adds the bundled zetuptoolz egg at the start of sys.path if present. Make the source directory comparison work correctly for the test-with-fake-pkg build step. refs #1190
2010-10-29 15:28:25 -07:00
david-sarah
10a5f23df9
test_runner.py: fix error in BinTahoe.test_version_no_noise introduced by last patch. refs #1235
2010-10-29 15:11:23 -07:00
david-sarah
d249589667
test_runner.py: also allow 'from pkg_resources import load_entry_point' as noise. refs #1235 .
2010-10-29 13:42:46 -07:00