Commit Graph

14934 Commits

Author SHA1 Message Date
a0302c50da Fix a BytesWarning. 2021-04-12 10:25:15 -04:00
2554112045 Handle Python 3 case where stdout by default is Unicode. 2021-04-12 10:17:12 -04:00
e6532305bf Match Python 3 behavior for stdout/stderr. 2021-04-12 10:17:01 -04:00
8512bdcd8d Even more progress towards passing Python 3 tests. 2021-04-12 09:51:53 -04:00
069fcb91eb More progress towards passing Python 3 tests. 2021-04-12 09:35:34 -04:00
06c4ed13b7 Some progress towards passing Python 3 tests. 2021-04-12 09:28:51 -04:00
d6406d5edb Some progress towards passing backup tests on Python 3. 2021-04-07 10:44:48 -04:00
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
9a17c4a5d2 Port to Python 3. 2021-04-07 09:28:04 -04:00
803e00f6b1 Tests pass on Python 3. 2021-04-07 09:26:28 -04:00
47c8ce3590 News file 2021-04-07 09:20:28 -04:00
6f74bb7d88 Merge remote-tracking branch 'origin/master' into 3671.more-test-utilities-python-3 2021-04-07 09:11:31 -04:00
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
ddcca38f31 Port to Python 3. 2021-04-06 10:51:14 -04:00
315bb672d1 Port to Python 3. 2021-04-06 10:49:00 -04:00
3429f8bf03 Port to Python 3. 2021-04-06 10:45:58 -04:00
2257f89d39 More semantically robust test. 2021-04-06 10:45:44 -04:00
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
bb84442f4e News file. 2021-04-06 10:29:46 -04:00
044c79c4db Port to Python 3. 2021-04-06 10:29:29 -04:00
ae7680759d Another checker script. 2021-04-06 10:22:47 -04:00
abe3fbc2e5 Empty file. 2021-04-06 10:22:30 -04:00
7f4a99306b No need to port to Python 3. 2021-04-06 10:04:18 -04:00
1893f12cb0 Merge branch '3667.test-utilities-python-3' into 3671.more-test-utilities-python-3 2021-04-06 10:01:26 -04:00
203d539b2b Merge remote-tracking branch 'origin/master' into 3657.util-python-3 2021-04-06 09:59:42 -04:00
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
0bec3701f9 Merge remote-tracking branch 'origin/master' into 3657.util-python-3 2021-04-06 09:52:55 -04:00
4c26c4cc6e Merge branch '3670.work-with-new-towncrier' into 3667.test-utilities-python-3 2021-04-06 09:51:47 -04:00
bb3e80c146 News file. 2021-04-06 09:42:01 -04:00
7ff5846b85 New towncrier has different command-line option. 2021-04-06 09:41:33 -04:00
7a6d9c69e6 Merge remote-tracking branch 'origin/master' into 3667.test-utilities-python-3 2021-04-06 09:26:23 -04:00
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
3841662ee6 Fix tests on Python 3. 2021-04-06 09:23:31 -04:00
8056b43df6 News file. 2021-04-06 09:21:14 -04:00
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
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
5f7c6e4552 Remove Windows exclusion 2021-04-05 18:34:48 -04:00
1cddae4133 Add newsfragment 2021-04-05 18:34:33 -04:00
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
99d706e8a4 Merge 'origin/master' into 3616.py36-on-github-actions 2021-04-05 15:05:44 -04:00
65fd5a4912 Add a note about adding Windows to GitHub Actions test matrix 2021-04-05 14:52:31 -04:00
7b5cb13417 Flake fix. 2021-04-05 13:02:17 -04:00
57aa798814 Delete another item that was deleted. 2021-04-05 13:01:23 -04:00
3bc9b0d544 Port to Python 3. 2021-04-05 13:00:27 -04:00
74e9bdd476 No point in having separate module. 2021-04-05 12:56:42 -04:00
a11b47785f Port to Python 3. 2021-04-05 12:52:42 -04:00
a367d333d9 Port to Python 3. 2021-04-05 12:04:09 -04:00
625a0abb02 Port to Python 3. 2021-04-05 11:37:32 -04:00
a37121f89c Already ported. 2021-04-05 11:34:51 -04:00
84e32882b4 These don't belong in tests module. 2021-04-05 11:30:33 -04:00