Commit Graph

11632 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
f62b6d83c2 Merge branch '3590.error-in-integration-test' into 3596.test-web-python-3-even-more 2021-01-21 14:01:54 -05:00
Itamar Turner-Trauring
411ee141e9 Fix location for news fragment. 2021-01-21 13:55:51 -05:00
Itamar Turner-Trauring
23e52b1237 Simplify the unit test. 2021-01-21 09:58:58 -05:00
Itamar Turner-Trauring
f8e548dc92
Merge pull request #966 from tahoe-lafs/3589.more-web-tests-python-3
Port more web tests to Python 3

Fixes ticket:3589
2021-01-20 13:38:22 -05:00
Sajith Sasidharan
73299d253e
Merge pull request #967 from sajith/3591.use-pip-cache-in-github-actions
Use pip cache in GitHub Actions

Fixes: ticket:3591
2021-01-20 09:57:37 -05:00
Itamar Turner-Trauring
53243540cc News file. 2021-01-19 17:15:58 -05:00
Itamar Turner-Trauring
7d2aa50894 when_done is bad, at least here. 2021-01-19 17:15:07 -05:00
Itamar Turner-Trauring
e91d37e64b Fix unit test so it's actually testing the real bug. 2021-01-19 17:13:52 -05:00
meejah
3061e9f913
Merge pull request #942 from meejah/2920.checklist-error
2920 signatures are detached
2021-01-19 12:48:56 -07:00
Itamar Turner-Trauring
6979cfa205 Fix the redirect 'str has no render' bug. 2021-01-19 14:28:00 -05:00
Itamar Turner-Trauring
3166545509 Unit test reproducing the bug in the integration test. 2021-01-19 13:52:12 -05:00
meejah
5dd7aa2dfd news 2021-01-19 11:25:09 -07:00
Itamar Turner-Trauring
1725e99821 Merge remote-tracking branch 'origin/3589.more-web-tests-python-3' into 3590.error-in-integration-test 2021-01-19 11:47:50 -05:00
Itamar Turner-Trauring
afcae42fd6 Notice that there's an error on the server, rather than continuing silently. 2021-01-19 11:47:23 -05:00
Itamar Turner-Trauring
2de76cd82d
Merge branch 'master' into 3589.more-web-tests-python-3 2021-01-19 11:44:27 -05:00
Sajith Sasidharan
ed92202762 Updates comments about GitHub cache action 2021-01-18 17:55:07 -05:00
Sajith Sasidharan
9e4ea0c491 Use fetch-depth of 0 with GitHub Actions
Using a fetch-depth of 0 should have the same effect as as `git fetch
--prune --unshallow` after doing a shallow checkout.
2021-01-18 17:54:17 -05:00
Sajith Sasidharan
99cca0ea8e No need of upgrading pip on GitHub Actions 2021-01-18 13:38:09 -05:00
Sajith Sasidharan
adbe23fe7a Add a note about pip version on GitHub Actions 2021-01-18 13:34:25 -05:00
Sajith Sasidharan
2a1a5cb0a5 GitHub Actions have sufficiently recent pip
At the time of writing this commit message, GitHub Actions offers pip
v20.3.3 for both ubuntu-latest and windows-latest, and pip v20.3.1 for
macos-latest.  Those are sufficiently recent pip versions that have
"cache dir" sub-command.
2021-01-18 13:32:53 -05:00
Sajith Sasidharan
1f1a30095e Get pip version for all three GitHub Actions OSes 2021-01-18 13:22:04 -05:00
Sajith Sasidharan
8bf068f991 What's the pip version on GitHub Actions?
There's no need of upgrading pip if GA offers a sufficiently new pip.
2021-01-18 13:19:33 -05:00
Sajith Sasidharan
f731159cd7 Install Python packages after setting up pip cache 2021-01-18 13:13:32 -05:00
Sajith Sasidharan
573ab8768b Re-title "use pip cache" step in GitHub Actions 2021-01-18 11:08:56 -05:00
Sajith Sasidharan
27a122088c Use pip cache on GitHub Actions
Using the method outlined in https://github.com/actions/cache/blob/main/examples.md#using-pip-to-get-cache-location
2021-01-18 11:02:55 -05:00
Sajith Sasidharan
fa1a8e8371 Upgrade pip used in GitHub Actions
From pip 20.1+ onward, "pip cache dir" can be used to find location of
pip cache, and this is useful across all three major OSes supported by
GitHub Actions.
2021-01-18 10:58:12 -05:00
Sajith Sasidharan
621de4d882 Add newsfragment 2021-01-18 10:55:18 -05:00
Jean-Paul Calderone
cd06f1c902
Merge pull request #915 from tahoe-lafs/3399.mypy
Add Mypy support and CI configuration

