Commit Graph

8959 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
7bcd90cd91
Merge pull request #1310 from tahoe-lafs/4038-correct-ticket
Point to correct tickets

Fixes ticket:4038
2023-07-18 11:57:34 -04:00
Jean-Paul Calderone
c6daeaf4a3
Merge pull request #1313 from exarkun/4045.typechecks-vs-click
suppress the new click type checking errors

Also address an importlib_resources / towncrier incompatibility.

Fixes: ticket:4045
2023-07-11 20:05:19 -04:00
Jean-Paul Calderone
eef52fa59f remove unused imports 2023-07-11 16:32:33 -04:00
Jean-Paul Calderone
79512a93e7 Adjust the temp factory return type
BinaryIO is a subclass of IO[bytes] so it doesn't check out as
the return type of a callable we pass around.

Switch to the superclass instead.
2023-07-11 16:30:54 -04:00
Jean-Paul Calderone
c838967a54 Improve the name and type annotation of the tempfile factory 2023-07-11 16:15:56 -04:00
Jean-Paul Calderone
dfd34cfc0b suppress the new click mypy errors 2023-07-07 16:26:31 -04:00
Jean-Paul Calderone
4b23b779e4 Reduce the amount of test suite gymnastics with new WebishServer API
Instead of forcing the test suite to try to discover the location of an
unnamed temporary file, let it just assert that the file is created in the
directory specified in the temporary file factory.
2023-07-07 16:04:37 -04:00
Itamar Turner-Trauring
bc78dbc25c Point to correct ticket 2023-07-05 10:21:40 -04:00
Itamar Turner-Trauring
a7f45ab355 If this ever does get called, make the error less obscure. 2023-06-26 11:09:32 -04:00
Itamar Turner-Trauring
5f9e784964 Better explanation 2023-06-26 09:06:28 -04:00
Itamar Turner-Trauring
d697e8dab5 Merge remote-tracking branch 'origin/master' into 4035-new-mypy 2023-06-26 09:03:53 -04:00
Itamar Turner-Trauring
0fb6c5ac18
Merge pull request #1305 from tahoe-lafs/3910-http-storage-server-tor-support
HTTP storage server supports .onion addresses, and corresponding client support

Fixes ticket:3910
2023-06-26 09:01:59 -04:00
Itamar Turner-Trauring
ea953f3ba1 Merge remote-tracking branch 'origin/3910-http-storage-server-tor-support' into 4035-new-mypy 2023-06-26 08:50:35 -04:00
meejah
75b9c59846 refactor 2023-06-22 01:59:02 -06:00
meejah
122e0a73a9 more-generic testing hook 2023-06-22 01:29:55 -06:00
Jean-Paul Calderone
592e77beca allow list as a generic container annotation 2023-06-20 08:12:14 -04:00
Jean-Paul Calderone
7257851565 python 2/3 porting boilerplate cleanup 2023-06-20 07:46:43 -04:00
Jean-Paul Calderone
02fba3b2b6 factor some duplication out of the tests 2023-06-20 07:45:51 -04:00
meejah
357c9b003f flake8 2023-06-19 17:55:36 -06:00
meejah
2fcb190c2f add tests for both close-stdin cases 2023-06-19 17:53:57 -06:00
meejah
db9597ee19 add --allow-stdin-close option 2023-06-19 16:07:31 -06:00
Itamar Turner-Trauring
8d99ddc542 Pacify mypy 2023-06-15 17:14:08 -04:00
Itamar Turner-Trauring
bf5213cb01 Pacify mypy 2023-06-14 18:01:52 -04:00
Itamar Turner-Trauring
96afb0743a Pacify mypy 2023-06-14 17:57:25 -04:00
Itamar Turner-Trauring
0f8100b1e9 Fix whitespace 2023-06-14 17:52:01 -04:00
Itamar Turner-Trauring
ce1839f203 Pacify mypy 2023-06-14 17:51:54 -04:00
Itamar Turner-Trauring
9306f5edab Fix mypy issues 2023-06-14 17:48:13 -04:00
Itamar Turner-Trauring
27243ccfdf Fix mypy issues 2023-06-14 17:45:15 -04:00
Itamar Turner-Trauring
44b752c87d Fix mypy issues 2023-06-14 17:43:39 -04:00
Itamar Turner-Trauring
af323d2bbb Get the code working again. 2023-06-14 17:05:51 -04:00
Itamar Turner-Trauring
55d62d609b Fix some mypy errors. 2023-06-14 16:54:09 -04:00
Itamar Turner-Trauring
11e0151838 Fix some type issues in storage_client.py 2023-06-14 16:02:04 -04:00
Itamar Turner-Trauring
65775cd6bd Not used externally. 2023-06-14 14:54:24 -04:00
Itamar Turner-Trauring
ff1c1f700e Remove unused methods. 2023-06-14 14:52:54 -04:00
Itamar Turner-Trauring
f42fb1e551 Unused import 2023-06-14 14:16:35 -04:00
Itamar Turner-Trauring
054c893539 Pacify mypy 2023-06-14 14:16:10 -04:00
Itamar Turner-Trauring
cab24e4c7b Another service name issue. 2023-06-14 14:12:39 -04:00
Itamar Turner-Trauring
3b5c6695d5 Pacify mypy. 2023-06-14 14:09:51 -04:00
Itamar Turner-Trauring
1fd81116cb Fix mypy complaint. 2023-06-14 14:08:30 -04:00
Itamar Turner-Trauring
257aa289cd Remote interfaces don't interact well with mypy. 2023-06-14 14:04:45 -04:00
Itamar Turner-Trauring
8493b42024 Fix types. 2023-06-14 14:02:24 -04:00
Itamar Turner-Trauring
b45ee20ba8 MyPy fixes for allmydata.storage. 2023-06-14 11:07:48 -04:00
Itamar Turner-Trauring
a99361b404 Merge branch '3910-http-storage-server-tor-support' into 4035-new-mypy 2023-06-14 09:56:15 -04:00
Jean-Paul Calderone
cb082b2094 Merge remote-tracking branch 'origin/master' into 3998-new-pyopenssl 2023-06-13 10:35:51 -04:00
Itamar Turner-Trauring
20d4175abc Fix typecheck complaint 2023-06-06 12:18:02 -04:00
Itamar Turner-Trauring
a977180baf Fix lint 2023-06-06 12:15:31 -04:00
Itamar Turner-Trauring
e8744f91e5 Hook up HTTP storage for servers listening on .onion addresses 2023-06-06 12:06:51 -04:00
Itamar Turner-Trauring
74a121da74 Fix bug which meant object could not be created. 2023-06-06 11:47:36 -04:00
Itamar Turner-Trauring
5af0ead5b9 Refactor HTTP client creation to be more centralized. 2023-06-06 10:58:16 -04:00
Itamar Turner-Trauring
940600e0ed Link to ticket. 2023-06-05 12:54:51 -04:00