Commit Graph

12396 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
b2549d2b1b Merge remote-tracking branch 'origin/master' into 3679.more-cli-tests-python-3 2021-04-30 11:16:10 -04:00
Itamar Turner-Trauring
bab79d13a0
Merge pull request #1045 from tahoe-lafs/3678.cli-tests-python-3
Port allmydata.tests.cli.test_check to Python 3

Fixes ticket:3678
2021-04-30 11:08:55 -04:00
Itamar Turner-Trauring
e56a8cc1f3 Merge branch '3678.cli-tests-python-3' into 3679.more-cli-tests-python-3 2021-04-30 10:20:27 -04:00
Itamar Turner-Trauring
72a85ba624 Fix lint. 2021-04-30 10:19:59 -04:00
Itamar Turner-Trauring
9137da5483 Stick to Unicode when possible. 2021-04-30 10:16:41 -04:00
Itamar Turner-Trauring
1c2ba6b33c
Merge pull request #1043 from tahoe-lafs/3672.non-utf-8-bytes-in-logs
Support logging non-UTF-8 bytes in logs

Fixes ticket:3672
2021-04-28 15:24:17 -04:00
Itamar Turner-Trauring
ef36e0e02a Merge remote-tracking branch 'origin/master' into 3678.cli-tests-python-3 2021-04-28 13:17:37 -04:00
Itamar Turner-Trauring
904b423b48 Merge remote-tracking branch 'origin/master' into 3672.non-utf-8-bytes-in-logs 2021-04-28 13:17:07 -04:00
Sajith Sasidharan
35d7ddcf9c
Merge pull request #1047 from tahoe-lafs/3681.github-actions-use-x86-windows
Use x86 Python for Windows testing

Fixes: ticket: 3681
2021-04-27 18:36:13 -04:00
Sajith Sasidharan
6d1b95b965 GitHub Actions: add more parenthesis
https://github.community/t/and-operator-in-if-condition/154825
suggests that adding more parens might work.
2021-04-27 16:21:22 -04:00
Sajith Sasidharan
3722b8f628 GitHub Actions: quote architecture
Docs for actions/setup-python seem to do that, although
inconsistently.
2021-04-27 15:52:28 -04:00
Sajith Sasidharan
73d3295a6a GitHub Actions: use 64-bit Python 3.6 to test on Windows 2021-04-27 15:49:25 -04:00
Sajith Sasidharan
65398a2d63 GitHub Actions: update note about Windows again 2021-04-26 17:06:34 -04:00
Sajith Sasidharan
1531bea63f GitHub Actions: update note about Windows
[skip ci]
2021-04-26 16:58:24 -04:00
Sajith Sasidharan
e46e4409c2 GitHub Actions: really use x86 Python on Windows
In a prior commit, I mistakenly used "architecture: x64" instead of
"architecture: x86", and tests actually passed.

That was surprising, because netifaces do not have amd64_win will on
PyPI.  But mystery was solved when itamarst pointed out that netifaces
wheel (that we previously built) is present on pip cache.

But pip cache might be purged one day, and tests will fail again that
day.  We can't have that, so we will try to stick with x86 for now.
2021-04-26 16:39:23 -04:00
Sajith Sasidharan
1a05fb21de Name newsfragment correctly 2021-04-26 14:02:26 -04:00
Sajith Sasidharan
68603fc015 GitHub Actions: just use x86 Python to test on Windows
I can't figure out the correct GitHub Actions magic incantation^w^w
expression syntax that is needed to isolate (Windows && Python 2.7),
so let's just run also run x86 Python 3.6 on Windows.
2021-04-26 13:41:17 -04:00
Sajith Sasidharan
dec97b3aa1 GitHub Actions: when in doubt, drop some curly braces 2021-04-26 13:35:37 -04:00
Sajith Sasidharan
ed82119f32 GitHub Actions: when in doubt, throw in more parens 2021-04-26 13:14:28 -04:00
Sajith Sasidharan
106976e8cc GitHub Actions: use expression syntax
Per GitHub documentation:

  When you use expressions in an if conditional, you may omit the
  expression syntax (${{ }}) because GitHub automatically evaluates
  the if conditional as an expression, unless the expression contains
  any operators. If the expression contains any operators, the
  expression must be contained within ${{ }} to explicitly mark it for
  evaluation.