Fixes: ticket:3399
2021-01-15 16:00:57 -05:00
Jason R. Coombs
c7a4cdb44d Rely on main branch of foolscap for typechecks. 2021-01-15 15:25:07 -05:00
Jean-Paul Calderone
a01078ddec Switch to one of our Docker images for typecheck CI 2021-01-15 15:00:57 -05:00
Jason R. Coombs
7d468cde19 Merge branch 'master' into 3399.mypy 2021-01-15 11:17:47 -05:00
Itamar Turner-Trauring
42b31a2809 Fix flake. 2021-01-14 15:58:18 -05:00
Itamar Turner-Trauring
a2dab7c89f Only do this on Python 3. 2021-01-14 09:40:10 -05:00
Itamar Turner-Trauring
60acad32ca Merge remote-tracking branch 'origin/master' into 3589.more-web-tests-python-3 2021-01-14 09:39:18 -05:00
Itamar Turner-Trauring
c5669e16e0 Fix flake. 2021-01-13 09:56:08 -05:00
Itamar Turner-Trauring
aace119790 Fix Python 3 issue with combining bytes and unicode. 2021-01-13 09:55:54 -05:00
Itamar Turner-Trauring
6b0849490a News file. 2021-01-12 14:40:46 -05:00
Itamar Turner-Trauring
5d77282784 Ported to Python 3. 2021-01-12 14:40:33 -05:00
Itamar Turner-Trauring
7a3e9ab43e Tests pass on Python 3. 2021-01-12 14:39:20 -05:00
Itamar Turner-Trauring
03fb936716 Port to Python 3. 2021-01-12 14:25:16 -05:00
Itamar Turner-Trauring
4940da47da Tests pass on Python 3. 2021-01-12 14:24:17 -05:00
Itamar Turner-Trauring
c076e1ee26 Just fix all the putChild. 2021-01-12 14:24:11 -05:00
Itamar Turner-Trauring
8c41f60fdb Port to Python 3. 2021-01-12 14:17:38 -05:00
Itamar Turner-Trauring
bd364feec5 Tests pass on Python 3. 2021-01-12 14:14:52 -05:00
Itamar Turner-Trauring
1ad9e365c3
Merge pull request #947 from tahoe-lafs/3576.port-unknown
Port unknown to Python 3

Fixes ticket:3576
2021-01-12 14:01:16 -05:00
Itamar Turner-Trauring
7e5e329138 Port to Python 3. 2021-01-12 11:44:27 -05:00
Itamar Turner-Trauring
c2d69c5309 Merge all log tests into one test module. 2021-01-12 11:41:19 -05:00
Itamar Turner-Trauring
d99c94753c On Python 3 we need to make sure bytes get written to the websocket. 2021-01-12 11:38:37 -05:00
Itamar Turner-Trauring
116c59142d Port to Python 3. 2021-01-12 11:26:43 -05:00
Itamar Turner-Trauring
f717250ecd Merge remote-tracking branch 'origin/master' into 3576.port-unknown 2021-01-12 11:07:15 -05:00