9152 Commits

Author SHA1 Message Date
Christopher R. Wood
00f82a46ae Expand type hints for create_dirnode 2024-05-30 15:51:24 -04:00
Christopher R. Wood
f694224aba Add docstring for create_dirnode 2024-05-30 15:50:40 -04:00
Christopher R. Wood
a30a7cb4e6 Factor out inline test keys into "data" directory 2024-05-30 15:48:43 -04:00
Christopher R. Wood
ed2e93582c Add tests for creating dirnodes with given keypair 2024-05-17 10:29:32 -04:00
Christopher R. Wood
6c7ffbe30d Allow mkdir-with-children to accept private-key 2024-05-07 14:37:42 -04:00
Christopher R. Wood
b93a39fdc2 Allow POST /uri?t=mkdir to accept private-key 2024-05-04 09:34:43 -04:00
Christopher R. Wood
9c2362853d Allow supplying keypair when creating mutable dirs 2024-05-03 16:55:38 -04:00
Itamar Turner-Trauring
09854684e6 Remove another future import. 2024-03-01 13:08:09 -05:00
Itamar Turner-Trauring
a9015cdb5b Remove another future import. 2024-03-01 13:06:32 -05:00
Itamar Turner-Trauring
6c48698f28 No need for repetition. 2024-03-01 13:00:24 -05:00
Itamar Turner-Trauring
dfdb6c60d0 Fix lints. 2024-03-01 12:17:11 -05:00
Itamar Turner-Trauring
0bbc8f6b5f Delete Python 2 specific code. 2024-03-01 12:16:40 -05:00
Itamar Turner-Trauring
ddc8e64272 We're just going to assume that in 2024 this is not an issue. 2024-03-01 12:11:54 -05:00
Alexandre Detiste
f47b45ac1a remove static native_str() 2024-02-28 01:25:06 +01:00
Alexandre Detiste
2243ce3187 remove "from past.builtins import long" 2024-02-28 01:07:08 +01:00
Alexandre Detiste
0e5b6daa38 remove more Python2: unicode -> str, long -> int 2024-02-28 00:53:49 +01:00
Alexandre Detiste
53084f76ce remove more Python2 compatibility 2024-02-28 00:49:07 +01:00
Itamar Turner-Trauring
3fb0bcfff7 Remove unnecessary imports. 2024-02-27 15:37:53 -05:00
Itamar Turner-Trauring
a32526a2c6 Merge remote-tracking branch 'origin/master' into remove-future 2024-02-27 15:32:31 -05:00
meejah
825e42cdfb Fix fragile unit-test 2024-02-26 14:49:22 -07:00
Alexandre Detiste
1cfe843d23 more python2 removal 2024-02-23 00:40:25 +01:00
Itamar Turner-Trauring
3afd2dcdc7
Merge pull request #1358 from a-detiste/remove-future
remove old Python2 __future__ statements

Fixes ticket:4090
2024-02-21 10:15:34 -05:00
Itamar Turner-Trauring
40963cd3de
Merge pull request #1351 from tahoe-lafs/4082-upgrade-mypy
Upgrade to mypy 1.8
2024-02-21 10:14:18 -05:00
meejah
4fb973e1cb
Merge pull request #1354 from tahoe-lafs/4085.dirty-reactor-in-tests
Hopefully fix dirty reactor in tests
2024-02-20 21:19:44 +00:00
Itamar Turner-Trauring
09d78b129b Update line number 2024-02-15 12:56:00 -05:00
Alexandre Detiste
b856238110 remove old Python2 __future__ statements 2024-02-15 16:53:34 +01:00
Itamar Turner-Trauring
fced1ab01b Switch to using pycddl for CBOR decoding. 2024-01-24 13:50:55 -05:00
Itamar Turner-Trauring
68d63fde27 Pacify mypy. 2024-01-24 08:11:45 -05:00
Itamar Turner-Trauring
f0ce6e9d68 Use Python version of CBOR loading. 2024-01-24 08:05:29 -05:00
Itamar Turner-Trauring
1db76da2e2 Centralize cbor dumping and loading, for better control. 2024-01-24 07:55:57 -05:00
meejah
6b7d1e985c test for 4087 2024-01-19 12:11:05 -07:00
Itamar Turner-Trauring
20b4f89581 Hopefully fix dirty reactor tests. 2024-01-08 10:08:57 -05: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
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
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