9119 Commits

Author SHA1 Message Date
meejah
6b7d1e985c test for 4087 2024-01-19 12:11:05 -07:00
meejah
bec5ee890c Merge branch 'master' into 4078.race-condition 2023-12-22 17:35:23 -07:00
meejah
56c861449a match better 2023-12-21 15:22:38 -07:00
meejah
d70fa461da fix already-stopped 2023-12-20 21:57:01 -07:00
meejah
194011946c for some reason this makes 'the occasional error' happen all the time? 2023-12-20 21:56:08 -07:00
Itamar Turner-Trauring
451cdd7dcb Fix lint 2023-12-12 10:39:18 -05:00
Itamar Turner-Trauring
3d4945a26d Write out Eliot messages in a thread. 2023-12-12 10:33:25 -05:00
Itamar Turner-Trauring
774b4f2861 Fix mypy errors 2023-11-21 08:31:34 -05:00
Itamar Turner-Trauring
e5e9cb2b49 Disable deadlines on 3.12 2023-11-20 10:42:55 -05:00
Itamar Turner-Trauring
964aba9788 Generate messages that work with stricter Eliot 2023-11-20 09:02:43 -05:00
Itamar Turner-Trauring
a94d95e10f Merge branch '4074-drop-pkg_resources' into 3072-python-3.12-support 2023-11-20 08:38:52 -05:00
Itamar Turner-Trauring
ddd5fd9d81 Not actually used anywhere 2023-11-20 08:30:49 -05:00
Itamar Turner-Trauring
457b4895b5 Pacify mypy when running with newer Python 2023-11-17 11:47:00 -05:00
Itamar Turner-Trauring
9eb460e6cf Merge branch '4074-drop-pkg_resources' into 3072-python-3.12-support 2023-11-17 11:44:32 -05:00
Itamar Turner-Trauring
57534facc5 Python 3.8 support for importlib.resources.files 2023-11-17 11:26:52 -05:00
Itamar Turner-Trauring
e6630b59f7 Fix mypy complaints, simplifying code while we're at it 2023-11-17 11:22:06 -05:00
Itamar Turner-Trauring
c941146f43 Fix lints 2023-11-17 11:09:35 -05:00
Itamar Turner-Trauring
95341a2c07 Generalize static file setup. 2023-11-17 11:07:40 -05:00
Itamar Turner-Trauring
e68d0fccb1 Tahoe shouldn't need to depend on setuptools 2023-11-17 10:59:40 -05:00
Itamar Turner-Trauring
4daa584449 Get rid of pkg_resources 2023-11-17 10:54:33 -05:00
Itamar Turner-Trauring
0525b73763 Await coroutines! 2023-11-17 10:18:34 -05:00
Itamar Turner-Trauring
83fa028925 Use the existing Tahoe JSON encoder. 2023-11-16 13:53:51 -05:00
Itamar Turner-Trauring
bdaf9b5e47 Fix lints 2023-11-15 13:10:20 -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
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
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
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
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