Commit Graph

14405 Commits

Author SHA1 Message Date
dlee
74ff8cd080 Per-file configuration for wormholetesting.py moved from inline mypy configuration moved to mypy.ini file 2023-03-13 11:04:52 -05:00
dlee
4f47a18c6a Comments added for inline mypy config. Individual flags used as --strict flag can only be used on a per-module basis. 2023-03-08 15:29:50 -06:00
dlee
10b3eabed4 Apply per file flags corresponding to --strict to wormholetesting.py 2023-03-08 15:19:08 -06:00
dlee
8ccbd37d29 Fix implicit re-export error by importing IWormhole from wormhole library directly 2023-03-08 15:16:03 -06:00
dlee
582876197a Added default check to verify to ensure strictness 2023-02-27 15:14:58 -06:00
dlee
af51b02228 Revert wait_for_wormhole function return type back to Awaitable for forward compatibility when we move to async def 2023-02-27 15:05:52 -06:00
dlee
be9d76e2b8 Added newsfragment 2023-02-17 16:24:52 -06:00
dlee
86dbcb21ce Refactored verify function to update deprecated getargspec function with getfullargspec and maintained strictness 2023-02-17 16:24:32 -06:00
dlee
badba97ff2 Type annotations added for wormholetesting.py 2023-02-17 16:20:29 -06:00
Jean-Paul Calderone
32dc2019dc
Merge pull request #1258 from danielzwlee/truthyconditional-varnamechange
Fixes to truthy conditional and variable names same as built-in

Fixes: ticket:3975
Fixes: ticket:3976
2023-02-15 19:09:17 -05:00
dlee
a7ddcbf868 Changes requested 2023-02-14 12:50:37 -06:00
dlee
b7cadfc53a Fixes bad practice of naming variable a built-in type 2023-02-14 11:38:35 -06:00
dlee
19e58f19ca Fixes truthy conditional 2023-02-14 11:21:57 -06:00
Daniel
c7ba8980a8
Merge pull request #2 from tahoe-lafs/master
Update my repo
2023-02-10 15:47:48 -06:00
Itamar Turner-Trauring
45d9ed8a99
Merge pull request #1256 from danielzwlee/3971.mypy-config
Configure mypy to be more strict

Fixes ticket:3971
2023-02-07 12:32:00 -05:00
dlee
eb26c97ef7 implicit_optional flag added and errors related to flag fixed 2023-02-06 15:29:53 -06:00
dlee
31c5b78e6a Add back rsa.py accidentally removed file on website 2023-02-03 21:35:55 -06:00
Daniel
80db4a9de4
Delete rsa.py 2023-02-03 21:25:24 -06:00
dlee
e2e33933a8 Forgot to push newsfragment 2023-02-03 16:48:06 -06:00
dlee
7f3af6a8ed typechecks made more strict using more flags 2023-02-03 16:30:07 -06:00
Itamar Turner-Trauring
0c507dc5db
Merge pull request #1241 from tahoe-lafs/3952-benchmarks
A truly minimal benchmark suite
2023-01-31 15:57:14 -05:00
Itamar Turner-Trauring
9553901ca1 Add caveats. 2023-01-31 14:22:57 -05:00
Jean-Paul Calderone
759974aecc
Merge pull request #1252 from crwood/3966.unpin-charset-normalizer
Unpin charset-normalizer / (re-)fix PyInstaller builds

Re-fixes: ticket:3966
2023-01-28 17:06:29 -05:00
Jean-Paul Calderone
cad81c9bdd Twiddle the news fragment to pass codechecks 2023-01-28 16:21:45 -05:00
Jean-Paul Calderone
c8033081a6 Merge remote-tracking branch 'origin/master' into 3966.unpin-charset-normalizer 2023-01-28 16:18:53 -05:00
Jean-Paul Calderone
cd6c17d574
Merge pull request #1253 from exarkun/3969.circleci-cachix-again
Another round of CircleCI/cachix logic fixes

Fixes: ticket:3969
2023-01-28 16:17:13 -05:00
Jean-Paul Calderone
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
Jean-Paul Calderone
3d58194c3a Complexify the upstream-vs-forked detection 2023-01-28 08:56:48 -05:00
Jean-Paul Calderone
230ce346c5 circleci env var notes 2023-01-28 08:54:00 -05:00
Jean-Paul Calderone
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
Itamar Turner-Trauring
22843c89a5 Merge remote-tracking branch 'origin/master' into 3952-benchmarks 2023-01-25 10:56:36 -05:00
Jean-Paul Calderone
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
Jean-Paul Calderone
e2eac5855c Remove handling for older versions of pycddl
>=0.4 is now a hard-requirement
2023-01-23 08:52:00 -05:00
Jean-Paul Calderone
55139bb3f9 We can demand >= 0.4 now 2023-01-23 08:50:04 -05:00
Jean-Paul Calderone
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
Jean-Paul Calderone
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
Jean-Paul Calderone
96f90cdf10 news fragment 2023-01-20 21:09:28 -05:00
Jean-Paul Calderone
d77d8d09fc Give the integration tests a little longer to finish. 2023-01-20 19:58:06 -05:00
Jean-Paul Calderone
58f20ff9c7 advertise all the names 2023-01-20 19:50:57 -05:00
Jean-Paul Calderone
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
Jean-Paul Calderone
ed7bb1b41f expose the persistence api 2023-01-20 16:27:05 -05:00
Jean-Paul Calderone
781f4486ac Get the segment size parameter right 2023-01-20 16:26:23 -05:00
Jean-Paul Calderone
a9875b19c3 clearer language in the slow mark documentation 2023-01-20 15:20:42 -05:00
Jean-Paul Calderone
c46ab2d88b Hit a multiple of SEGMENT_SIZE on the nose 2023-01-20 15:20:02 -05:00
Jean-Paul Calderone
4664bcb321 These didn't end up being used 2023-01-20 15:15:44 -05:00