Commit Graph

12272 Commits

Author SHA1 Message Date
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
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
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
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
Sajith Sasidharan
c13fb8d7ef Add a make rule to invoke sphinx-autobuild when building docs 2021-04-02 17:27:32 -04:00
Sajith Sasidharan
1c3b1d0d27 Add newsfragment 2021-04-02 17:25:46 -04:00
Itamar Turner-Trauring
b6528249fb
Merge pull request #1027 from tahoe-lafs/3662.pin-decorator
Pin decorator.

Fixes ticket:3662
2021-04-02 13:01:04 -04:00
Sajith Sasidharan
add2be1b44 Pin decorator
CI broke when decorator 5.0.1 (a dependency via pytest-twisted) with
dropped Python 2.7 compatibility was released.
2021-04-02 10:24:43 -04:00
Jean-Paul Calderone
89e1865f78 Forget about runtime performance 2021-04-02 09:27:58 -04:00
Jean-Paul Calderone
c15fe70378 Replace plain "Tahoe" with "Tahoe-LAFS" as the name of the project/software/system/etc 2021-04-01 12:53:25 -04:00
Sajith Sasidharan
2a62086323 Turn down coveralls verbosity 2021-03-31 19:16:58 -04:00
Sajith Sasidharan
d17f3d36c2 Run coveralls verbosely 2021-03-31 17:57:44 -04:00
Sajith Sasidharan
2e67e07081 Just don't run coverage tests with Python 3.6 + Windows
Another test matrix setup I tried is this:

  jobs:
    coverage:
        matrix:
          os:
            - macos-latest
            - windows-latest
            - ubuntu-latest
          python-version:
            - 2.7
          include:
            - python-version: 3.6
              os:
                - macos-latest
                - ubuntu-latest
            - python-version: 3.6
              os: windows-latest
              experimental: true

But that failed on Python 3.6 + macOS with a simple error message, and
no further explanation: "This check failed".  Huh?

Might simply exclude Windows altogether, because that approach sort of
worked in another experiment.
2021-03-31 16:42:39 -04:00
Sajith Sasidharan
1351a62ac4 Expect coverage tests to fail on Python 3.6 + Windows 2021-03-31 16:13:41 -04:00
Sajith Sasidharan
dd3b95a0bd Add ubuntu-latest to GitHub Actions matrix 2021-03-31 15:55:05 -04:00
Sajith Sasidharan
aebbc52f06 Add Python 3.6 to GitHub Actions test matrix
Let us send more coverage reports to coveralls.io
2021-03-31 15:55:05 -04:00
Sajith Sasidharan
94358d4587 Add newsfragment 2021-03-31 15:55:05 -04:00
Sajith Sasidharan
b133d0e7a0
Merge pull request #997 from sajith/3630.update-docs-readme
Update notes about reading/writing docs

Fixes: ticket:3630
2021-03-31 15:50:04 -04:00