Commit Graph

12411 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
02edef01a9 News file. 2021-05-03 11:15:24 -04:00
Itamar Turner-Trauring
a7d4fed1ba Port to Python 3. 2021-05-03 11:15:10 -04:00
Itamar Turner-Trauring
9dcfa2171e Tests pass on Python 3. 2021-05-03 11:13:27 -04:00
Itamar Turner-Trauring
2b751c44db Port to Python 3. 2021-05-03 11:10:54 -04:00
Itamar Turner-Trauring
c275f9ae54 Tests pass on Python 3. 2021-05-03 10:47:30 -04:00
Itamar Turner-Trauring
f1128bfd2e Merge remote-tracking branch 'origin/master' into 3687.cli-tests-python-3 2021-05-03 10:28:31 -04:00
Itamar Turner-Trauring
99543877d6 Fix flake. 2021-05-03 10:27:43 -04:00
Itamar Turner-Trauring
b3ede6b9f2 Nicer way to say the same thing. 2021-05-03 10:25:48 -04:00
Itamar Turner-Trauring
f6b5628ce1 Port to Python 3. 2021-04-30 11:33:51 -04:00
Itamar Turner-Trauring
463f9fe802 Tests pass on Python 3. 2021-04-30 11:31:25 -04:00
Itamar Turner-Trauring
4eb9be1996 News file. 2021-04-30 11:17:09 -04:00
Itamar Turner-Trauring
da8e0d61aa Port to Python 3. 2021-04-30 11:15:48 -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
3846df8e4f All test_create_alias tests pass on Python 3. 2021-04-30 11:06:31 -04:00
Itamar Turner-Trauring
46c03f6b75 Remove duplication, and add support for testing cases where stdin/stdout/stderr
have to be bytes.
2021-04-30 11:05:56 -04:00
Itamar Turner-Trauring
2f6535e26e First test passes on Python 3. 2021-04-30 10:33:59 -04:00
Itamar Turner-Trauring
e48d85dd8b Merge branch '3679.more-cli-tests-python-3' into 3687.cli-tests-python-3 2021-04-30 10:22:47 -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