Commit Graph

3554 Commits

Author SHA1 Message Date
Jason R. Coombs
d1ea36781a Add type declarations to check_load. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
ce3b775944 Suppress typing error in test_python3 2020-11-29 13:57:46 -05:00
Jean-Paul Calderone
152c04e48c
Merge pull request #902 from tahoe-lafs/3512.localized-tempdir
Per-node web temp directory

Fixes: ticket:3512
2020-11-25 18:18:36 -05:00
Jean-Paul Calderone
520f4d15bf Rename _get_request to more accurate _create_request 2020-11-25 16:09:53 -05:00
Jean-Paul Calderone
8e6773c690
Merge pull request #907 from tahoe-lafs/3518.pypy-versions-None
Get rid of version_checks

Fixes: ticket:3518
2020-11-25 10:54:46 -05:00
Jean-Paul Calderone
bd9a91abf6
Merge pull request #901 from tahoe-lafs/3513.raiseException
Fix exception re-raising in no_network.py

Fixes: ticket:3513
2020-11-25 10:41:15 -05:00
Jean-Paul Calderone
3321058a33 flake 2020-11-23 15:14:59 -05:00
Jean-Paul Calderone
c694e8c7e2 Delete allmydata.version_checks and related functionality
It is not Tahoe-LAFS' job to manage package installation in this way.
Instead, we can declare our dependencies in setup.py and rely on installation
management tools and packagers to create a suitable execution environment.

Making this statement in the past required going much further out on a limb
than it does today.  This code has served its purpose and can now be retired.
2020-11-23 15:10:18 -05:00
Jean-Paul Calderone
224085c139 Clean up version checks and fix the PyPy regression 2020-11-23 14:14:52 -05:00
Jean-Paul Calderone
1689804877 Try doing some other thing in Windows 2020-11-19 10:15:36 -05:00
Jean-Paul Calderone
4ce2572ce9 Does Windows behave if we restrict ourselves to *just* S_IREAD?
From CPython docs:

> Note Although Windows supports chmod(), you can only set the file’s
> read-only flag with it (via the stat.S_IWRITE and stat.S_IREAD constants or
> a corresponding integer value). All other bits are ignored.
2020-11-19 09:39:34 -05:00
Jean-Paul Calderone
d727ae4a86 Try to improve the failure mode 2020-11-19 08:50:44 -05:00
Jean-Paul Calderone
92691c1b32 Be sure the temporary directory exists 2020-11-18 16:53:38 -05:00
Jean-Paul Calderone
799e5a2a60 tweak comment about our test case 2020-11-18 15:52:04 -05:00
Jean-Paul Calderone
46955202e2 Hook into Twisted Web to control where request bodies are written 2020-11-18 15:47:06 -05:00
Jean-Paul Calderone
875f4d3414 Better setup error re-raising 2020-11-18 14:48:40 -05:00
Itamar Turner-Trauring
feb85f4c4a Always use native strings as keys. 2020-11-17 13:15:57 -05:00
Itamar Turner-Trauring
bb7ed3afc9 Fix the bug. 2020-11-17 11:25:24 -05:00
Itamar Turner-Trauring
7c9b8542c1 Fix flake. 2020-11-09 15:12:38 -05:00
Itamar Turner-Trauring
fcc491bf3b Port to Python 3. 2020-11-09 15:08:56 -05:00
Itamar Turner-Trauring
d8c1b2fba7 Port to Python 3. 2020-11-09 15:02:33 -05:00
Itamar Turner-Trauring
6b61c06882 All tests pass on Python 3. 2020-11-09 15:00:55 -05:00
Itamar Turner-Trauring
d31667d58c Ported to Python 3. 2020-11-09 14:15:40 -05:00
Itamar Turner-Trauring
2b9e269d3a Tests pass on Python 3. 2020-11-09 14:13:14 -05:00
Itamar Turner-Trauring
da6dfcd86d Ported to Python 3. 2020-11-09 14:00:11 -05:00
Itamar Turner-Trauring
b2e72ef562 Port to Python 3. 2020-11-09 13:55:28 -05:00
Itamar Turner-Trauring
3d5d46fe7c Port to Python 3. 2020-11-09 13:48:22 -05:00
Itamar Turner-Trauring
0e27e7eba1 Merge branch '3496.mutable-tests-python-3-part-3' into 3500.mutable-tests-python-3 2020-11-09 13:46:19 -05:00
Chad Whitacre
fe07078859 Turn web service back on in test for Python 3 2020-11-06 19:44:08 -05:00
Itamar Turner-Trauring
9dd0faf528 Ported to Python 3. 2020-11-06 11:41:34 -05:00
Itamar Turner-Trauring
55ec994450 Tests pass on Python 3. 2020-11-06 11:40:34 -05:00
Itamar Turner-Trauring
2e6f8ca10b Ported to Python 3. 2020-11-06 11:32:14 -05:00
Itamar Turner-Trauring
55623d0175 Ported to Python 3. 2020-11-06 11:27:59 -05:00
Itamar Turner-Trauring
dfdaac7474 Ported to Python 3. 2020-11-06 11:25:48 -05:00
Itamar Turner-Trauring
bcc6d91444 Tests pass on Python 3. 2020-11-06 11:24:07 -05:00
Itamar Turner-Trauring
6017b11910 Merge branch '3475.mutable-tests-part-2-python-3' into 3496.mutable-tests-python-3-part-3 2020-11-06 11:20:54 -05:00
Itamar Turner-Trauring
eab228f22a
Merge pull request #887 from tahoe-lafs/3465.storage_client-python-3-take-2
Port storage_client to Python 3

Fixes ticket:3465
2020-11-06 11:18:31 -05:00
Itamar Turner-Trauring
84a33625bd Port to Python 3. 2020-11-06 10:21:33 -05:00
Itamar Turner-Trauring
31ee2e18f3 Tests pass on Python 3. 2020-11-06 10:20:18 -05:00
Itamar Turner-Trauring
836d41a92d Ported to Python 3. 2020-11-06 10:12:56 -05:00
Itamar Turner-Trauring
e4734468e5 Ported to Python 3. 2020-11-06 10:11:09 -05:00
Itamar Turner-Trauring
95df57382f Tests pass on Python 3. 2020-11-06 10:09:11 -05:00
Itamar Turner-Trauring
e17be38d69 Start porting test infrastructure to Python 3 compatibility. 2020-11-06 10:04:46 -05:00
Itamar Turner-Trauring
cd01d4dafa Test for Python 2 BytesKeyDict and UnicodeKeyDict behavior. 2020-11-05 10:15:38 -05:00
Itamar Turner-Trauring
2c8a91fb6e
Merge pull request #883 from tahoe-lafs/3493.node-to-python-3
Port allmydata.node to python 3

Fixes ticket:3493
2020-11-04 13:44:21 -05:00
Itamar Turner-Trauring
0a6321cc9a Tests and additional check for typed key dicts. 2020-11-04 13:36:08 -05:00
Itamar Turner-Trauring
2b557287c8 Lint fix. 2020-11-04 13:21:13 -05:00
Itamar Turner-Trauring
d407cb5005 Port to Python 3. 2020-11-04 13:19:16 -05:00
Itamar Turner-Trauring
f6eb4aef57 Work consistently across Python 2 and 3. 2020-11-03 10:41:13 -05:00
Itamar Turner-Trauring
60992174ff twisted.web expects bytes. 2020-11-03 10:40:53 -05:00