Commit Graph

15281 Commits

Author SHA1 Message Date
Jean-Paul Calderone
32cd54501d Pass a time function instead of patching the global 2023-03-28 08:52:31 -04:00
Jean-Paul Calderone
6b7ea29d88 use foolscap.reconnector.Reconnector where one is required
Unfortunately we need to touch a private attribute directly to shove our
expected info into it.  This isn't so bad though.  Foolscap isn't moving much
and we're not touching anything complex, just setting a simple model
attribute.
2023-03-28 08:40:25 -04:00
Jean-Paul Calderone
e2c6cc49d5 use foolscap.info.ConnectionInfo where one is required
It's *right* there.  Just use it!
2023-03-28 08:37:22 -04:00
Jean-Paul Calderone
2f106aa02a use foolscap.reconnector.ReconnectionInfo where one is required
It's *right* there.  Just use it!
2023-03-28 08:35:31 -04:00
Itamar Turner-Trauring
bd7c61cc5c Split up the state management logic from the server pinging logic. 2023-03-27 16:58:15 -04:00
Jean-Paul Calderone
4232c7f142 remove unused binding 2023-03-27 14:55:10 -04:00
Itamar Turner-Trauring
7838f25bf8 Clean up with simpler idiom. 2023-03-27 14:54:36 -04:00
Itamar Turner-Trauring
0995772b24 Explain why we ignore type check. 2023-03-27 14:54:27 -04:00
Jean-Paul Calderone
81193aaddc news fragment 2023-03-27 14:43:58 -04:00
Jean-Paul Calderone
d3d94937be Nothing uses the return value of this fixture 2023-03-27 14:42:32 -04:00
Jean-Paul Calderone
fb8c10c55f Use an already-installed Chutney if there is one 2023-03-27 14:42:32 -04:00
Jean-Paul Calderone
50c4ad8113 news fragment 2023-03-27 14:07:53 -04:00
Jean-Paul Calderone
92eeaef4bd news fragment 2023-03-27 14:07:31 -04:00
Jean-Paul Calderone
8613e36bae Propagate parent environment to children in the integration tests 2023-03-27 14:06:16 -04:00
Jean-Paul Calderone
1c99817e1b Safely customize the client node's configuration
This is similar to the fix to the `tor_introducer` fixture.
2023-03-27 13:59:32 -04:00
Jean-Paul Calderone
1c11f9e7d4 Add a little more debug info to the integration test suite output 2023-03-27 13:59:32 -04:00
Jean-Paul Calderone
fbcef2d1ae Safely customize the Tor introducer's configuration
Previously we clobbered the whole generated configuration and potentially
wiped out additional important fields.

Now we modify the configuration by just changing the fields we need to change.
2023-03-27 13:59:30 -04:00
Jean-Paul Calderone
b65e8c72df Skip the tor integration tests if any needed tor tools are missing 2023-03-27 13:57:09 -04:00
Itamar Turner-Trauring
4211fd8525 Revert to old code. 2023-03-27 13:41:30 -04:00
Itamar Turner-Trauring
4a396309d2 Merge remote-tracking branch 'origin/master' into 3880-http-storage-logging 2023-03-27 13:35:30 -04:00
Itamar Turner-Trauring
e7c71e66a3 Merge remote-tracking branch 'origin/master' into 3978-connection-status-http-storage 2023-03-27 10:41:17 -04:00
Jean-Paul Calderone
c478160988
Merge pull request #1274 from exarkun/3994.refactor-circleci-configuration
Fixes: ticket:3994
2023-03-27 07:29:26 -04:00
Jean-Paul Calderone
ca7d60097c update stale explanation about CACHIX_NAME 2023-03-26 20:05:35 -04:00
Jean-Paul Calderone
51f763ca9e fix word-o 2023-03-26 20:04:46 -04:00
Jean-Paul Calderone
9aefcbbe2f Merge remote-tracking branch 'origin/master' into 3994.refactor-circleci-configuration 2023-03-26 17:07:33 -04:00
Jean-Paul Calderone
2dd3b5d38d
Merge pull request #1272 from exarkun/3991.build-with-nix-for-pypy
Build with Nix for Python 3.11 and PyPy 3.9

Fixes: ticket:3991
2023-03-26 17:06:06 -04:00
Jean-Paul Calderone
5873d46d55 Merge remote-tracking branch 'origin/master' into 3991.build-with-nix-for-pypy 2023-03-26 16:05:27 -04:00
Jean-Paul Calderone
b4670028c4
Merge pull request #1277 from tahoe-lafs/3996.newer-flake8-and-pylint
Fixes: ticket:3996
Fixes: ticket:3997
2023-03-26 16:04:05 -04:00
Jean-Paul Calderone
6bf1f0846a additional news fragment 2023-03-26 12:56:26 -04:00
Jean-Paul Calderone
226da2fb2a Add missing pyyaml dependency
It worked without this because we got the pyyaml dependency transitively but
we should declare it directly since it is a direct dependency.
2023-03-26 11:49:17 -04:00
Itamar Turner-Trauring
796fc5bdc5 Fix lint. 2023-03-24 15:27:51 -04:00
Itamar Turner-Trauring
51c7ca8d2c Workaround for incompatibility. 2023-03-24 15:22:21 -04:00
Itamar Turner-Trauring
ee75bcd26b Fix lint. 2023-03-24 15:20:48 -04:00
Itamar Turner-Trauring
06dc32a6c0 Fix lint. 2023-03-24 15:20:11 -04:00
Itamar Turner-Trauring
6ce53000f0 Fix lint. 2023-03-24 15:19:39 -04:00
Itamar Turner-Trauring
63549c71ef Fix lints, remove some Python 2 junk. 2023-03-24 15:18:46 -04:00
Itamar Turner-Trauring
f5d9947368 Fix lint. 2023-03-24 15:15:51 -04:00
Itamar Turner-Trauring
0d92aecbf3 Fix lint. 2023-03-24 15:14:59 -04:00
Itamar Turner-Trauring
0377f858c2 Correct type. 2023-03-24 15:14:23 -04:00
Itamar Turner-Trauring
0bdea026f0 Fix lint. 2023-03-24 15:13:20 -04:00
Itamar Turner-Trauring
9d45cd85c7 Fix lint. 2023-03-24 15:12:16 -04:00
Itamar Turner-Trauring
1668b2fcf6 Fix lint. 2023-03-24 15:09:11 -04:00
Itamar Turner-Trauring
0c92fe554d Fix lint. 2023-03-24 15:07:22 -04:00
Itamar Turner-Trauring
74e3e27bea Fix lint. 2023-03-24 15:06:27 -04:00
Itamar Turner-Trauring
4b25a92356 Limit cryptography for now. 2023-03-24 13:49:44 -04:00
Itamar Turner-Trauring
8d84e8a19f Fix lint. 2023-03-24 12:08:04 -04:00
Itamar Turner-Trauring
3212311bbe Fix lint. 2023-03-24 12:06:49 -04:00
Itamar Turner-Trauring
494a977525 Fix lint. 2023-03-24 12:06:01 -04:00
Itamar Turner-Trauring
aea748a890 Fix lint. 2023-03-24 12:03:43 -04:00
Itamar Turner-Trauring
0e6825709d Fix lints. 2023-03-24 12:03:04 -04:00