Itamar Turner-Trauring
|
3d4945a26d
|
Write out Eliot messages in a thread.
|
2023-12-12 10:33:25 -05:00 |
|
Itamar Turner-Trauring
|
3a1e079828
|
Pacify newer Mypy
|
2023-12-11 10:14:31 -05:00 |
|
Itamar Turner-Trauring
|
7ab0483d07
|
Pacify newer mypy
|
2023-12-11 10:09:50 -05:00 |
|
Itamar Turner-Trauring
|
2783bd8b77
|
Unnecessary maybeDeferred
|
2023-12-07 16:39:30 -05:00 |
|
Itamar Turner-Trauring
|
ac5178269b
|
Merge remote-tracking branch 'origin/master' into 4072-no-more-blocking-part-2
|
2023-12-07 15:44:32 -05:00 |
|
Itamar Turner-Trauring
|
81a5ae6f46
|
Simplify
|
2023-12-06 16:01:14 -05:00 |
|
Itamar Turner-Trauring
|
9a1e73892e
|
Run joining in a thread
|
2023-12-06 15:58:30 -05:00 |
|
Itamar Turner-Trauring
|
4c03d931bd
|
Accept memoryview
|
2023-12-06 15:56:58 -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
|
101453cd56
|
Make operation non-blocking (assuming GIL is released)
|
2023-10-23 09:57:32 -04:00 |
|
Itamar Turner-Trauring
|
40d649b3b2
|
Make another slowish operation non-blocking
|
2023-10-23 09:44:11 -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
|
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 |
|
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
|
1743d51bbf
|
Run key generation in a thread.
|
2023-09-25 15:41:01 -04:00 |
|
Itamar Turner-Trauring
|
ef20422bfe
|
Merge pull request #1333 from tahoe-lafs/4063-pypy-test-failure
Make tests pass again
Fixes ticket:4063
|
2023-09-13 09:48:17 -04:00 |
|
Jean-Paul Calderone
|
d6b38bc7a2
|
test vectors
|
2023-09-13 09:26:35 -04:00 |
|
Itamar Turner-Trauring
|
9d018e1876
|
Merge pull request #1330 from tahoe-lafs/4047.test-foolscap-to-http-upgrade
Test foolscap to http upgrade
Fixes ticket:4047
|
2023-09-06 09:54:21 -04:00 |
|
Itamar Turner-Trauring
|
7d7ca29e3d
|
Work around Hypothesis complaint about differing executors due to subclassing.
See https://hypothesis.readthedocs.io/en/latest/settings.html#health-checks
|
2023-09-05 10:14:10 -04:00 |
|
Itamar Turner-Trauring
|
45e201a282
|
Apply suggestions from code review
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-09-05 09:33:44 -04:00 |
|
Jean-Paul Calderone
|
df491de4ee
|
Add two more cases to the test vector
|
2023-08-22 09:01:42 -04:00 |
|
Jean-Paul Calderone
|
50ce8abf9f
|
adapt the existing case to a multi-case structure
|
2023-08-22 08:50:27 -04:00 |
|
Itamar Turner-Trauring
|
152cadf543
|
Less duplication, more accuracy in format.
|
2023-08-17 09:06:32 -04:00 |
|
Itamar Turner-Trauring
|
792b9b4441
|
Merge remote-tracking branch 'origin/master' into 4047.test-foolscap-to-http-upgrade
|
2023-08-16 10:21:07 -04:00 |
|
Itamar Turner-Trauring
|
28f6902b1f
|
Merge remote-tracking branch 'origin/master' into 4041
|
2023-08-16 10:11:01 -04:00 |
|
Itamar Turner-Trauring
|
6e3d617a81
|
Merge branch '4041' into 4047.test-foolscap-to-http-upgrade
|
2023-08-16 09:47:08 -04:00 |
|
Itamar Turner-Trauring
|
4bffd567c3
|
Better docstring.
|
2023-08-16 09:45:10 -04:00 |
|
meejah
|
ad44958f02
|
more kinds of whitespace
|
2023-08-12 00:35:49 -06:00 |
|
meejah
|
a5b95273d7
|
typing is .. good?
|
2023-08-11 23:47:24 -06:00 |
|
meejah
|
356a1d0f79
|
don't know why dict_keys are so confusing to mypy
|
2023-08-11 22:01:21 -06:00 |
|
meejah
|
ffa589d6f8
|
import error
|
2023-08-11 21:19:02 -06:00 |
|
meejah
|
b751a3937a
|
Merge branch '3899.failed-server' of github.com:meejah/tahoe-lafs into 3899.failed-server
|
2023-08-11 21:18:10 -06:00 |
|
meejah
|
c27b330984
|
don't need fallback
|
2023-08-11 19:18:23 -06:00 |
|
meejah
|
375ee54c80
|
typing
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-08-11 09:08:19 -06:00 |
|
meejah
|
2e76d554e2
|
don't explicitly drop return
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-08-11 09:08:03 -06:00 |
|
meejah
|
a0769f59dc
|
naming
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-08-11 09:07:18 -06:00 |
|
meejah
|
c03076fe21
|
more robust comparison
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-08-11 09:07:00 -06:00 |
|
meejah
|
d81b64ba9e
|
docstring
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-08-11 09:05:16 -06:00 |
|
meejah
|
f51d49faa5
|
typing
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
|
2023-08-11 09:03:30 -06:00 |
|
meejah
|
60e873bbe4
|
unused
|
2023-08-10 13:22:35 -06:00 |
|
meejah
|
e3e5b4bc8d
|
typo
|
2023-08-10 12:19:11 -06:00 |
|
meejah
|
b07d9e90cb
|
correct test
|
2023-08-10 12:07:03 -06:00 |
|
meejah
|
09ea172b94
|
reformat multiline strings; don't output "storage.plugins = None"
|
2023-08-10 12:06:29 -06:00 |
|
meejah
|
d7cfb5dde9
|
show WebUI feedback when announcement-match fails
|
2023-08-09 23:21:28 -06:00 |
|
meejah
|
cf4fe0061c
|
refactor where plugins are loaded; use this to error early for users
|
2023-08-09 22:27:55 -06:00 |
|
meejah
|
295e816d4e
|
spell
|
2023-08-09 21:49:37 -06:00 |
|
meejah
|
4b55027ec8
|
Merge branch 'master' into 3899.failed-server
|
2023-08-09 17:57:38 -06:00 |
|
meejah
|
d3d57a68a9
|
Merge branch 'master' into 4056.provides
|
2023-08-09 16:42:58 -06:00 |
|
meejah
|
c7f6b6484d
|
spelling
|
2023-08-09 15:15:20 -06:00 |
|
Jean-Paul Calderone
|
b440065952
|
avoid trying to call os.getuid on windows
|
2023-08-08 11:30:02 -04:00 |
|
meejah
|
4710e7b177
|
provide our own provides() validator
|
2023-08-02 17:07:09 -06:00 |
|
meejah
|
5c45cb44bf
|
Merge branch 'master' into 2916.grid-manager-integration-tests.2
|
2023-08-02 13:23:52 -06:00 |
|
Itamar Turner-Trauring
|
e67ef7ad16
|
Merge pull request #1323 from tahoe-lafs/4052.more-type-checking-gbs
More type check for http storage server
Fixes ticket:4052
|
2023-08-02 14:34:08 -04:00 |
|
Itamar Turner-Trauring
|
009f063067
|
Stricter type checking
|
2023-08-01 15:35:18 -04:00 |
|
Itamar Turner-Trauring
|
e545ab4a80
|
More accurate type
|
2023-08-01 15:31:38 -04:00 |
|
Itamar Turner-Trauring
|
7e94ab2c05
|
Merge branch 'master' into 4041
|
2023-08-01 10:58:52 -04:00 |
|
Itamar Turner-Trauring
|
341a32708b
|
Docstring.
|
2023-08-01 10:55:45 -04:00 |
|