Commit Graph

15018 Commits

Author SHA1 Message Date
4ea4286a7f Use CIRCLE_PULL_REQUESTS in case there are multiple
which, of course, there never are, except for during testing of this branch
2023-01-28 09:21:34 -05:00
3d58194c3a Complexify the upstream-vs-forked detection 2023-01-28 08:56:48 -05:00
230ce346c5 circleci env var notes 2023-01-28 08:54:00 -05:00
ff964b2310 news fragment 2023-01-28 08:53:53 -05:00
Chris Wood
15c7916e08 Revert previous two commits (e046627, a292f52) 2023-01-27 12:46:30 -05:00
Chris Wood
e046627d31 Try debugging CI/ubuntu-20.04 integration tests...
Does removing the `charset_normalizer.md__mypyc` hidden import make the
tests pass?
2023-01-27 11:59:24 -05:00
Chris Wood
a292f52de1 Try debugging CI/ubuntu-20.04 integration tests..
Does restoring the "charset_normalizer < 3" pin make the tests pass?
2023-01-27 11:47:50 -05:00
Chris Wood
87dad9bd2b Remove "charset_normalizer < 3" constraint 2023-01-27 10:07:50 -05:00
Chris Wood
c37e330efd Add charset_normalizer.md__mypyc to hidden imports
Fixes: https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3966
Overrides: https://github.com/tahoe-lafs/tahoe-lafs/pull/1248
Ref.: https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/534
2023-01-27 10:02:59 -05:00
669296d5d6 News file. 2023-01-26 11:44:53 -05:00
921a2083dc Make sure (immutable) test vectors are run with the segment size that was used
to generate them.
2023-01-25 15:47:35 -05:00
22843c89a5 Merge remote-tracking branch 'origin/master' into 3952-benchmarks 2023-01-25 10:56:36 -05:00
28ca5abe3c Merge remote-tracking branch 'origin/master' into 3957-mutable-over-http-speed 2023-01-25 10:53:15 -05:00
af53f5b8b9 Merge remote-tracking branch 'origin/master' into 3946-less-chatty-downloads 2023-01-25 10:12:20 -05:00
cf4d767535 Fix whitespace. 2023-01-24 13:28:24 -05:00
8bbce2bd13 News file. 2023-01-24 13:17:46 -05:00
6ccccde9e0 Increase the max default segment size. 2023-01-24 13:15:55 -05:00
d5f5d394dd Test changes in max default segment size (both directions). 2023-01-24 13:15:40 -05:00
ed0bda2d74
Merge pull request #1249 from exarkun/3967.nix-pycddl
Update the Nix package build to pycddl 0.4

Fixes: ticket:3967
2023-01-24 12:42:40 -05:00
174ad666dd Merge branch '3952-benchmarks' into 3946-less-chatty-downloads 2023-01-24 11:31:29 -05:00
ba793e2c16 Make it actually work. 2023-01-24 11:10:50 -05:00
3e6778268f Merge remote-tracking branch 'origin/master' into 3957-mutable-over-http-speed 2023-01-23 11:39:54 -05:00
80938b76a5 News fragment. 2023-01-23 11:39:00 -05:00
1f3993b689 Don't block on CDDL validation. 2023-01-23 11:37:13 -05:00
e2eac5855c Remove handling for older versions of pycddl
>=0.4 is now a hard-requirement
2023-01-23 08:52:00 -05:00
55139bb3f9 We can demand >= 0.4 now 2023-01-23 08:50:04 -05:00
96d783534a Bump mach-nix and pypi-deps-db
The newer pypi-deps-db has the pycddl release we want.
The newer mach-nix is required to be compatible with fixes in that pypi-deps-db.
2023-01-23 08:48:29 -05:00
8735845aea
Merge pull request #1243 from exarkun/3961.test-vectors
Add capability test vectors

Fixes: ticket:3961
2023-01-21 08:26:27 -05:00
96f90cdf10 news fragment 2023-01-20 21:09:28 -05:00
d77d8d09fc Give the integration tests a little longer to finish. 2023-01-20 19:58:06 -05:00
58f20ff9c7 advertise all the names 2023-01-20 19:50:57 -05:00
f4e3e08e38 re-generate with a case using an exact segment size multiple
all of the mutables totally change because we don't try to re-use existing rsa
keys (yet...?)
2023-01-20 16:27:13 -05:00
ed7bb1b41f expose the persistence api 2023-01-20 16:27:05 -05:00
781f4486ac Get the segment size parameter right 2023-01-20 16:26:23 -05:00
a9875b19c3 clearer language in the slow mark documentation 2023-01-20 15:20:42 -05:00
c46ab2d88b Hit a multiple of SEGMENT_SIZE on the nose 2023-01-20 15:20:02 -05:00
4664bcb321 These didn't end up being used 2023-01-20 15:15:44 -05:00
9581eeebe5 explain the repeated save_capabilities calls 2023-01-20 15:14:18 -05:00
3d2dbdb1cd Merge remote-tracking branch 'origin/master' into 3952-benchmarks 2023-01-20 11:10:39 -05:00
129c6ec11a Factor more infrastructure code out of the test module
Test vector saving implementation can go near loading implementation.  Also we
can separate out some simple types from the more complex logic.  Initially
this was to resolve a circular dependency but that ended up being resolved
mostly by treatming SEGMENT_SIZE more like a parameter than a global.  Still,
smaller modules are okay...
2023-01-18 13:52:11 -05:00
280a77b53d Convince pytest that slow is a legit mark 2023-01-18 13:30:12 -05:00
69b25d932c Re-enable the Debian-11 / integration gate 2023-01-18 13:29:14 -05:00
4e2c685a12 Fix test_directory_deep_check by having it re-assert its preferred config
Previously the changes test_vectors.py made to Alice's configuration
invalidated test_directory_deep_check's assumptions.
2023-01-18 13:28:24 -05:00
e53f68f4d7 Move parameter definitions to their own module, away from test implementation 2023-01-17 10:59:00 -05:00
f6555381a9 start right away please so I don't have to wait forever 2023-01-17 10:40:08 -05:00
6bf36bebd0 maybe we need integration here after all 2023-01-17 10:39:58 -05:00
e4745779ab See if this helps tox/pytest on CI 2023-01-17 10:27:20 -05:00
290bb5297f lint 2023-01-17 10:19:37 -05:00
1d32326659 Simpler, more correct process lifecycle handling.
The previous version included a bogus hack where we just passed
`allow_missing=True` when finalization was requested of `_run_node`.  This was
clearly wrong since if the caller asked for finalization, it's a programming
error for it to already have been done.

Fortunately we have a perfectly good finalizer already, `TahoeProcess.kill`,
which we can use instead of trying to craft a finalizer out of the various
pieces that make up that value.

Also, nothing seems to use the `_protocol` attribute set by `got_proto` so
let's just drop that.
2023-01-17 10:06:14 -05:00
eb630c391f "Parametrize" in a way that gives us better test names.
The old way just put sequence numbers into the name.  This way puts expected
capability strings in.
2023-01-17 10:03:54 -05:00