Commit Graph

12248 Commits

Author SHA1 Message Date
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
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
May-Lee Sia
93b93f3e7f
Merge pull request #1017 from tahoe-lafs/code-of-conduct
Add May-Lee
2021-03-31 21:43:36 +02:00
May-Lee Sia
bb8295ac61 Add newsfragment 2021-03-31 21:14:50 +02:00
Sajith Sasidharan
2d425ef91a
Merge pull request #1021 from tahoe-lafs/3653.use-newer-coveralls
Use newer coveralls

Fixes: ticket:3653
2021-03-31 12:56:35 -04:00
Sajith Sasidharan
88e3005abb Quote some YAML strings
Following PR review feedback.

Some parts of GitHub Actions configuration follows convention in GA's
documentation, in which YAML strings are not quoted, but that probably
is not a good idea.  We also don't want to change all the strings in
this unrelated set of changes.  So we will quote strings as we go, in
the blocks we touch.
2021-03-31 11:53:02 -04:00
Itamar Turner-Trauring
271951f1f6
Merge pull request #1024 from tahoe-lafs/3658.end-progress
Rip out the unused IProgress API

Fixes ticket:3658
2021-03-31 10:56:05 -04:00
Itamar Turner-Trauring
cf63a3a83a News file. 2021-03-31 10:35:51 -04:00
Itamar Turner-Trauring
0d0dd4dee9 Rip out all references to the unused IProgress API. 2021-03-31 10:35:25 -04:00
Itamar Turner-Trauring
69ece36509
Merge pull request #1018 from tahoe-lafs/3603.scripts-runner-full
3603 Port runner script to Python 3

Fixes ticket:3656
2021-03-31 09:31:31 -04:00
Itamar Turner-Trauring
cef53c40d1 New ticket number. 2021-03-31 09:05:18 -04:00
Itamar Turner-Trauring
75ca085f5d
Merge pull request #1023 from tahoe-lafs/3655.__init__-python-3
Port __init__.py modules to Python 3

Fixes ticket:3655.
2021-03-30 15:06:58 -04:00
Jean-Paul Calderone
94b92202c3 Try to clarify requirement for some security properties 2021-03-30 12:45:22 -04:00
Jean-Paul Calderone
0f0398aeaf minor typography 2021-03-30 12:39:50 -04:00
Jean-Paul Calderone
e843206524 expand on justification for performance complaints 2021-03-30 12:39:27 -04:00
Jean-Paul Calderone
835c050e6c fix word-o 2021-03-30 12:39:22 -04:00
Itamar Turner-Trauring
45e21f8f70 Port to Python 3. 2021-03-30 11:05:49 -04:00
Jean-Paul Calderone
2de90c4bfe Merge remote-tracking branch 'origin/master' into 3645.gbs-expanded-motivation 2021-03-30 10:43:38 -04:00
Jean-Paul Calderone
f9b61f20ad
Merge pull request #1010 from LeastAuthority/3037.gbs-leases
Add GBS APIs for lease management
2021-03-30 10:25:49 -04:00
Itamar Turner-Trauring
90c393b8b2 Port __init__.py modules to Python 3 (or just mark them as ported if they're empty). 2021-03-30 10:04:28 -04:00
Jean-Paul Calderone
0485eeb126 Attempt to explain inclusion of lease secrets in the body 2021-03-30 10:03:03 -04:00
Itamar Turner-Trauring
e97043eeae News file. 2021-03-30 09:58:22 -04:00
Itamar Turner-Trauring
43f1f115cb Simplify. 2021-03-30 09:46:56 -04:00
Itamar Turner-Trauring
bc20457a61 Merge remote-tracking branch 'origin/master' into 3603.scripts-runner-full 2021-03-30 09:42:24 -04:00
Sajith Sasidharan
d3d5e29432 Merge 'origin/master' into 3653.use-newer-coveralls 2021-03-28 10:18:47 -04:00
Sajith Sasidharan
3653b28905
Merge pull request #1022 from tahoe-lafs/3654.test-invite-success-py36
Make test_invite_success pass on Python 3.6

Fixes: ticket:3654
2021-03-28 10:17:16 -04:00