meejah
e27a8300d9
Merge pull request #1388 from meejah/4115.fix-ci-typechecks
...
4115: work around MyPy and treq for codechecks CI
2024-11-18 15:14:26 -07:00
meejah
074b6a6947
remove need for mypy override
2024-11-18 13:34:46 -07:00
Florian Sesser
7417cdb01c
MyPy in tests: Ignore StubTreq being a stub and not having all the attrs
2024-11-18 12:09:10 +00:00
Florian Sesser
5bcfa6fe03
Revert "Different fix for MyPy complaining about StubTreq"
...
This reverts commit 1985eaac01a010fd27af6640d42e86b46d587fa2.
It was pacifying MyPy but breaking the unit test at runtime.
2024-11-18 12:08:16 +00:00
Florian Sesser
1985eaac01
Different fix for MyPy complaining about StubTreq
2024-11-18 11:49:19 +00:00
Florian Sesser
8d31ebe09e
Revert "MyPy in tests: Ignore StubTreq being a stub and not having all the attrs"
...
This reverts commit 7efc31d55246fdf57968862c6f36fa34c2a14585.
Greetings @meejah! This is mostly to show you (in CI) the type error that MyPy
reports for StubTreq in the tests and that it has nothing to do with the
earlier changing changing type annotations in the code.
2024-11-18 10:00:06 +00:00
Florian Sesser
549cb8e0ba
Integration tests: 5min instead of 3min timeout
...
Recently, mostly on CircleCI, the CI test suite runs into
timeouts, often leading to subsequent "Dirty Reactor" errors.
Increasing the timeout makes this happen less often.
Refs ticket: 4085, 4022, 2994
2024-11-15 14:46:17 +00:00
Florian Sesser
0b1387592b
Remove now-unused imports to fix codechecks
2024-11-14 12:04:01 +00:00
Florian Sesser
7efc31d552
MyPy in tests: Ignore StubTreq being a stub and not having all the attrs
2024-11-14 11:58:06 +00:00
Florian Sesser
4f20612f3c
This pacifies mypy regarding treq/StubTreq for me
...
Lots of trial and error, incl. trying the latest treq which
ships type annotations... in the end I just removed the stuff
mypy was complaining about and it made the errors go away.
Can it be as simple as that?
2024-11-14 11:51:12 +00:00
meejah
02734db2e1
basic test for --storage-dir
2024-09-25 20:36:40 -06:00
meejah
f3f667d761
correctly interpret --storage-dir as an option
2024-09-25 20:30:50 -06:00
Itamar Turner-Trauring
73769a5b19
Merge remote-tracking branch 'origin/master' into fix-ci
2024-08-14 10:28:29 -04:00
Itamar Turner-Trauring
ee2b932c6a
Correct type annotations
2024-08-13 12:16:30 -04:00
Itamar Turner-Trauring
43626bf46d
Stop using directlyProvides()
2024-08-13 12:11:20 -04:00
Itamar Turner-Trauring
1539c8dd31
Remove usage of no longer available attrs API
2024-08-13 11:23:14 -04:00
meejah
7042442c97
should always be bytes
2024-08-08 17:10:30 -06:00
meejah
38fb089422
Do what 'typing' says I guess?
2024-08-08 16:58:53 -06:00
meejah
4d6fcc8ad1
import internal attr.provides
2024-08-08 15:54:50 -06:00
meejah
99e37dfa15
Merge branch 'master' into remove-future--a-detiste
2024-08-08 15:43:51 -06:00
meejah
b6fefa07ef
Merge pull request #1365 from crwood/4094.deterministic-dircaps
...
Support creating a new directory with a pre-determined signing key
2024-06-03 17:53:38 -06:00
meejah
62f59fb6b3
Merge branch 'master' into 4072-no-more-blocking-part-2
2024-06-03 13:03:22 -06:00
Christopher R. Wood
00f82a46ae
Expand type hints for create_dirnode
2024-05-30 15:51:24 -04:00
Christopher R. Wood
f694224aba
Add docstring for create_dirnode
2024-05-30 15:50:40 -04:00
Christopher R. Wood
a30a7cb4e6
Factor out inline test keys into "data" directory
2024-05-30 15:48:43 -04:00
Christopher R. Wood
ed2e93582c
Add tests for creating dirnodes with given keypair
2024-05-17 10:29:32 -04:00
Christopher R. Wood
6c7ffbe30d
Allow mkdir-with-children to accept private-key
2024-05-07 14:37:42 -04:00
Christopher R. Wood
b93a39fdc2
Allow POST /uri?t=mkdir to accept private-key
2024-05-04 09:34:43 -04:00
Christopher R. Wood
9c2362853d
Allow supplying keypair when creating mutable dirs
2024-05-03 16:55:38 -04:00
Alexandre Detiste
1504bec5f9
drop dead code
2024-03-11 21:57:36 +01:00
Alexandre Detiste
4da491aeb0
remove more usage of "future"
2024-03-11 21:37:27 +01:00
Itamar Turner-Trauring
09854684e6
Remove another future import.
2024-03-01 13:08:09 -05:00
Itamar Turner-Trauring
a9015cdb5b
Remove another future import.
2024-03-01 13:06:32 -05:00
Itamar Turner-Trauring
6c48698f28
No need for repetition.
2024-03-01 13:00:24 -05:00
Itamar Turner-Trauring
dfdb6c60d0
Fix lints.
2024-03-01 12:17:11 -05:00
Itamar Turner-Trauring
0bbc8f6b5f
Delete Python 2 specific code.
2024-03-01 12:16:40 -05:00
Itamar Turner-Trauring
ddc8e64272
We're just going to assume that in 2024 this is not an issue.
2024-03-01 12:11:54 -05:00
Alexandre Detiste
f47b45ac1a
remove static native_str()
2024-02-28 01:25:06 +01:00
Alexandre Detiste
2243ce3187
remove "from past.builtins import long"
2024-02-28 01:07:08 +01:00
Alexandre Detiste
0e5b6daa38
remove more Python2: unicode -> str, long -> int
2024-02-28 00:53:49 +01:00
Alexandre Detiste
53084f76ce
remove more Python2 compatibility
2024-02-28 00:49:07 +01:00
Itamar Turner-Trauring
3fb0bcfff7
Remove unnecessary imports.
2024-02-27 15:37:53 -05:00
Itamar Turner-Trauring
a32526a2c6
Merge remote-tracking branch 'origin/master' into remove-future
2024-02-27 15:32:31 -05:00
meejah
825e42cdfb
Fix fragile unit-test
2024-02-26 14:49:22 -07:00
Alexandre Detiste
1cfe843d23
more python2 removal
2024-02-23 00:40:25 +01:00
Itamar Turner-Trauring
0f596fb5f4
Merge remote-tracking branch 'origin/master' into 4072-no-more-blocking-part-2
2024-02-21 10:16:07 -05:00
Itamar Turner-Trauring
3afd2dcdc7
Merge pull request #1358 from a-detiste/remove-future
...
remove old Python2 __future__ statements
Fixes ticket:4090
2024-02-21 10:15:34 -05:00
Itamar Turner-Trauring
40963cd3de
Merge pull request #1351 from tahoe-lafs/4082-upgrade-mypy
...
Upgrade to mypy 1.8
2024-02-21 10:14:18 -05:00
meejah
4fb973e1cb
Merge pull request #1354 from tahoe-lafs/4085.dirty-reactor-in-tests
...
Hopefully fix dirty reactor in tests
2024-02-20 21:19:44 +00:00
Itamar Turner-Trauring
09d78b129b
Update line number
2024-02-15 12:56:00 -05:00