Commit Graph

12334 Commits

Author SHA1 Message Date
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
4ea1f153cc
Merge pull request #1039 from tahoe-lafs/3674.cli-tests-python-3
Port a bit more cli tests python 3

Fixes ticket:3674
2021-04-13 09:39:13 -04:00
May-Lee Sia
8cbff377e3 Merge branch 'master' into dev-guide-ticket-triage 2021-04-13 15:30:25 +02:00
Itamar Turner-Trauring
b0e6c86085 Better error messages. 2021-04-13 09:21:26 -04:00
Sajith Sasidharan
964a637156
Merge pull request #1033 from tahoe-lafs/3666.sphinx-warnings-are-errors
Turn sphinx-build's warnings into errors

Fixes: ticket:3666
2021-04-12 21:44:19 -04:00
Itamar Turner-Trauring
43620a3c19 Port to Python 3. 2021-04-12 12:53:17 -04:00
Itamar Turner-Trauring
c3d2a26ee5 Remove unused imports. 2021-04-12 10:27:00 -04:00
Itamar Turner-Trauring
a0302c50da Fix a BytesWarning. 2021-04-12 10:25:15 -04:00
Itamar Turner-Trauring
2554112045 Handle Python 3 case where stdout by default is Unicode. 2021-04-12 10:17:12 -04:00
Itamar Turner-Trauring
e6532305bf Match Python 3 behavior for stdout/stderr. 2021-04-12 10:17:01 -04:00
Itamar Turner-Trauring
8512bdcd8d Even more progress towards passing Python 3 tests. 2021-04-12 09:51:53 -04:00
Itamar Turner-Trauring
069fcb91eb More progress towards passing Python 3 tests. 2021-04-12 09:35:34 -04:00
Itamar Turner-Trauring
06c4ed13b7 Some progress towards passing Python 3 tests. 2021-04-12 09:28:51 -04:00
Itamar Turner-Trauring
d6406d5edb Some progress towards passing backup tests on Python 3. 2021-04-07 10:44:48 -04:00
Itamar Turner-Trauring
8b4e92e1d7
Merge pull request #1037 from tahoe-lafs/3671.more-test-utilities-python-3
Port even more test utilities to Python 3

Fixes ticket:3671
2021-04-07 09:36:40 -04:00
Itamar Turner-Trauring
9a17c4a5d2 Port to Python 3. 2021-04-07 09:28:04 -04:00
Itamar Turner-Trauring
803e00f6b1 Tests pass on Python 3. 2021-04-07 09:26:28 -04:00
Itamar Turner-Trauring
47c8ce3590 News file 2021-04-07 09:20:28 -04:00
Itamar Turner-Trauring
6f74bb7d88 Merge remote-tracking branch 'origin/master' into 3671.more-test-utilities-python-3 2021-04-07 09:11:31 -04:00
Itamar Turner-Trauring
01f75db2da
Merge pull request #1034 from tahoe-lafs/3667.test-utilities-python-3
Port more of allmydata.test utility modules to Python 3

Fixes ticket:3667
2021-04-07 09:10:46 -04:00
Itamar Turner-Trauring
ddcca38f31 Port to Python 3. 2021-04-06 10:51:14 -04:00
Itamar Turner-Trauring
315bb672d1 Port to Python 3. 2021-04-06 10:49:00 -04:00
Itamar Turner-Trauring
3429f8bf03 Port to Python 3. 2021-04-06 10:45:58 -04:00
Itamar Turner-Trauring
2257f89d39 More semantically robust test. 2021-04-06 10:45:44 -04:00
Itamar Turner-Trauring
1336d15c92
Merge pull request #1026 from tahoe-lafs/3657.util-python-3
Port the rest of allmydata.util to Python 3

