Commit Graph

15260 Commits

Author SHA1 Message Date
Jean-Paul Calderone
369d26f0f8 There is a limit to the size of the corruption report a server must accept 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
8645462f4e Base64 encode the swissnum
Typically swissnums themselves are base32 encoded but there's no requirement
that this is the case.  Base64 encoding in the header ensures we can represent
whatever the value was.
2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
48a2d4d31d `Authorization` is the right header field 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
98a3691891 Add more CDDL to the spec; remove some server version flags from it 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
7b20738308 some more edits 2023-03-21 10:39:58 -04:00
Jean-Paul Calderone
a8832b11b6 Start adapting language to narrow down possible interpretations 2023-03-21 10:39:58 -04:00
Itamar Turner-Trauring
d96a22e48b Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs 2023-03-21 09:44:36 -04:00
Itamar Turner-Trauring
f12b78e199
Merge pull request #1271 from tahoe-lafs/3988-failing-test-http
Fix failing integration test

Fixes ticket:3988
2023-03-21 09:43:45 -04:00
Jean-Paul Calderone
a173df4561 news fragment 2023-03-21 09:29:12 -04:00
Jean-Paul Calderone
35b921b11d Put Python package overrides in one place, and add a lot more of them
These packaging changes fix issues against CPython 3.11 or PyPy.
2023-03-21 08:57:21 -04:00
Jean-Paul Calderone
dd8f6d408d Remove the non-unit test dependencies from the unit test inputs 2023-03-21 08:56:50 -04:00
Jean-Paul Calderone
41d5538921 Fix maturin build when using PyPy for the pycddl package 2023-03-21 08:56:05 -04:00
Jean-Paul Calderone
900b4a3c98 Package a version of collections-extended compatible with Python 3.11 2023-03-21 08:55:41 -04:00
Itamar Turner-Trauring
23b977a4b1 Undo unnecessary imports. 2023-03-20 15:27:16 -04:00
Itamar Turner-Trauring
815066c4de Just use the utility. 2023-03-20 15:25:52 -04:00
Itamar Turner-Trauring
cce5d3adff Don't actually need this. 2023-03-20 15:24:10 -04:00
Itamar Turner-Trauring
ded5b20924 Lint fix. 2023-03-20 15:20:39 -04:00
Itamar Turner-Trauring
aba60d2719 Run blocking tests in a thread. 2023-03-20 15:14:01 -04:00
Itamar Turner-Trauring
61d9d82c55 Make await_client_ready() non-blocking. 2023-03-20 15:02:35 -04:00
Itamar Turner-Trauring
ab300c090a Merge remote-tracking branch 'origin/master' into 3988-failing-test-http 2023-03-20 14:31:44 -04:00
Itamar Turner-Trauring
c259bdb033 Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs 2023-03-20 10:03:22 -04:00
Jean-Paul Calderone
2dfabf796f
Merge pull request #1270 from exarkun/3989.drop-tenacity-dep
Fixes: ticket:3989
2023-03-20 08:59:42 -04:00
Jean-Paul Calderone
6a4346587c Fix the type annotations 2023-03-17 15:46:27 -04:00
Jean-Paul Calderone
5cf892b441 Also remove it from the Nix packaging 2023-03-17 15:32:13 -04:00
Jean-Paul Calderone
a9f3465568 news fragment 2023-03-17 15:31:07 -04:00
Jean-Paul Calderone
a3ebd21b25 implement retry ourselves, don't depend on tenacity 2023-03-17 15:30:14 -04:00
Itamar Turner-Trauring
a24e6bd7f9 Try to rewrite test_get_put.py::test_large_file into system-style test. 2023-03-16 16:31:28 -04:00
Jean-Paul Calderone
8431bbff67
Merge pull request #1261 from danielzwlee/3970.type-annotations-clean
Fixes: ticket:3970
2023-03-16 08:26:01 -04:00
Jean-Paul Calderone
e033f25d0a
Merge pull request #1267 from exarkun/replace-mach-nix
Fixes: ticket:3987
2023-03-15 18:08:48 -04:00
Jean-Paul Calderone
2a8867f6cf more packaging instructions 2023-03-15 15:47:43 -04:00
Itamar Turner-Trauring
52f43cefea Add 3.11. 2023-03-15 15:44:45 -04:00
Jean-Paul Calderone
aaaec9a69d package update instructions 2023-03-15 15:42:52 -04:00
Jean-Paul Calderone
b665240523 Merge remote-tracking branch 'origin/master' into replace-mach-nix 2023-03-15 15:33:03 -04:00
Jean-Paul Calderone
324a5ba397 give the reader a hint about the interpretation of ./. 2023-03-14 20:40:08 -04:00
Jean-Paul Calderone
505032d0ca a note about what this is and what's going on upstream 2023-03-14 20:38:46 -04:00
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