Commit Graph

15330 Commits

Author SHA1 Message Date
meejah
67d5c82e10 codechecks / linter 2023-07-29 13:34:12 -06:00
meejah
7a8752c969 docstring, remove duplicate port-allocator 2023-07-29 13:18:23 -06:00
meejah
fe96defa2b use existing port-allocator instead 2023-07-29 13:15:21 -06:00
meejah
c4ac548cba reactor from fixture 2023-07-29 13:08:01 -06:00
meejah
a9128d89c3 Merge branch 'master' into 2916.grid-manager-integration-tests.2 2023-07-29 04:41:03 -06:00
meejah
e565b9e28c no, we can't 2023-07-29 04:14:39 -06:00
meejah
01a87d85be refactor: actually parallel 2023-07-29 04:08:52 -06:00
meejah
050ef6cca3 tor-tests work; refactor ports 2023-07-29 04:04:05 -06:00
meejah
6f9b9a3ac1 only use original request 2023-07-24 20:12:01 -06:00
meejah
45898ff8b8 refactor: make sftp tests (etc) work with 'grid' refactoring 2023-07-24 20:08:41 -06:00
Jean-Paul Calderone
e9f68824a1
Merge pull request #1317 from tahoe-lafs/4050-upgrade-dependencies
Upgrade some linting dependencies

Fixes: ticket:4050
2023-07-24 10:29:20 -04:00
Jean-Paul Calderone
cc27ab0bfb
Merge pull request #1318 from exarkun/4051.tor-network-fixture-dependency
Add "Tor network" dependency to a fixture that needs it

Fixes: ticket:4051
2023-07-22 19:00:44 -04:00
Jean-Paul Calderone
8e7cc91434 news fragment 2023-07-21 12:48:18 -04:00
Jean-Paul Calderone
22991fdd4c Set up Tor-related fixture dependencies, maybe even properly 2023-07-21 12:47:56 -04:00
Itamar Turner-Trauring
4bbde0288e Upgrade ruff. 2023-07-21 11:10:54 -04:00
Itamar Turner-Trauring
6cc517d1a7 Newer mypy. 2023-07-21 11:04:51 -04:00
Itamar Turner-Trauring
9abc3730a0 Revert "suppress the new click mypy errors", Click 8.1.6 fixed the issue.
This reverts commit dfd34cfc0b.
2023-07-21 11:03:48 -04:00
Jean-Paul Calderone
8b8903c44f
Merge pull request #1283 from exarkun/clean-up-tor-and-i2p-providers
Abstract over some configuration manipulation done by `write_node_config` in `create_node.py`

Fixes: ticket:4004
2023-07-21 09:31:05 -04:00
Itamar Turner-Trauring
a297d6be16
Merge pull request #1316 from exarkun/4049.skip-some-when-superuser
Skip some tests when run as superuser

Fixes ticket:4049
2023-07-21 09:30:01 -04:00
Jean-Paul Calderone
60b361df2b news fragment 2023-07-21 08:41:03 -04:00
Jean-Paul Calderone
feb9643dfe skip permission-related tests if the environment is not suitable
posix superuser can do anything on the filesystem
2023-07-21 08:40:58 -04:00
Jean-Paul Calderone
2d688df299 get the node config types right 2023-07-21 08:19:27 -04:00
Jean-Paul Calderone
02a696d73b Make merge_config fail on overlapping configs
This isn't expected to happen.  If it does it would be nice to see it instead
of silently continue working with some config dropped on the floor.
2023-07-21 08:13:33 -04:00
Jean-Paul Calderone
da43acf52e more accurate docstring for dictutil.filter 2023-07-20 14:27:50 -04:00
Jean-Paul Calderone
4713573621 test for dictutil.filter 2023-07-20 14:27:30 -04:00
Jean-Paul Calderone
024b5e428a narrow the type annotation for another Listener method param 2023-07-20 14:23:31 -04:00
Jean-Paul Calderone
57facc6335 narrow the type of cli_config a bit
This has unfortunate interactions with the "stdout" attribute but I'm punting
on that.
2023-07-20 14:19:12 -04:00
Itamar Turner-Trauring
4b9ebe9b9c
Merge pull request #1311 from tahoe-lafs/4040-foolscap-integration-tests
Also run Foolscap-only integration tests

Fixes ticket:4040
2023-07-20 11:46:21 -04:00
Itamar Turner-Trauring
f7f30c78b7
Merge pull request #1315 from tahoe-lafs/4046.nurls-are-set
Make NURLs a set

Fixes ticket:4046
2023-07-20 11:45:55 -04:00
Itamar Turner-Trauring
aa144fc623 Make NURLs a set. 2023-07-19 12:40:07 -04:00
Jean-Paul Calderone
40665d824d remove unused import 2023-07-19 12:04:16 -04:00
Jean-Paul Calderone
ee8155729d clean up some type annotations 2023-07-19 12:03:18 -04:00
Jean-Paul Calderone
911b54267b StaticProviders don't need to change 2023-07-19 11:54:22 -04:00
Jean-Paul Calderone
72c18579e2 another docstring 2023-07-19 11:54:18 -04:00
Jean-Paul Calderone
c1c0b60862 remove hard-coded tor/i2p in hide-ip support 2023-07-19 11:42:38 -04:00
Jean-Paul Calderone
e6b3b65810 add some missing docstrings 2023-07-19 11:35:51 -04:00
Jean-Paul Calderone
9d7fb6cb08 Merge remote-tracking branch 'origin/master' into clean-up-tor-and-i2p-providers 2023-07-19 09:32:58 -04:00
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
meejah
6c5cb02ee5 shush mypy 2023-07-17 17:11:00 -06:00
meejah
a4801cc2eb CI uses tox less than 4 2023-07-17 17:10:45 -06:00
meejah
0b9506dfad try new-enoug to avoid a type error 2023-07-13 17:53:27 -06:00
meejah
96c465352a Merge branch 'master' into 2916.grid-manager-integration-tests.2 2023-07-13 17:40:18 -06:00
meejah
4c8a20c876 When finalizing a process, we can ignore the case where it isn't running 2023-07-12 19:20:02 -06: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
f354b3ad70
Merge pull request #1312 from exarkun/4044.simpler-webish-test
Make a TahoeLAFSSite test simpler and more reliable

Fixes: ticket:4044
2023-07-11 17:21:44 -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
Itamar Turner-Trauring
71134db007
Merge branch 'master' into clean-up-tor-and-i2p-providers 2023-07-11 15:45:39 -04:00
Jean-Paul Calderone
c06e3e12ba try to work-around towncrier compatibility issue 2023-07-07 16:32:15 -04:00