Fixes ticket:3657
2021-04-06 10:30:30 -04:00
Itamar Turner-Trauring
bb84442f4e News file. 2021-04-06 10:29:46 -04:00
Itamar Turner-Trauring
044c79c4db Port to Python 3. 2021-04-06 10:29:29 -04:00
Itamar Turner-Trauring
ae7680759d Another checker script. 2021-04-06 10:22:47 -04:00
Itamar Turner-Trauring
abe3fbc2e5 Empty file. 2021-04-06 10:22:30 -04:00
Itamar Turner-Trauring
7f4a99306b No need to port to Python 3. 2021-04-06 10:04:18 -04:00
Itamar Turner-Trauring
1893f12cb0 Merge branch '3667.test-utilities-python-3' into 3671.more-test-utilities-python-3 2021-04-06 10:01:26 -04:00
Itamar Turner-Trauring
203d539b2b Merge remote-tracking branch 'origin/master' into 3657.util-python-3 2021-04-06 09:59:42 -04:00
Itamar Turner-Trauring
4965ecc044
Merge pull request #1036 from tahoe-lafs/3670.work-with-new-towncrier
Make tox codechecks work with new towncrier

Fixes ticket:3670
2021-04-06 09:59:31 -04:00
Itamar Turner-Trauring
0bec3701f9 Merge remote-tracking branch 'origin/master' into 3657.util-python-3 2021-04-06 09:52:55 -04:00
Itamar Turner-Trauring
4c26c4cc6e Merge branch '3670.work-with-new-towncrier' into 3667.test-utilities-python-3 2021-04-06 09:51:47 -04:00
Itamar Turner-Trauring
bb3e80c146 News file. 2021-04-06 09:42:01 -04:00
Itamar Turner-Trauring
7ff5846b85 New towncrier has different command-line option. 2021-04-06 09:41:33 -04:00
Itamar Turner-Trauring
7a6d9c69e6 Merge remote-tracking branch 'origin/master' into 3667.test-utilities-python-3 2021-04-06 09:26:23 -04:00
Itamar Turner-Trauring
42a419c00e
Merge pull request #1035 from tahoe-lafs/3669.py36-windows-github-actions
Run tests with Python 3.6 and Windows on GitHub Actions

Fixes ticket:3669
2021-04-06 09:25:57 -04:00
Itamar Turner-Trauring
3841662ee6 Fix tests on Python 3. 2021-04-06 09:23:31 -04:00
Itamar Turner-Trauring
8056b43df6 News file. 2021-04-06 09:21:14 -04:00
Sajith Sasidharan
ae6e1e9e2f Use io.open() instead of builtin open()
Windows does not like when we open README.rst using builtin open():

  Traceback (most recent call last):
    File "setup.py", line 360, in <module>
      long_description=open('README.rst', 'rU').read(),
    File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\encodings\cp1252.py", line 23, in decode
      return codecs.charmap_decode(input,self.errors,decoding_table)[0]
  UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1720: character maps to <undefined>
2021-04-05 19:11:58 -04:00
Sajith Sasidharan
d9446f9f06 Remove deprecated U mode from open() call
Under the right conditions (with newer Python 3.x versions), we will
see this warning:

    setup.py:360: DeprecationWarning: 'U' mode is deprecated

`U` is for `universal newline mode`.  Docs for open() says this:

    'U' mode is deprecated and will raise an exception in future versions
    of Python.  It has no effect in Python 3.  Use newline to control
    universal newlines mode.

Off it goes.
2021-04-05 18:57:47 -04:00
Sajith Sasidharan
5f7c6e4552 Remove Windows exclusion 2021-04-05 18:34:48 -04:00
Sajith Sasidharan
1cddae4133 Add newsfragment 2021-04-05 18:34:33 -04:00
Sajith Sasidharan
8073f3e65c
Merge pull request #1025 from tahoe-lafs/3616.py36-on-github-actions
Run coverage tests with Python 3.6 on GitHub Actions

Fixes ticket:3616
2021-04-05 18:19:59 -04:00