Commit Graph

12306 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
b0e6c86085 Better error messages. 2021-04-13 09:21:26 -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
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
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
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
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
Sajith Sasidharan
99d706e8a4 Merge 'origin/master' into 3616.py36-on-github-actions 2021-04-05 15:05:44 -04:00
Sajith Sasidharan
65fd5a4912 Add a note about adding Windows to GitHub Actions test matrix 2021-04-05 14:52:31 -04:00
Itamar Turner-Trauring
7b5cb13417 Flake fix. 2021-04-05 13:02:17 -04:00
Itamar Turner-Trauring
57aa798814 Delete another item that was deleted. 2021-04-05 13:01:23 -04:00
Itamar Turner-Trauring
3bc9b0d544 Port to Python 3. 2021-04-05 13:00:27 -04:00
Itamar Turner-Trauring
74e9bdd476 No point in having separate module. 2021-04-05 12:56:42 -04:00
Itamar Turner-Trauring
a11b47785f Port to Python 3. 2021-04-05 12:52:42 -04:00
Itamar Turner-Trauring
a367d333d9 Port to Python 3. 2021-04-05 12:04:09 -04:00
Itamar Turner-Trauring
625a0abb02 Port to Python 3. 2021-04-05 11:37:32 -04:00
Itamar Turner-Trauring
a37121f89c Already ported. 2021-04-05 11:34:51 -04:00
Itamar Turner-Trauring
84e32882b4 These don't belong in tests module. 2021-04-05 11:30:33 -04:00
Itamar Turner-Trauring
80385aea8e Port to Python 3. 2021-04-05 11:29:13 -04:00
Itamar Turner-Trauring
eedc8f23cf Delete some unused code. 2021-04-05 11:28:59 -04:00
Itamar Turner-Trauring
b981e90de3 Tahoe-LAFS now relies on a sufficiently new version of Twisted, which includes this bugfix. 2021-04-05 11:28:59 -04:00
Itamar Turner-Trauring
e074034e8f News file. 2021-04-05 10:24:04 -04:00
Jean-Paul Calderone
b5f214af00
Merge pull request #1011 from LeastAuthority/3645.gbs-expanded-motivation
Add expanded motivation for GBS

Fixes: ticket:3645
2021-04-04 16:36:29 -04:00
Sajith Sasidharan
351146e91f
Merge pull request #1029 from tahoe-lafs/3664.towncrier-category-for-docs
Add a towncrier category for documentation changes

Fixes: ticket:3664
2021-04-03 07:47:28 -04:00
Jean-Paul Calderone
37fe06da76 Merge remote-tracking branch 'origin/master' into 3645.gbs-expanded-motivation 2021-04-03 07:44:58 -04:00
Sajith Sasidharan
cf04f277db
Merge pull request #1028 from tahoe-lafs/3663.sphinx-autobuild-make-rule
Add a "make livehtml" rule for building documentation

Fixes: ticket:3663
2021-04-03 07:43:30 -04:00
Sajith Sasidharan
0d2f282524 Give documentation its own towncrier category 2021-04-02 18:19:33 -04:00