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
Itamar Turner-Trauring
fa46efdb3a
Enable BytesWarnings in integration tests.
2021-04-16 11:58:37 -04:00
Itamar Turner-Trauring
61506f87bb
Make BytesWarning->exception global, to ease use in integration tests.
2021-04-16 11:55:20 -04:00
Itamar Turner-Trauring
bc9e4ac728
Support quoting any-old-bytes correctly on Python 2.
2021-04-16 11:36:53 -04:00
Itamar Turner-Trauring
51ebbae15a
Fix typo.
2021-04-16 11:21:47 -04:00
Itamar Turner-Trauring
19a3481e5f
Merge pull request #1042 from tahoe-lafs/3626.streaming-logs-with-bytes
...
Handle bytes in log messages streamed over websocket
Fixes ticket:3626
2021-04-16 11:21:28 -04:00
Itamar Turner-Trauring
31e64d2211
Merge pull request #1040 from tahoe-lafs/3675.byteswarning-as-error-again
...
Make byteswarning an error in Python 3 tests again
Fixes ticket:3675
2021-04-16 11:20:18 -04:00
Itamar Turner-Trauring
d60bc2841a
Oh right, Python 2 Eliot doesn't support custom JSON encoders.
2021-04-14 11:19:04 -04:00
Itamar Turner-Trauring
32607b5ada
For logging, using a new JSON bytes encoder that works on any bytes string, not
...
just UTF-8-encoded strings.
2021-04-14 10:42:01 -04:00
Itamar Turner-Trauring
1abf944dd2
News file.
2021-04-14 10:38:57 -04:00
Itamar Turner-Trauring
e242bf50c7
Handle bytes in log messages.
2021-04-14 09:56:27 -04:00
May-Lee Sia
ff0f00fb04
Merge pull request #1032 from tahoe-lafs/dev-guide-ticket-triage
...
3659 Add ticket triage role to dev guide
2021-04-13 16:35:29 +02:00
May-Lee Sia
e386a1e705
Add newsfragment description and edit details
2021-04-13 16:01:50 +02:00
Itamar Turner-Trauring
953c06a18d
Fix some plain-str()-of-bytes bugs.
2021-04-13 09:53:08 -04:00