https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions
2021-04-26 12:17:25 -04:00
Sajith Sasidharan
f4b8780ba7 Add newsfragment 2021-04-26 12:00:37 -04:00
Sajith Sasidharan
196ce5103d GitHub Actions: test with 32-bit Python 2.7 on Windows 2021-04-26 12:00:11 -04:00
Sajith Sasidharan
b707a6ca7b GitHub Actions: do not install vcpython27
Microsoft seems to have pulled the compiler download.
2021-04-26 11:36:51 -04:00
Itamar Turner-Trauring
2ad8a47455 Fix flake. 2021-04-26 09:59:18 -04:00
Itamar Turner-Trauring
f424e906ad News file. 2021-04-26 09:54:58 -04:00
Itamar Turner-Trauring
04a09558b6 Port to Python 3. 2021-04-26 09:54:35 -04:00
Itamar Turner-Trauring
eb5211672c Tests pass on Python 3. 2021-04-26 09:46:21 -04:00
Jason R. Coombs
6142168977
Merge pull request #1038 from tahoe-lafs/3652.remove-account.url
3652 Remove STFPd account.url support.
2021-04-23 10:21:53 -04:00
Itamar Turner-Trauring
b85d735b8b Even more progress towards Python 3 tests passing. 2021-04-22 10:43:55 -04:00
Itamar Turner-Trauring
56e4385103 More progress towards Python 3 tests passing. 2021-04-22 10:36:10 -04:00
Itamar Turner-Trauring
5927e14ece Merge branch '3678.cli-tests-python-3' into 3679.more-cli-tests-python-3 2021-04-22 10:28:26 -04:00
Itamar Turner-Trauring
a393b54315 Fix BytesWarning errors. 2021-04-22 10:27:59 -04:00
Itamar Turner-Trauring
b675ca2380 Lint fix. 2021-04-22 10:23:58 -04:00
Itamar Turner-Trauring
2aac69e0df More passing tests on Python 3. 2021-04-22 10:20:26 -04:00
Itamar Turner-Trauring
416813578a Some progress towards passing tests on Python 3. 2021-04-22 10:18:59 -04:00
Itamar Turner-Trauring
86fe350bef Tests pass on Python 2. 2021-04-22 10:15:43 -04:00
Itamar Turner-Trauring
567c0f019e Test random bytes. 2021-04-22 09:39:50 -04:00
Itamar Turner-Trauring
5ebb385c10 Port to Python 3. 2021-04-21 11:58:48 -04:00
Itamar Turner-Trauring
87f1620ab0 News file. 2021-04-21 11:42:23 -04:00
Itamar Turner-Trauring
f6e0611b07 All tests pass on Python 3. 2021-04-21 11:42:05 -04:00
Itamar Turner-Trauring
5e59b9d8d6 A little closer to passing tests on Python 3. 2021-04-21 11:32:42 -04:00
Itamar Turner-Trauring
83e16d40a4 Some tests passing on Python 3. 2021-04-21 11:18:36 -04:00
Itamar Turner-Trauring
e090891935 In PyPy encode() doesn't call iterencode(). 2021-04-21 10:39:27 -04:00
Itamar Turner-Trauring
08cb514eee Correct parameter name. 2021-04-21 10:09:26 -04:00
Itamar Turner-Trauring
6e8dde3b14 Simplify. 2021-04-21 10:09:03 -04:00
Itamar Turner-Trauring
4a10a2171d
Merge pull request #1044 from tahoe-lafs/3619.byteswarning-exceptions-in-integration-tests
Enable BytesWarning exceptions in integration tests

Fixes ticket:3619
2021-04-21 09:51:56 -04:00
Jason R. Coombs
72a370992f Remove ToC entry for account server. 2021-04-17 18:24:22 -04:00
Jason R. Coombs
1b46f981c6 Remove AccountURLChecker, the code that relies on it, associated tests, and docs. 2021-04-17 17:01:15 -04:00
Itamar Turner-Trauring
abb247b3cc Fix flake. 2021-04-16 12:01:07 -04:00
Itamar Turner-Trauring
08772c5a86 News file. 2021-04-16 11:58:55 -04:00