Commit Graph

11955 Commits

Author SHA1 Message Date
Jason R. Coombs
6118d1a2d2 Remove runner from ported modules. 2021-02-15 14:39:27 -05:00
Jason R. Coombs
d02334bfd5 Rely on futurize to expose the moved modules. 2021-02-15 14:13:59 -05:00
Jason R. Coombs
09f3e3f6b5 Remove comment, superseded by docstring. 2021-02-15 13:26:20 -05:00
Jason R. Coombs
0de90fda3f Merge commit '2fb603e60' into 3603.scripts 2021-02-15 13:10:35 -05:00
Jason R. Coombs
2fb603e603 Rewrite doctest to pass on Python 2+3. 2021-02-15 13:10:21 -05:00
Jason R. Coombs
ebbe645cb6 Use explicit unicode literal for docstring. Now test passes on Python 2 when ALLOW_BYTES is indicated. 2021-02-15 13:06:42 -05:00
Jason R. Coombs
4cb8c420d3 Manually reviewed test_runner (no legacy map, filter, or keys found). Added docstring to tag module as fully ported. 2021-02-15 12:49:20 -05:00
Jason R. Coombs
746e1b2664 Fix test failures on Python 2 by wrapping cli calls in unicode_to_argv. 2021-02-15 12:47:26 -05:00
Jason R. Coombs
d59d64d6bd Fully port test_runner. Introduces three new errors on Python 2. 2021-02-15 12:38:37 -05:00
Jason R. Coombs
2dc0a55d5d Truncate newsfragment 2021-02-15 12:18:10 -05:00
Jason R. Coombs
3c93605ead Add docstring to types_. 2021-02-15 12:15:41 -05:00
Jason R. Coombs
30f5c71a49 Encode expected message. Fixes remaining test failures in test_runner. 2021-02-15 09:36:07 -05:00
Jason R. Coombs
f183be9d6a Decode config file on read and expect bytes in the stdout. Fixes an additional test on Python 3. 2021-02-15 09:33:54 -05:00
Jason R. Coombs
3acad6544e Decode config file on read and expect bytes in the stdout. Fixes an additional test on Python 3. 2021-02-15 09:28:14 -05:00
Jason R. Coombs
dc883c0440 Decode config file on read. Fixes two test failures on Python 3. 2021-02-15 09:24:16 -05:00
Jason R. Coombs
eefb7004c9 Add test_runner to the ported test modules. Selectively decode sys.argv on Python 2 only. Fixes 6 test failures on Python 3. 2021-02-15 09:20:45 -05:00
Jason R. Coombs
7ed3d9597e Add newsfragment 2021-02-12 16:17:44 -05:00
Jason R. Coombs
df137cca0a Merge branch 'master' into 3603.scripts 2021-02-12 16:08:31 -05:00
Jean-Paul Calderone
33d566ec87
Merge pull request #965 from LeastAuthority/3581.unicode_to_argv.1
Remove unicode_to_argv, argv_to_unicode and weird unicode mangling

Fixes: ticket:3581
2021-02-12 13:29:40 -05:00
Jean-Paul Calderone
a3be55a129
Merge pull request #956 from LeastAuthority/3385.coveralls-for-coverage-reports
Use coveralls for coverage reports

Fixes: ticket:3385
2021-02-12 13:28:08 -05:00
Jean-Paul Calderone
11e1fabbe4 Change the platform check to one mypy can recognize :/ 2021-02-12 13:10:31 -05:00
Jean-Paul Calderone
8ffb083d38 Merge remote-tracking branch 'origin/master' into 3581.unicode_to_argv.1 2021-02-12 13:08:51 -05:00
Jean-Paul Calderone
7864330562 Merge remote-tracking branch 'origin/master' into 3385.coveralls-for-coverage-reports 2021-02-12 12:58:49 -05:00
Jean-Paul Calderone
0b45c2592d
Merge pull request #973 from LeastAuthority/3600.eliotutil-vs-skips
Fix the per-test Eliot decoration to interact better with testtools skips

Fixes: ticket:3600
2021-02-12 12:10:37 -05:00
Jean-Paul Calderone
3693453ecb
Merge pull request #981 from tahoe-lafs/3612.disable-build-depgraph
Disable building depgraph in CI

