Commit Graph

15325 Commits

Author SHA1 Message Date
danielzwlee
2e2bbc1bcf Sync branch with master and resolve merge conflicts
:#	new file:   src/allmydata/util/cputhreadpool.py
2023-03-14 14:49:01 -05:00
Itamar Turner-Trauring
24212b412c Fix 3.11 runs. 2023-03-14 13:01:45 -04:00
Itamar Turner-Trauring
dd07a39399 Don't bother with persistent connections when testing NURLs. 2023-03-14 13:01:10 -04:00
Itamar Turner-Trauring
f8ea650b92 Wait for current loop iteration to finish before moving on to next iteration. 2023-03-14 12:03:11 -04:00
Itamar Turner-Trauring
c97e07dc63
Merge pull request #1263 from tahoe-lafs/3959-more-end-to-end-tests
More end to end tests

Fixes ticket:3959
2023-03-14 11:31:41 -04:00
Jean-Paul Calderone
10414e80ed Remove some unnecessary hierarchy
I thought `default.nix` was handled specially for the purposes of automatic
parameter population but it isn't.  Instead, you just need this `args@{...}`
pattern.
2023-03-14 10:25:02 -04:00
Jean-Paul Calderone
ff50bfe5c4 Accept all the arguments default.nix accepts, too 2023-03-14 10:19:49 -04:00
Jean-Paul Calderone
ea5928ce53 news fragment 2023-03-14 10:19:27 -04:00
Itamar Turner-Trauring
d7018905b9 Switch away from using stdin, it's flaky on Windows. 2023-03-14 09:57:29 -04:00
Jean-Paul Calderone
d648592a87 get the helper ... 2023-03-13 19:43:16 -04:00
Jean-Paul Calderone
99559638b9 remove some repetition in the package definition 2023-03-13 19:03:26 -04:00
Jean-Paul Calderone
6e6fc2d307 The Nix test expression includes a package build, so just do that 2023-03-13 19:02:54 -04:00
dlee
1c926aeb86 Add space to return type 2023-03-13 16:23:28 -05:00
Jean-Paul Calderone
1b9936bd1b get lib :/ 2023-03-13 17:10:29 -04:00
Jean-Paul Calderone
0d11c6c076 package metadata 2023-03-13 17:06:06 -04:00
Jean-Paul Calderone
1e0e5304d7 actually add the test expression 2023-03-13 17:02:50 -04:00
Jean-Paul Calderone
17a2c32e1f Avoid colliding with the "extra" package in nixpkgs :/ 2023-03-13 17:02:10 -04:00
Jean-Paul Calderone
f59c6a3acf Get our dependencies at runtime, too. 2023-03-13 17:01:57 -04:00
Jean-Paul Calderone
93cd2aa354 re-enable nix-based test suite runs 2023-03-13 16:43:22 -04:00
Jean-Paul Calderone
edd8e99178 no more pypi-deps-db or mach-nix 2023-03-13 16:36:53 -04:00
Jean-Paul Calderone
b73045d93c fix ci configuration 2023-03-13 16:21:36 -04:00
Jean-Paul Calderone
02904a363b Drop nixpkgs 21.11 - it is missing some stuff we need
Not only some nixpkgs facilities but it also includes a rustc that's too old
to build pycddl.
2023-03-13 16:19:07 -04:00
Jean-Paul Calderone
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
Jean-Paul Calderone
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
Jean-Paul Calderone
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
Jean-Paul Calderone
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
Fon E. Noel NFEBE
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
Fon E. Noel NFEBE
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
Fon E. Noel NFEBE
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
Fon E. Noel NFEBE
4e6e78f19c Merge branch 'master' into 3917-refactor-test-storage-py 2023-03-11 20:54:12 +01:00
Jean-Paul Calderone
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
aa18c3418f Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs 2023-03-10 09:10:02 -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
Itamar Turner-Trauring
ccf12897f2 Add content limits to server. 2023-03-10 09:02:08 -05:00
Itamar Turner-Trauring
5d7d387593 Pacify mypy. 2023-03-09 13:45:50 -05:00
Jean-Paul Calderone
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
Itamar Turner-Trauring
56b6dd86c3 Add unit test for client foolscap config flag. 2023-03-09 10:33:21 -05:00
Itamar Turner-Trauring
db445af1c4 Separate flags for forcing foolscap between client and server. 2023-03-09 09:59:36 -05:00
Itamar Turner-Trauring
8062808de2 Add restriction 3.12 or later. 2023-03-09 09:46:46 -05:00
Itamar Turner-Trauring
b43150ba85 Add future import. 2023-03-08 16:48:08 -05:00
Itamar Turner-Trauring
708d54b5fd Fix use of API removed in 3.11. 2023-03-08 16:42:41 -05:00
Itamar Turner-Trauring
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