Commit Graph

14736 Commits

Author SHA1 Message Date
Itamar Turner-Trauring be59682532 Fix issue with file uploads being Unicode on Python 3. 2021-02-01 10:44:14 -05:00
Jason R. Coombs 621ae58abe Avoid overthinking encoding when handling usage errors. 'test_unicode_arguments_and_output' still passes on Python 2. Ref #3603. 2021-01-31 11:13:59 -05:00
Jason R. Coombs 57cb88638a In scripts.create_node, set the encoding once and write text. 2021-01-30 12:46:44 -05:00
Jason R. Coombs d6082d853a Declare scripts.create_node as ported. 2021-01-30 12:23:16 -05:00
Jason R. Coombs 36b7fdaecf Apply futurize to create_node. 2021-01-30 12:15:36 -05:00
Jason R. Coombs 5fc9674d3a Update escape_path for Python 3 compatibility. 2021-01-30 11:47:53 -05:00
Jason R. Coombs 210eb5b529 Add test for escape_path. 2021-01-30 11:44:36 -05:00
Jason R. Coombs 2bd244dde9 Declare scripts.runner as ported. Ref #3603. 2021-01-30 11:24:06 -05:00
Jason R. Coombs 5bf2b09b81 In scripts.runner, replace hard failure on Python 3 with 'experimental' warning. Ref #3603. Closes #3035. 2021-01-30 11:12:01 -05:00
Jason R. Coombs 00e856fed5 Declare scripts.types_ as ported (never had Python 2 support). 2021-01-30 11:00:19 -05:00
Itamar Turner-Trauring 8c71de5cd6
Merge pull request #974 from tahoe-lafs/3579.ftp-python-3
Port allmydata.frontends.sftpd to Python 3

Fixes ticket:3579
2021-01-29 11:28:55 -05:00
Itamar Turner-Trauring 943eabab28 Pacify flake8. 2021-01-29 10:02:16 -05:00
Itamar Turner-Trauring 6fd62eb25e Merge remote-tracking branch 'origin/master' into 3579.ftp-python-3 2021-01-28 15:15:57 -05:00
Jean-Paul Calderone 81edda8011 ... this? 2021-01-28 15:11:13 -05:00
Itamar Turner-Trauring d1be6b4bde Prepare for merge. 2021-01-28 15:10:57 -05:00
Itamar Turner-Trauring 59f0c9e63b
Merge pull request #961 from tahoe-lafs/3584.integration-tests-sftp
Integration tests and bug fixes for SFTP

Fixes ticket:3584
2021-01-28 15:07:15 -05:00
Itamar Turner-Trauring 90a47bb859 WIP 2021-01-28 12:00:15 -05:00
Itamar Turner-Trauring e5a7ea97c7 More tests passing on Python 3. 2021-01-28 11:44:16 -05:00
Itamar Turner-Trauring 2007323baa More passing tests on Python 3. 2021-01-28 11:19:09 -05:00
Itamar Turner-Trauring 6668842356 More passing tests on Python 3. 2021-01-27 15:43:44 -05:00
Itamar Turner-Trauring ea10c7c937 More passing tests on Python 3. 2021-01-27 15:20:38 -05:00
Itamar Turner-Trauring 175a3ca4bb More passing tests on Python 3. 2021-01-27 12:45:36 -05:00
Itamar Turner-Trauring 4f56ce436a More passing tests on Python 3. 2021-01-27 12:39:28 -05:00
Itamar Turner-Trauring c1391159fa More passing tests on Python 3. 2021-01-27 12:06:25 -05:00
Jean-Paul Calderone 740fe9fef7 news fragment 2021-01-27 11:36:53 -05:00
Jean-Paul Calderone 64f3e1277e Replace eliot_logged_test with something ... else
The previous implementation relied on TestCase.addCleanup in an unreliable
way.

This implementation pushes the decoration logic in to the test method itself
on the premise that test methods that do weird stuff are better supported than
`run` methods that do weird stuff.

Also add some more tests for this behavior.
2021-01-27 11:33:09 -05:00
Itamar Turner-Trauring 9f5e1381bf Another passing Python 3 test. 2021-01-27 11:29:46 -05:00
meejah 8bb83e797e actually not-equal 2021-01-26 15:13:57 -07:00
meejah 87c78fd8f3 use plain TestCase (fix eliot tests, maybe) 2021-01-26 13:32:23 -07:00
Itamar Turner-Trauring d25a0f1ce2 Increase timeout, just to be on the safe side. 2021-01-26 12:40:39 -05:00
Jean-Paul Calderone 94716c078a
Merge pull request #927 from viktoriiasavchuk/patch-1
Link to the code of conduct from CONTRIBUTING.rst

Fixes: ticket:3599
2021-01-26 11:57:57 -05:00
Itamar Turner-Trauring 5a2339ced3 Another test passing on Python 3. 2021-01-26 11:09:19 -05:00
Itamar Turner-Trauring 8493d70cab Support byte keys in internal dictionaries. 2021-01-26 11:01:50 -05:00
Itamar Turner-Trauring e271cd1b64 Another test passing on Python 3. 2021-01-26 10:20:15 -05:00
Itamar Turner-Trauring 6c04ea7497 Explanatory comment is better now. 2021-01-26 10:14:14 -05:00
Itamar Turner-Trauring 4e89ab2e66 Context manager. 2021-01-26 10:06:57 -05:00
Itamar Turner-Trauring e7ab792c4c Explain why Paramiko. 2021-01-26 10:06:17 -05:00
Itamar Turner-Trauring cc8e613fe3 Rephrase. 2021-01-26 10:00:50 -05:00
Jean-Paul Calderone e6b3d59501 try to link to the same thing more robustly 2021-01-26 09:58:08 -05:00
Itamar Turner-Trauring 0424ba2a48 Fix indent. 2021-01-26 09:57:11 -05:00
Jean-Paul Calderone c451d947ff Merge remote-tracking branch 'origin/master' into patch-1 2021-01-26 09:57:05 -05:00
Jean-Paul Calderone 3d2ca566f6 news fragment 2021-01-26 09:57:02 -05:00
Itamar Turner-Trauring 3b893a56f9 Just rely on global timeout. 2021-01-26 09:55:38 -05:00
Jean-Paul Calderone bb8348f7bb Merge remote-tracking branch 'origin/master' into 3588.use-pywin32-more 2021-01-26 09:54:59 -05:00
Itamar Turner-Trauring 49300ccc4e Merge remote-tracking branch 'origin/master' into 3584.integration-tests-sftp 2021-01-26 09:53:51 -05:00
Jean-Paul Calderone 15dbbce217 Merge remote-tracking branch 'origin/master' into 3592.convergence-hasher-tag-tests 2021-01-26 09:53:26 -05:00
Itamar Turner-Trauring dc3871b711
Merge pull request #970 from tahoe-lafs/3590.error-in-integration-test
Fix URI redirect error that was manifesting in the integration tests

Fixes ticket:3590
2021-01-26 09:50:40 -05:00
Sajith Sasidharan c22cf5065a
Merge pull request #954 from tahoe-lafs/3536.sphinx-warnings
Fix some Sphinx warnings

Fixes: ticket:3536
2021-01-25 19:06:50 -05:00
meejah 3c646991ad Merge branch 'master' into 2916.grid-manager-proposal.5 2021-01-25 15:42:25 -07:00
meejah 7aaf86ac94 flake8 cleanup 2021-01-25 15:23:47 -07:00