Fixes: ticket:3612
2021-02-12 11:54:59 -05:00
Itamar Turner-Trauring
66b5a1577a News file. 2021-02-12 10:23:20 -05:00
Itamar Turner-Trauring
5aa452c8bb Drop build-porting-depgraph step. 2021-02-12 10:23:07 -05:00
Jean-Paul Calderone
585c554081 Clarify _TwoLoggers 2021-02-12 10:22:17 -05:00
Jean-Paul Calderone
9a9b4bb232 Use a monkey patching library for monkey patching 2021-02-12 10:14:23 -05:00
Jean-Paul Calderone
ff25ee3f71 Merge remote-tracking branch 'origin/master' into 3600.eliotutil-vs-skips 2021-02-12 10:07:44 -05:00
Jean-Paul Calderone
27e223aba8
Merge pull request #980 from tahoe-lafs/3326.debian-8-to-10
Replace Debian 8 with Debian 10

Fixes: ticket:3326
2021-02-12 10:03:01 -05:00
Jean-Paul Calderone
9ad4d31d9d
Merge pull request #968 from LeastAuthority/3592.convergence-hasher-tag-tests
convergence hasher tag tests

Fixes: ticket:3592
2021-02-11 16:25:41 -05:00
Jean-Paul Calderone
a8b1c204d2 Mark the expected result literal as the correct type, bytes 2021-02-11 16:06:18 -05:00
Jean-Paul Calderone
7f22441423 Change Debian 8 to Debian 10 for CI 2021-02-11 15:59:51 -05:00
Jean-Paul Calderone
451ede2666 news fragment 2021-02-11 15:58:28 -05:00
Jean-Paul Calderone
5568170c24 Slightly better docs for the share count limits on convergence hash tag 2021-02-11 15:46:04 -05:00
Itamar Turner-Trauring
e5806301d3
Merge pull request #976 from tahoe-lafs/3596.test-web-python-3-even-more
Port test_web.py to Python 3

Fixes ticket:3596
2021-02-10 14:21:22 -05:00
Jean-Paul Calderone
9b2a9e14ae Re-add the check so we still get early failure if this ever happens 2021-02-09 21:21:31 -05:00
Jean-Paul Calderone
3beacc9c8f Merge remote-tracking branch 'origin/master' into 3581.unicode_to_argv.1 2021-02-09 21:18:58 -05:00
Jean-Paul Calderone
845e33061e
Merge pull request #964 from LeastAuthority/3588.use-pywin32-more
Use pywin32 more

Fixes: ticket:3588
2021-02-09 21:15:34 -05:00
Jean-Paul Calderone
28acc5ccb4 Duplicate the fix for the other Windows-only module 2021-02-09 14:50:29 -05:00
Jean-Paul Calderone
b26652cad1 Try to get Mypy to recognize it this way? 2021-02-09 14:36:19 -05:00
Jean-Paul Calderone
27fcfe94dd The code is 3-clause BSD licensed now. 2021-02-09 10:24:46 -05:00
Jean-Paul Calderone
541d7043d7 Some comments about unicode handling in this UnicodeOutput thing 2021-02-09 10:20:14 -05:00
Jean-Paul Calderone
ddcb43561d Try to convince Mypy it's okay 2021-02-08 19:49:02 -05:00
Jean-Paul Calderone
ab57746a85
Merge pull request #969 from LeastAuthority/3593.get_encryption_key-test
Add FileHandle.get_encryption_key test

Fixes: ticket:3593
2021-02-07 07:41:44 -05:00
Itamar Turner-Trauring
cb99b27b78 Nothing to see here, move along. 2021-02-03 10:21:41 -05:00
Itamar Turner-Trauring
92058e04b9 Make sure typechecks run under Python 3. 2021-02-03 10:19:41 -05:00
Itamar Turner-Trauring
2595e25258 Improve coverage, specifically of values that are bytes. 2021-02-03 10:16:34 -05:00
Itamar Turner-Trauring
a1add9a512 Clarify. 2021-02-03 10:13:19 -05:00