Commit Graph

14827 Commits

Author SHA1 Message Date
fa2ba64d4d Also supply the i2p extra dependency, txi2p 2023-03-13 16:02:57 -04:00
dlee
f1be1ca1de Added more elements to export list in wormholetesting.py 2023-03-13 14:53:25 -05:00
568e1b5317 Replace the mach-nix-based package with a nixpkgs-based package
The built-in nixpkgs `buildPythonPackage` doesn't do metadata discovery so we
have to duplicate a lot of the package metadata.  However, mach-nix is
unmaintained and incompatible with newer versions of nixpkgs.
2023-03-13 15:19:43 -04:00
2bb96d8452 There are new autobahn releases; remove the upper bound. 2023-03-13 15:19:07 -04:00
dlee
041a634d27 Fix private interface import to test_invite 2023-03-13 13:08:32 -05:00
dlee
b58dd2bb3b Remove flags that are unused 2023-03-13 12:27:53 -05:00
dlee
61c835c8a0 Added missing space between return type 2023-03-13 11:17:01 -05:00
dlee
74ff8cd080 Per-file configuration for wormholetesting.py moved from inline mypy configuration moved to mypy.ini file 2023-03-13 11:04:52 -05:00
36cd697253
Merge pull request #1214 from Fenn-CS/3917-refactor-test-storage-py
Refactor test_storage.py to use base test classes

Fixes: ticket:3917
2023-03-13 08:53:38 -04:00
f9acb56e82 Fix wrong expected val in assertion
This is a follow up to 7a387a054e

Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2023-03-12 00:16:41 +01:00
7a387a054e Fix more inverted assertions
Just like in 7c3f6cb4c7
This commit corrects some wronly inverted assertions inside
`test/test_storage.py`

Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2023-03-11 23:58:58 +01:00
3ae574ddef Merge branch '3917-refactor-test-storage-py' of github.com:Fenn-CS/tahoe-lafs into 3917-refactor-test-storage-py 2023-03-11 20:55:40 +01:00
4e6e78f19c Merge branch 'master' into 3917-refactor-test-storage-py 2023-03-11 20:54:12 +01:00
374d2fc499
Merge pull request #1266 from tahoe-lafs/3965.better-max-size
Add more restrictive CBOR content limits to server

Fixes: ticket:3965
2023-03-10 11:13:15 -05:00
Itamar Turner-Trauring
584127ba10
Merge pull request #1264 from tahoe-lafs/3936.client-can-disable-foolscap
Make the client respect the force_foolscap flag

Fixes ticket:3936
2023-03-10 09:04:15 -05:00
ccf12897f2 Add content limits to server. 2023-03-10 09:02:08 -05:00
5d7d387593 Pacify mypy. 2023-03-09 13:45:50 -05:00
48310da01b
Merge pull request #1265 from tahoe-lafs/3982-python-3.11
Add support for Python 3.11

Fixes: ticket:3982
2023-03-09 11:55:04 -05:00
56b6dd86c3 Add unit test for client foolscap config flag. 2023-03-09 10:33:21 -05:00
db445af1c4 Separate flags for forcing foolscap between client and server. 2023-03-09 09:59:36 -05:00
8062808de2 Add restriction 3.12 or later. 2023-03-09 09:46:46 -05:00
708d54b5fd Fix use of API removed in 3.11. 2023-03-08 16:42:41 -05:00
5ca07c311c Set up 3.11 in metadata and GitHub Actions. 2023-03-08 16:36:18 -05:00
dlee
4f47a18c6a Comments added for inline mypy config. Individual flags used as --strict flag can only be used on a per-module basis. 2023-03-08 15:29:50 -06:00
dlee
10b3eabed4 Apply per file flags corresponding to --strict to wormholetesting.py 2023-03-08 15:19:08 -06:00
dlee
8ccbd37d29 Fix implicit re-export error by importing IWormhole from wormhole library directly 2023-03-08 15:16:03 -06:00
a61e41d5f9 Document the motivation. 2023-03-08 14:58:52 -05:00
9663db522c Make the client respect the force_foolscap flag, and default to Foolscap-only
for now.
2023-03-08 14:03:32 -05:00
7bdfed6434 News fragment. 2023-03-08 11:55:30 -05:00
5dc108dfe8 Test large immutable upload and download. 2023-03-08 11:38:31 -05:00
450eed7868 Test writing at an offset. 2023-03-08 11:31:58 -05:00
6c0c9470cf
Merge pull request #1206 from tahoe-lafs/2916.grid-manager-proposal.6
Grid Manager: more control over which storage-servers a client uploads to
2023-02-28 19:05:32 +00:00
8e7f2cd3ea unused 2023-02-28 10:47:17 -07:00
5672a28350 more-specific error 2023-02-28 10:43:55 -07:00
b28ac6118b different way to say 'all items okay' 2023-02-28 10:43:49 -07:00
7c3f6cb4c7
Fix inverted assertion 2023-02-28 07:55:43 -05:00
aed5061a96
wording
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:33:53 -07:00
d55a4a1e65
whitespace
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:32:16 -07:00
9f63441af6
types
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:31:39 -07:00
1587a71bba
spelling
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:26:06 -07:00
dlee
582876197a Added default check to verify to ensure strictness 2023-02-27 15:14:58 -06:00
dlee
af51b02228 Revert wait_for_wormhole function return type back to Awaitable for forward compatibility when we move to async def 2023-02-27 15:05:52 -06:00
Itamar Turner-Trauring
4981864f8f
Merge pull request #1250 from tahoe-lafs/3957-mutable-over-http-speed
Run CDDL validation in a thread
2023-02-27 09:21:27 -05:00
5640b6b5e7 Apparently tests can be async now. 2023-02-24 10:59:59 -05:00
2f6632ecb9 Improve type checking. 2023-02-24 10:58:22 -05:00
a6a2eb1c93
export it too
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-23 15:37:46 -07:00
6aff94dd8f flake8, more frozen 2023-02-22 00:15:32 -07:00
c587c9ed19 Merge branch '2916.grid-manager-proposal.6' of https://github.com/tahoe-lafs/tahoe-lafs into 2916.grid-manager-proposal.6 2023-02-21 23:21:09 -07:00
0ae7da7352 prop up the fragile scaffolding 2023-02-21 23:20:28 -07:00
69a480dc08 rewrite test 2023-02-21 18:44:09 -07:00