Commit Graph

15636 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
0525b73763 Await coroutines! 2023-11-17 10:18:34 -05:00
Itamar Turner-Trauring
e276b3a9be Increase setuptools and pip versions 2023-11-17 10:08:00 -05:00
Itamar Turner-Trauring
c2b1f31684 Work with tox 4 2023-11-16 17:54:34 -05:00
Itamar Turner-Trauring
7b680b36ef Make setuptools a dependency 2023-11-16 17:54:24 -05:00
Itamar Turner-Trauring
83fa028925 Use the existing Tahoe JSON encoder. 2023-11-16 13:53:51 -05:00
Itamar Turner-Trauring
3ddfb92484 News fragment 2023-11-15 13:11:03 -05:00
Itamar Turner-Trauring
bdaf9b5e47 Fix lints 2023-11-15 13:10:20 -05:00
Itamar Turner-Trauring
b28b769a6c Add some coverage for 3.12 2023-11-15 13:09:24 -05:00
Itamar Turner-Trauring
0bd402e680 Handle logging of sets 2023-11-15 13:03:43 -05:00
Itamar Turner-Trauring
16aa5fece2 More backwards compatibility 2023-11-15 12:53:51 -05:00
Itamar Turner-Trauring
984b74ee34 Remove usage of deprecated API 2023-11-15 12:51:43 -05:00
Itamar Turner-Trauring
3d753fef93 Make test less fragile 2023-11-15 12:51:32 -05:00
Itamar Turner-Trauring
5889b80332 assert_ has been removed in Python 3.12 2023-11-15 12:15:34 -05:00
Itamar Turner-Trauring
ffafb5d877 Update to work with newer Eliot 2023-11-15 12:15:28 -05:00
Itamar Turner-Trauring
def7014c79 json dumping doesn't like keys that are bytes (not sure how this ever worked) 2023-11-15 12:15:06 -05:00
Itamar Turner-Trauring
ffe0979ad5 fail* methods have been removed in 3.12 (deprecated since 3.1!) 2023-11-15 12:14:47 -05:00
Itamar Turner-Trauring
4b75b7c6e8 Work with newer versions of Eliot 2023-11-15 12:14:38 -05:00
Itamar Turner-Trauring
22192b5e09 Get rid of eliot patching that's not relevant to Python 3 2023-11-15 11:00:58 -05:00
Itamar Turner-Trauring
1b700be578 Allow 3.12 2023-11-15 10:54:56 -05:00
Itamar Turner-Trauring
134bcd7dd0 We're not support Python 2 anymore, and future breaks on 3.12 (for now) when
standard_library is patched.
2023-11-15 10:54:27 -05:00
Brian Warner
7c878b9b94
Merge pull request #1343 from tahoe-lafs/update-donation-docs
docs: describe BTC/development with OpenCollective
2023-10-25 23:26:58 -07:00
Brian Warner
c852e29048 docs: describe BTC/development with OpenCollective
Add OpenCollective transfer address to docs/donations.rst

Also update the Aspiration sections with overall details, and the
second phase we did in 2020.
2023-10-25 11:43:37 -07:00
Itamar Turner-Trauring
4fbf31b00c
Merge pull request #1342 from tahoe-lafs/4068-reduce-cpu-in-eventloop-thread
Reduce blocking operations in eventloop thread
2023-10-20 10:48:27 -04:00
Itamar Turner-Trauring
20cfe70d48 Switch defer_to_thread() API to hopefully be harder to screw up. 2023-10-19 13:51:16 -04:00
Itamar Turner-Trauring
303e45b1e5 Expand docs 2023-10-19 11:15:06 -04:00
Itamar Turner-Trauring
bab97cf319 Document constraints. 2023-10-19 11:12:44 -04:00
Itamar Turner-Trauring
5d896e8035 Just do whole thing in one thread job 2023-10-19 11:09:54 -04:00
Itamar Turner-Trauring
7f53f40d76 Don't assume the result is immediately available 2023-10-16 13:25:30 -04:00
Itamar Turner-Trauring
c6b4b9eb29 Merge remote-tracking branch 'origin/master' into 4068-reduce-cpu-in-eventloop-thread 2023-10-16 13:18:24 -04:00
Itamar Turner-Trauring
a08a622cd7
Merge pull request #1341 from tahoe-lafs/4070-hypothesis-type-checking-errors
Fix Hypothesis type checking errors

Fixes ticket:4070
2023-10-16 13:17:52 -04:00
Itamar Turner-Trauring
5d0a619572
Merge pull request #1339 from tahoe-lafs/4065-try-to-speed-up-first-benchmark
Try (and maybe kinda sorta succeed?) to speed up first benchmark

Fixes ticket:4065
2023-10-16 13:15:43 -04:00
Itamar Turner-Trauring
7b5be93657 Merge remote-tracking branch 'origin/master' into 4065-try-to-speed-up-first-benchmark 2023-10-16 12:54:33 -04:00
Itamar Turner-Trauring
5a6f20b9bb Correct name 2023-10-16 12:45:57 -04:00
Itamar Turner-Trauring
949b90447a Pacify mypy 2023-10-16 12:45:17 -04:00
Itamar Turner-Trauring
d80cd45474 Tests only ran on Python 2 2023-10-16 12:43:00 -04:00
Itamar Turner-Trauring
5f750ae40b News file 2023-10-16 12:41:28 -04:00
Itamar Turner-Trauring
c78d7b6134 Merge remote-tracking branch 'origin/master' into 4068-reduce-cpu-in-eventloop-thread 2023-10-16 11:46:02 -04:00
Itamar Turner-Trauring
040bb53851 Make it optional 2023-10-16 11:45:40 -04:00
Itamar Turner-Trauring
72041c0a8c More reasonable defaults 2023-10-16 11:44:29 -04:00
Itamar Turner-Trauring
07a1288ab9 Run in thread 2023-10-16 11:41:07 -04:00
Itamar Turner-Trauring
6e93b12cb5 Run in thread pool 2023-10-16 11:36:41 -04:00
Itamar Turner-Trauring
daec717903 Lints 2023-10-16 11:27:08 -04:00
Itamar Turner-Trauring
cb83b08923 Decouple from reactor 2023-10-16 11:16:10 -04:00
Itamar Turner-Trauring
b60e53b3fb Run blocking code in a thread 2023-10-16 10:38:05 -04:00
Itamar Turner-Trauring
2ccdd183c1 Just always run in thread 2023-10-16 10:10:00 -04:00
Itamar Turner-Trauring
d3ca02fa3f Run blocking operations in thread pool 2023-10-16 10:07:36 -04:00
Itamar Turner-Trauring
08e8dd308f Detect blocked threads. 2023-10-16 09:52:02 -04:00
Jean-Paul Calderone
47c9a95d42
Merge pull request #1338 from exarkun/4066.hashtree-test-vectors
Add HashTree-related test vectors
2023-10-09 11:16:10 -04:00
Itamar Turner-Trauring
ccdc2ff513 News fragment 2023-09-25 15:41:41 -04:00
Itamar Turner-Trauring
1743d51bbf Run key generation in a thread. 2023-09-25 15:41:01 -04:00