Commit Graph

850 Commits

Author SHA1 Message Date
Ross Patterson
fb87daad0b Merge branch 'master' into 3448.convert-only-unicode-to-str 2020-09-30 11:50:42 -07:00
Ross Patterson
10a24c3109 Merge branch '3442.minor-test-runner-changes' 2020-09-30 11:03:32 -07:00
Itamar Turner-Trauring
4051a17313 Merge remote-tracking branch 'origin/master' into 3453.downloader-share-python-3 2020-09-30 13:28:18 -04:00
Itamar Turner-Trauring
6c72c8b77f Merge branch '3451.immutable-downloader-start-python-3' into 3452.immutable-downloader-more-python-3 2020-09-30 11:52:37 -04:00
Ross Patterson
362c121426 feat(py3): Convert unicode-only modules to str
Modules that reference `unicode` but do *not* reference `str` can safely be converted to
use `str` in a way that's closest to the way it should be done under Python 3 but that
is still Python 2 compatible [per
`python-future`](https://python-future.org/compatible_idioms.html?highlight=unicode#unicode).

This change results in 4 additional tests passing under Python 3 that weren't before,
one previous test error is now a failure, and more coverage in a few modules.  Here's
the diff of the output from running all tests under Python 3 before these changes and
after.  I've elided the irrelevant changes (time stamps, object ids, etc.):

```diff
--- .tox/make-test-py3-all-old.log	2020-09-27 20:56:55.761691130 -0700
+++ .tox/make-test-py3-all-new.log	2020-09-27 20:58:16.242075678 -0700
@@ -1,6 +1,6 @@
...
@@ -4218,7 +4218,7 @@
 [ERROR]
 (#.### secs)
 allmydata.test.mutable.test_version.Version.test_download_version ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/mutable/test_version.py", line 274, in test_download_version
+  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/mutable/test_version.py", line 279, in test_download_version
     d = self.publish_multiple()
   File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/mutable/util.py", line 372, in publish_multiple
     self._nodemaker = make_nodemaker(self._storage)
@@ -4438,40 +4438,26 @@
 allmydata.test.test_abbreviate.Abbreviate.test_time ... [OK]
 (#.### secs)
 allmydata.test.test_auth.AccountFileCheckerKeyTests.test_authenticated ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/test_auth.py", line 42, in setUp
-    abspath = abspath_expanduser_unicode(unicode(self.account_file.path))
-builtins.NameError: name 'unicode' is not defined
+Failure: twisted.cred.error.UnauthorizedLogin:
 [ERROR]
 (#.### secs)
 allmydata.test.test_auth.AccountFileCheckerKeyTests.test_missing_signature ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/test_auth.py", line 42, in setUp
-    abspath = abspath_expanduser_unicode(unicode(self.account_file.path))
-builtins.NameError: name 'unicode' is not defined
-[ERROR]
+  File "/home/rpatterson/src/work/sfu/tahoe-lafs/.tox/py36-coverage/lib/python3.6/site-packages/twisted/trial/_asynctest.py", line 75, in _eb
+    raise self.failureException(output)
+twisted.trial.unittest.FailTest:
+Expected: (<class 'twisted.conch.error.ValidPublicKey'>,)
+Got:
+[Failure instance: Traceback (failure with no frames): <class 'twisted.cred.error.UnauthorizedLogin'>:
+]
+[FAILURE]
 (#.### secs)
-allmydata.test.test_auth.AccountFileCheckerKeyTests.test_password_auth_user ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/test_auth.py", line 42, in setUp
-    abspath = abspath_expanduser_unicode(unicode(self.account_file.path))
-builtins.NameError: name 'unicode' is not defined
-[ERROR]
+allmydata.test.test_auth.AccountFileCheckerKeyTests.test_password_auth_user ... [OK]
 (#.### secs)
-allmydata.test.test_auth.AccountFileCheckerKeyTests.test_unknown_user ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/test_auth.py", line 42, in setUp
-    abspath = abspath_expanduser_unicode(unicode(self.account_file.path))
-builtins.NameError: name 'unicode' is not defined
-[ERROR]
+allmydata.test.test_auth.AccountFileCheckerKeyTests.test_unknown_user ... [OK]
 (#.### secs)
-allmydata.test.test_auth.AccountFileCheckerKeyTests.test_unrecognized_key ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/test_auth.py", line 42, in setUp
-    abspath = abspath_expanduser_unicode(unicode(self.account_file.path))
-builtins.NameError: name 'unicode' is not defined
-[ERROR]
+allmydata.test.test_auth.AccountFileCheckerKeyTests.test_unrecognized_key ... [OK]
 (#.### secs)
-allmydata.test.test_auth.AccountFileCheckerKeyTests.test_wrong_signature ... Traceback (most recent call last):
-  File "/home/rpatterson/src/work/sfu/tahoe-lafs/src/allmydata/test/test_auth.py", line 42, in setUp
-    abspath = abspath_expanduser_unicode(unicode(self.account_file.path))
-builtins.NameError: name 'unicode' is not defined
-[ERROR]
+allmydata.test.test_auth.AccountFileCheckerKeyTests.test_wrong_signature ... [OK]
 (#.### secs)
 allmydata.test.test_backupdb.BackupDB.test_basic ... [OK]
 (#.### secs)
@@ -4615,7 +4601,7 @@
 src/allmydata/crypto/util.py                            12      2      4      2    75%   13, 32, 12->13, 30->32
 src/allmydata/deep_stats.py                             83     63     26      0    18%   27-52, 56-58, 62-82, 86-91, 94, 97, 103-114, 117-121, 125-131, 135
 src/allmydata/dirnode.py                               525    420    178      0    15%   70-103, 112-116, 119-135, 140-143, 146-160, 165-173, 176-177, 180-205, 208-217, 223-229, 248-286, 293-299, 302, 310, 315, 318-324, 327-332, 336-340, 344-346, 355-406, 410, 413, 416, 419, 422, 425, 428, 431-433, 436, 439, 442, 445, 448-450, 453, 457, 459, 464, 469-472, 475-478, 481-484, 489-492, 498-501, 504-507, 510-518, 530-532, 539-555, 558-566, 570-589, 600-610, 613-620, 628-641, 646-652, 657-678, 693-714, 752-761, 765-770, 774-812, 819-820, 825, 828, 831, 836-839, 842-849, 852-853, 862-877, 880-881, 884-891, 894, 897-899
-src/allmydata/frontends/auth.py                        100     71     28      0    26%   21-22, 30-48, 51, 54-56, 59-70, 80-87, 100-110, 117-118, 121, 124-142, 147-150, 156-159
+src/allmydata/frontends/auth.py                        100     52     28      4    47%   21-22, 38, 41-44, 51, 54-56, 65-70, 80-87, 106-108, 117-118, 121, 124-142, 147-150, 156-159, 37->38, 40->41, 59->65, 101->106
 src/allmydata/frontends/ftpd.py                        255    254     84      0     1%   4-337
 src/allmydata/frontends/sftpd.py                      1211   1208    488      0     1%   4-2014
 src/allmydata/hashtree.py                              174    135     72      1    16%   59, 75-78, 106-108, 114-117, 123-126, 132-136, 142-149, 152-162, 165-169, 172, 175, 180, 183, 186, 218-232, 259-262, 295-306, 320-323, 326-331, 384-484, 58->59
@@ -4653,7 +4639,7 @@
 src/allmydata/scripts/admin.py                          51     31      2      0    38%   9-14, 17-21, 25, 28, 31-37, 40-46, 56-57, 59, 61-66, 74-78
 src/allmydata/scripts/backupdb.py                      146     91     14      1    36%   84-91, 94-96, 99, 103, 106, 111-114, 117-119, 122, 125, 128, 176-221, 231-242, 245-263, 266-272, 308-324, 327-333, 336-341, 306->308
 src/allmydata/scripts/cli.py                           259    124     46      6    46%   25-49, 69-72, 79-81, 103, 142-146, 175, 221-222, 258, 265-266, 284-285, 330-331, 338-341, 346-355, 361-362, 366-373, 388, 405, 417, 432, 449, 479-481, 484-486, 489-491, 494-496, 499-501, 504-515, 518-520, 523-525, 528-530, 533, 536-538, 541-543, 546-548, 551-553, 556-558, 561-563, 566-568, 571-573, 576-577, 60->exit, 61->exit, 174->175, 180->exit, 181->exit, 219->221
-src/allmydata/scripts/common.py                        153     74     60      4    48%   64, 82, 88, 100, 114-126, 130-152, 159-163, 168-169, 172, 177, 191-236, 240-241, 47->49, 63->64, 79->82, 87->88
+src/allmydata/scripts/common.py                        154     74     60      4    49%   69, 87, 93, 105, 119-131, 135-157, 164-168, 173-174, 177, 182, 196-241, 245-246, 52->54, 68->69, 84->87, 92->93
 src/allmydata/scripts/common_http.py                    77     58     20      0    20%   15-30, 34-36, 38, 42-83, 87, 90, 94-96, 101
 src/allmydata/scripts/create_node.py                   302    185    114      8    30%   24, 61-96, 99-111, 114-128, 136-139, 169-174, 191-194, 205-208, 224-229, 235, 242, 256-278, 289-292, 295-298, 329, 339, 347-380, 385-445, 448-450, 455-477, 223->224, 234->235, 241->242, 252->256, 288->289, 294->295, 328->329, 338->339
 src/allmydata/scripts/debug.py                         719    638    202      0     9%   14, 31-32, 35-49, 52-60, 63-142, 146-154, 157-164, 168-217, 220-304, 307-401, 407, 417, 437-465, 468-485, 488-602, 606, 609-611, 637-648, 653-656, 659, 683-689, 692-810, 813-842, 845-848, 851-865, 869, 888, 891-940, 946, 949-950, 957, 960-961, 967-972, 984-985, 999-1000, 1003-1004, 1020-1021, 1025-1031, 1046-1050
@@ -4661,10 +4647,10 @@
 src/allmydata/scripts/run_common.py                    135     18     24      6    85%   37, 41-46, 59-60, 149, 158, 192-193, 216-220, 226-227, 55->62, 135->exit, 135->exit, 148->149, 191->192, 225->226
 src/allmydata/scripts/runner.py                        138     53     42     11    56%   84-85, 91, 97-99, 104, 114, 123-132, 140, 146, 149-160, 174-181, 186, 189-190, 204-232, 248, 255, 31->36, 103->104, 113->114, 139->140, 145->146, 147->149, 185->186, 188->189, 202->204, 247->248, 254->255
 src/allmydata/scripts/slow_operation.py                 69     56     22      0    14%   15-44, 47-52, 55-61, 64-83
-src/allmydata/scripts/stats_gatherer.py                 41     25     10      0    31%   20-25, 62-86
+src/allmydata/scripts/stats_gatherer.py                 42     25     10      0    33%   25-30, 67-91
 src/allmydata/scripts/tahoe_add_alias.py               106     91     30      0    11%   20-32, 35-59, 63-98, 102-111, 115-144
 src/allmydata/scripts/tahoe_backup.py                  331    267     85      0    15%   20-35, 38-51, 54-58, 71-73, 76-152, 155-157, 160-161, 164-174, 178-209, 212-242, 246-274, 278-279, 287-311, 322-331, 336, 339, 342-351, 356, 359, 362-367, 372-374, 379, 384, 389, 398, 417-425, 428, 431-461, 469-480, 483-486, 500-504, 511-512, 525, 538-542, 545-549, 552-555, 558-561, 564, 571, 578, 586-594
-src/allmydata/scripts/tahoe_check.py                   263    235    121      0     7%   15, 20-100, 103-112, 120-129, 132-167, 170-173, 179-192, 195-256, 259-270, 277-323, 327-336, 339
+src/allmydata/scripts/tahoe_check.py                   264    235    121      0     8%   20, 25-105, 108-117, 125-134, 137-172, 175-178, 184-197, 200-261, 264-275, 282-328, 332-341, 344
 src/allmydata/scripts/tahoe_cp.py                      602    503    226      0    12%   22, 26, 30-31, 34-37, 40-41, 44-47, 50-53, 56-60, 63-70, 75-77, 80, 83, 86, 90-91, 94, 98-99, 102, 106-111, 114, 117-134, 138-142, 145-159, 162-172, 175-177, 180, 185-189, 192, 195-197, 200-203, 206, 210-214, 218-223, 230-233, 236, 239-253, 256-263, 266-297, 303, 307-309, 316, 320-323, 326-333, 336-350, 354-358, 361-397, 403-413, 416-433, 436-437, 440-454, 465-496, 504-580, 583, 589-630, 636-689, 693-698, 701-703, 706-719, 723-762, 765-775, 778-806, 810-818, 821-838, 842, 845-857, 862-863, 867
 src/allmydata/scripts/tahoe_get.py                      37     32     12      0    10%   9-45
 src/allmydata/scripts/tahoe_invite.py                   59     41      8      0    27%   27-31, 36-71, 76-101
@@ -4679,7 +4665,7 @@
 src/allmydata/scripts/tahoe_stop.py                     60     47     10      0    19%   16, 24-84
 src/allmydata/scripts/tahoe_unlink.py                   28     23      6      0    15%   12-40
 src/allmydata/scripts/tahoe_webopen.py                  27     24     12      0     8%   7-31
-src/allmydata/stats.py                                 242    156     54      3    33%   28-34, 37-40, 43-47, 50-64, 67-72, 101, 104-110, 113-125, 144-146, 154-155, 160-163, 169-174, 178-187, 191, 200-207, 210, 213-219, 222-228, 232-234, 237, 241, 246-250, 253, 256-257, 263-278, 281-285, 288-293, 299-325, 100->101, 143->144, 153->154
+src/allmydata/stats.py                                 242    156     54      3    33%   29-35, 38-41, 44-48, 51-65, 68-73, 102, 105-111, 114-126, 145-147, 155-156, 161-164, 170-175, 179-188, 192, 201-208, 211, 214-220, 223-229, 233-235, 238, 242, 247-251, 254, 257-258, 264-279, 282-286, 289-294, 300-326, 101->102, 144->145, 154->155
 src/allmydata/storage/common.py                         24      2      4      2    86%   11, 28, 10->11, 36->39
 src/allmydata/storage/crawler.py                       222    125     64      6    37%   16, 90, 111-113, 148-178, 192-193, 231, 244, 251, 275-312, 315-363, 377-384, 393, 416, 428, 445, 453, 488-492, 495-508, 13->16, 89->90, 96->99, 228->231, 248->251, 268->271
 src/allmydata/storage/expirer.py                       240    183     81      2    21%   9, 74-79, 119, 122, 125-167, 171-233, 236-253, 256-261, 264-266, 269-274, 280-284, 288-322, 388-435, 7->9, 71->74
@@ -4748,7 +4734,7 @@
 src/allmydata/windows/fixups.py                        133    133     54      0     0%   1-237
 src/allmydata/windows/registry.py                       42     42     12      0     0%   1-77
 ------------------------------------------------------------------------------------------------
-TOTAL                                                27427  20411   8234    294    22%
+TOTAL                                                27430  20392   8234    298    22%

 18 files skipped due to complete coverage.
 + '[' '!' -z 1 ']'
```

Trac: refs #3448, https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3448
2020-09-30 08:47:02 -07:00
Itamar Turner-Trauring
d797ca1162 Merge remote-tracking branch 'origin/master' into 3451.immutable-downloader-start-python-3 2020-09-30 11:42:58 -04:00
Itamar Turner-Trauring
df69ca8b5b
Merge pull request #836 from tahoe-lafs/3450.immutable-literal-python-3
Port allmydata.immutable.literal to Python 3 (and fix a bug)

Fixes ticket:3450
2020-09-30 11:39:07 -04:00
Jean-Paul Calderone
d9efb9bf45 news fragment 2020-09-30 11:11:33 -04:00
Ross Patterson
784ddc5b07 Merge branch 'master' into 3442.minor-test-runner-changes 2020-09-30 06:51:36 -07:00
Itamar Turner-Trauring
02acd9d2eb News file. 2020-09-29 13:47:27 -04:00
Itamar Turner-Trauring
a8b00085c5 News file. 2020-09-29 11:23:05 -04:00
Itamar Turner-Trauring
87838dd2bb
Merge pull request #834 from tahoe-lafs/3449.interfaces-to-python-3
Port allmydata.introducer.interfaces to Python 3

Fixes ticket:3449
2020-09-29 11:05:18 -04:00
Itamar Turner-Trauring
bfc0d9fb15 News file. 2020-09-29 10:51:44 -04:00
Sajith Sasidharan
9c8fb6f901
Merge pull request #781 from sajith/3382.remove-multi-format-page
Remove web.common.MultiFormatPage

Fixes ticket:3382
2020-09-28 21:28:23 -04:00
Itamar Turner-Trauring
c84a2ef869
Merge pull request #835 from tahoe-lafs/3417.audit-for-loops-mutable-dict-views-python-3
Audit for loops for mutable dict views bugs on Python 3

Fixes ticket:3417
2020-09-28 16:53:12 -04:00
Itamar Turner-Trauring
a0a8b4403d News file. 2020-09-28 16:49:51 -04:00
Jean-Paul Calderone
76ecae2e44 Merge remote-tracking branch 'origin/master' into 3382.remove-multi-format-page 2020-09-28 15:09:29 -04:00
Jean-Paul Calderone
6d14eb55b5
Merge pull request #832 from tahoe-lafs/3443.referrer-policy-tests
Add a test for referrer-policy

Fixes: ticket:3443
2020-09-28 15:04:55 -04:00
meejah
587d9ef873
Merge pull request #798 from jaraco/3398.pre-commit
Add pre-commit hook definition for flake8.
2020-09-28 16:36:50 +00:00
Itamar Turner-Trauring
f578b85f8c News file. 2020-09-28 11:56:15 -04:00
Itamar Turner-Trauring
5e6201aede
Merge pull request #833 from tahoe-lafs/3446.test-helper-python-3
Port test_helper.py to Python 3

Fixes ticket:3446
2020-09-28 11:35:15 -04:00
Itamar Turner-Trauring
64516aac41 Port to Python 3. 2020-09-28 10:20:00 -04:00
Itamar Turner-Trauring
4e7e84796a
Merge pull request #829 from tahoe-lafs/3439.test-download-python-3
Port test_download.py to Python 3

Fixes ticket:3439
2020-09-28 09:59:53 -04:00
Chad Whitacre
afd28f3402
Merge pull request #823 from tahoe-lafs/3431.port-test_immutable
Port test_immutable to Python 3
2020-09-28 08:34:03 -04:00
Jean-Paul Calderone
60f531e970
Merge pull request #831 from tahoe-lafs/3438.test_introweb
Split `_test_introweb` into a separate suite

Fixes: ticket:3438
2020-09-27 19:14:24 -04:00
Itamar Turner-Trauring
21e3b355ec Finish porting to Python 3. 2020-09-25 14:03:25 -04:00
Sajith Sasidharan
65f206e39b
Merge pull request #816 from sajith/3427.return-error-page-from-unlinked
Return ErrorPage from unlinked

Fixes ticket:3427
2020-09-25 13:30:02 -04:00
Itamar Turner-Trauring
47aa724c42 Merge remote-tracking branch 'origin/master' into 3439.test-download-python-3 2020-09-25 13:16:12 -04:00
Itamar Turner-Trauring
5e52691433
Merge pull request #827 from tahoe-lafs/3437.test-filenode-python-3
Port test_filenode.py to Python 3

Fixes ticket:3437
2020-09-25 13:15:30 -04:00
Sajith Sasidharan
569ac924ec
Merge pull request #825 from sajith/3436.remove-web-common-getxmlfile
Remove unused web.common.getxmlfile()

Fixes ticket:3436
2020-09-25 12:54:51 -04:00
Jean-Paul Calderone
2314a9f2f6 add a test for referrer-policy 2020-09-25 11:06:54 -04:00
Jean-Paul Calderone
dc15f19ee0 Merge remote-tracking branch 'origin/master' into 3382.remove-multi-format-page 2020-09-25 09:37:02 -04:00
Jean-Paul Calderone
f13390d3d4 news fragment 2020-09-25 09:26:56 -04:00
Itamar Turner-Trauring
51709d5562
Merge pull request #817 from tahoe-lafs/3430-test-upload-python-3
Port test_upload.py to Python 3

Fixes ticket:3430
2020-09-24 16:57:38 -04:00
Ross Patterson
a8ef046b50 build(news): Fix missing ChangeLog entry 2020-09-24 11:44:38 -07:00
Itamar Turner-Trauring
4784d2c3a8 News fragment. 2020-09-24 11:06:47 -04:00
Jean-Paul Calderone
67adb9303b news fragment 2020-09-24 10:23:34 -04:00
Itamar Turner-Trauring
d8c5e8b44f News file. 2020-09-23 15:39:19 -04:00
Itamar Turner-Trauring
5fbbb5be0f News file. 2020-09-23 15:21:47 -04:00
Ross Patterson
827cba21a3 Merge branch '3421.makefile-housekeeping' 2020-09-23 11:24:51 -07:00
Ross Patterson
2645675649 build(make): Exclude changelog entry from NEWS
This includes only developer-oriented changes.
2020-09-23 10:31:42 -07:00
Sajith Sasidharan
c2e9d6057f
Merge pull request #819 from sajith/3425.return-errorpage-from-root
Return ErrorPage from web.root

Fixes ticket:3425
2020-09-23 10:18:44 -04:00
Sajith Sasidharan
22a1721b62 Remove unused web.common.getxmlfile() 2020-09-22 21:05:17 -04:00
Sajith Sasidharan
9aee312d8c
Merge pull request #822 from sajith/3429.return-errorpage-from-check-results
Return ErrorPage from web.check_results

Fixes ticket:3429
2020-09-22 20:40:00 -04:00
Sajith Sasidharan
4e4c5f9b7f
Merge pull request #820 from sajith/3424.return-errorpage-from-operations
Return ErrorPage from web.operations

Fixes ticket:3424
2020-09-22 20:38:34 -04:00
Sajith Sasidharan
da78bc05d0
Merge pull request #818 from sajith/3423.return-errorpage-from-filenode
Return ErrorPage from filenode

Fixes ticket:3423
2020-09-22 20:37:55 -04:00
Sajith Sasidharan
0f118bdd67 Return error page from unlinked 2020-09-22 12:23:40 -04:00
Chad Whitacre
0b6b4b69e9 Port test_immutable to Python 3 2020-09-22 08:36:39 -04:00
Sajith Sasidharan
18e56e41fc Return error page when an exception is raised from web.check_results 2020-09-21 18:18:29 -04:00
Sajith Sasidharan
20101f8146 Return ErrorPage when an exception is raised in web.status 2020-09-21 16:51:27 -04:00
Sajith Sasidharan
c16cf00c6b Return an error page when an exception is raised from web.root 2020-09-21 16:37:36 -04:00
Sajith Sasidharan
e8f7643a8f Return ErrorPage when web.operations raises an exception 2020-09-21 16:26:51 -04:00
Sajith Sasidharan
c34dc78875 Merge 'origin/master' into 3423.return-errorpage-from-filenode 2020-09-21 16:22:57 -04:00
Jean-Paul Calderone
58c99d0c0c
Merge pull request #815 from tahoe-lafs/3422.directory-weberror
Handle exceptions raised by getChild and render_* in directory.py

Fixes: ticket:3422
2020-09-21 16:04:39 -04:00
Sajith Sasidharan
199fbfcc1c Return error pages when an exception is raised in filenode 2020-09-21 13:24:01 -04:00
Itamar Turner-Trauring
7c6e3104ac
Merge pull request #812 from tahoe-lafs/3416.test-encode-python-3
Port allmydata.test.no_network to Python 3

Fixes ticket:3416
2020-09-21 11:51:34 -04:00
Ross Patterson
52015df7e4 build(make): Add changelog entry for PR 2020-09-18 11:59:40 -07:00
Jean-Paul Calderone
8f3a32a22c news fragment 2020-09-18 14:49:39 -04:00
Itamar Turner-Trauring
e75beb6eae
Merge pull request #811 from tahoe-lafs/3415.storage-server-python-3
Port allmydata.storage.server to Python 3

Fixes ticket:3415
2020-09-18 13:32:36 -04:00
Jean-Paul Calderone
9682e68528
Merge pull request #805 from jaraco/3408.print-functions
Convert print statements to print functions, even when commented

Fixes: ticket:3408
2020-09-18 12:59:44 -04:00
Itamar Turner-Trauring
b784f9654c Merge branch '3415.storage-server-python-3' into 3416.test-encode-python-3 2020-09-17 13:12:46 -04:00
Itamar Turner-Trauring
833bc72ac3 Merge remote-tracking branch 'origin/master' into 3416.test-encode-python-3 2020-09-16 14:40:40 -04:00
Itamar Turner-Trauring
b4116239b5 Merge remote-tracking branch 'origin/master' into 3415.storage-server-python-3 2020-09-16 11:27:03 -04:00
Itamar Turner-Trauring
4bf79f777e
Merge pull request #806 from tahoe-lafs/3409.allmydata-storage-immutable-python-3
Port allmydata.storage.immutable to Python 3

Fixes ticket:3409
2020-09-16 11:26:07 -04:00
Sajith Sasidharan
0ca3192640 Merge 'origin/master' into 3382.remove-multi-format-page 2020-09-15 18:25:07 -04:00
Sajith Sasidharan
1b207d8f62
Merge pull request #789 from sajith/3391.codecov-yml
Change codecov defaults

Fixes ticket:3391
2020-09-15 17:33:55 -04:00
Itamar Turner-Trauring
596c4cec8a News file. 2020-09-15 14:14:41 -04:00
Itamar Turner-Trauring
a552bb53a7 Merge remote-tracking branch 'origin/master' into 3409.allmydata-storage-immutable-python-3 2020-09-15 09:05:55 -04:00
Itamar Turner-Trauring
73967aa5b0
Merge pull request #810 from tahoe-lafs/3411.storage-mutable-python-3
Port a variety of allmydata.storage modules to Python 3

Fixes ticket:3411
2020-09-15 09:02:44 -04:00
Itamar Turner-Trauring
72f72491d0 News fragment. 2020-09-14 14:48:39 -04:00
Chad Whitacre
91a5c8ce95 Satisfy towncrier 2020-09-14 08:26:47 -04:00
Itamar Turner-Trauring
6ffda25d6b News fragment. 2020-09-11 15:04:52 -04:00
Jason R. Coombs
69762df708 Merge branch 'master' into 3398.pre-commit 2020-09-11 14:57:23 -04:00
Itamar Turner-Trauring
6f5c32c461 News fragment. 2020-09-11 14:51:20 -04:00
Jason R. Coombs
a7034de852 Add empty newsfragment. 2020-09-11 14:51:02 -04:00
Sajith Sasidharan
ebd20b7f22 Merge 'origin/master' into 3382.remove-multi-format-page 2020-09-10 10:09:38 -04:00
Jason R. Coombs
d74d7e733c Merge branch 'master' into 3394.py38-tests 2020-09-09 21:42:32 -04:00
Sajith Sasidharan
3b2b6fe646 Merge 'origin/master' into 3391.codecov-yml 2020-09-08 18:05:20 -04:00
Sajith Sasidharan
8ce3b95894
Merge pull request #802 from sajith/3403.pin-pyrsistent
Pin Pyrsistent at a Python 2 compatible version

Fixes: ticket:3403
2020-09-08 18:03:57 -04:00
Sajith Sasidharan
810c7eefd8 Pin Pyrsistent at a Python 2.7 compatible version 2020-09-08 16:31:57 -04:00
Itamar Turner-Trauring
4c90247d99
Merge pull request #799 from tahoe-lafs/3397.test-storage-python-3
Port allmydata.test.test_storage to Python 3

Fixes ticket:3397
2020-09-08 15:32:06 -04:00
Sajith Sasidharan
e17e9fa7a9
Merge pull request #791 from sajith/3393.remove-nevow-106-workaround
Remove allmydata.web._nevow_106

Fixes: ticket:3393
2020-09-07 21:49:00 -04:00
Sajith Sasidharan
46b4c94e7c
Merge pull request #790 from sajith/3392.remove-web-rendering-mixin
Remove unused allmydata.test.common_web.WebRenderingMixin

Fixes: ticket:3392
2020-09-07 21:47:23 -04:00
Itamar Turner-Trauring
59f3a471cb Merge remote-tracking branch 'origin/master' into 3397.test-storage-python-3 2020-09-04 14:51:33 -04:00
Itamar Turner-Trauring
af4814ee7b Merge remote-tracking branch 'origin/master' into 3396.storage-tests-python-3 2020-09-04 13:27:35 -04:00
Itamar Turner-Trauring
38f5a9c5a3 Disable coverage on pypy, in the hopes of making it less flaky. 2020-09-04 12:05:31 -04:00
Jason R. Coombs
fd49047721 Add news fragment. 2020-09-03 18:48:16 -04:00
Itamar Turner-Trauring
063ee18da3 News fragment. 2020-09-01 12:45:32 -04:00
Itamar Turner-Trauring
3fa919834a Finish port to Python 3. 2020-08-31 13:20:57 -04:00
Jason R. Coombs
a3f5a0d7ac Merge branch 'master' into 3394.py38-tests 2020-08-30 12:06:56 -04:00
Itamar Turner-Trauring
6f2f460bf3 Merge remote-tracking branch 'origin/master' into 3374.codec-monitor-python-3-take-2 2020-08-27 14:53:45 -04:00
Itamar Turner-Trauring
7da73c1a03
Merge pull request #772 from tahoe-lafs/3377.configutil-connection_status-python-3
Port configutil and connection_status to Python 3

Fixes ticket:3377
2020-08-27 14:51:26 -04:00
Itamar Turner-Trauring
4f1dfec62f
Merge pull request #795 from tahoe-lafs/3395.more-storage-python-3
Port the rest of allmydata.test.test_storage_web to Python 3

Fixes ticket:3395
2020-08-27 14:48:55 -04:00
Jean-Paul Calderone
94c61c817c
Merge pull request #796 from tahoe-lafs/3355.python3-coverage-reports
Collect and report Python 3 test suite coverage

Fixes: ticket:3355
2020-08-27 14:36:56 -04:00
Jean-Paul Calderone
6422dba90d Say some words about this change 2020-08-27 10:39:49 -04:00
Sajith Sasidharan
d79880bf91 Merge 'origin/master' into 3382.remove-multi-format-page 2020-08-26 21:18:44 -04:00
Jean-Paul Calderone
7f3192e310 news fragment 2020-08-26 14:46:57 -04:00
Itamar Turner-Trauring
431e939bb8 Finish porting test_storage_web to Python 3. 2020-08-26 10:38:52 -04:00
Itamar Turner-Trauring
23671b02a4 Merge remote-tracking branch 'origin/master' into 3387.expirer-python-3 2020-08-25 13:57:32 -04:00
Sajith Sasidharan
82ee45c1ac Merge 'origin/master' into 3382.remove-multi-format-page 2020-08-25 13:54:05 -04:00
Sajith Sasidharan
f51c127d6d
Merge pull request #780 from sajith/3381.directory-deep-size-results-to-twisted-web
Port web.directory.DeepSizeResults to twisted web

Fixes: ticket:3381
2020-08-25 13:52:15 -04:00
Itamar Turner-Trauring
b3c1302643 Merge remote-tracking branch 'origin/master' into 3387.expirer-python-3 2020-08-25 12:31:12 -04:00
Itamar Turner-Trauring
6726c6ec5b Merge remote-tracking branch 'origin/master' into 3374.codec-monitor-python-3-take-2 2020-08-25 11:48:31 -04:00
Itamar Turner-Trauring
43f95238d8 Merge remote-tracking branch 'origin/master' into 3377.configutil-connection_status-python-3 2020-08-25 11:44:48 -04:00
Itamar Turner-Trauring
7ad8cb503e
Merge pull request #794 from tahoe-lafs/3367.port-uri-to-python-3-take-2
Port URI to Python 3

Fixes ticket:3367
2020-08-25 11:41:06 -04:00
Jean-Paul Calderone
bce701d5bc
Merge pull request #786 from tahoe-lafs/3388.ubuntu-2004-image-builder
Fix the Ubuntu 20.04 image builder

Fixes: ticket:3388
2020-08-24 18:13:16 -04:00
Itamar Turner-Trauring
2cc21e9893 Finish the port. 2020-08-24 13:57:46 -04:00
Jason R. Coombs
bc5a873456 Adding null newsfragment (changes are internal and subsumed by larger Python 3 effort). 2020-08-24 11:35:58 -04:00
Sajith Sasidharan
57fdead1c3 Remove allmydata.web._nevow_106 2020-08-22 17:21:24 -04:00
Sajith Sasidharan
fa36fb9ab9 Remove unused allmydata.test.common_web.WebRenderingMixin 2020-08-22 16:47:19 -04:00
Sajith Sasidharan
da57a7fc21 Add codecov settings 2020-08-22 08:14:08 -04:00
Sajith Sasidharan
a9fa70c3d5 Add upper bound for attrs library 2020-08-21 15:55:39 -04:00
Itamar Turner-Trauring
71cac5dd44 Merge remote-tracking branch 'origin/master' into 3387.expirer-python-3 2020-08-20 14:56:35 -04:00
Itamar Turner-Trauring
9089a1226a
Merge pull request #785 from tahoe-lafs/3386.storage-crawler-python-3
Port allmydata.storage.crawler to Python 3

Fixes ticket:3386
2020-08-20 14:52:30 -04:00
Itamar Turner-Trauring
f227b1b241
Merge pull request #779 from tahoe-lafs/3378.encodingutil-python-3-part-2
Fixes ticket:3378

Port encodingutil to Python 3, part 2
2020-08-20 13:24:33 -04:00
Itamar Turner-Trauring
46b498f99c Merge remote-tracking branch 'origin/master' into 3377.configutil-connection_status-python-3 2020-08-20 13:22:14 -04:00
Jean-Paul Calderone
9bdc085c26 news fragment 2020-08-20 13:20:56 -04:00
Itamar Turner-Trauring
e5b9852081 News file. 2020-08-20 13:05:25 -04:00
Itamar Turner-Trauring
71d33469da Merge remote-tracking branch 'origin/master' into 3378.encodingutil-python-3-part-2 2020-08-20 12:36:36 -04:00
Itamar Turner-Trauring
8279be38c1 Finish porting to Python 3. 2020-08-19 13:25:11 -04:00
Itamar Turner-Trauring
ed2f6bf3df News file. 2020-08-18 13:12:05 -04:00
Sajith Sasidharan
d5853ccb60 Remove web.common.MultiFormatPage 2020-08-18 08:48:02 -04:00
Sajith Sasidharan
0de92a2265 Add newsfragment 2020-08-18 08:38:55 -04:00
Itamar Turner-Trauring
01ba0d0316 News file. 2020-08-17 13:30:12 -04:00
Itamar Turner-Trauring
81ba354357 Merge remote-tracking branch 'origin/master' into 3373.happinessutil-python-3 2020-08-17 10:45:12 -04:00
Jean-Paul Calderone
bd06dac9d9
Merge pull request #778 from tahoe-lafs/3380.failure-ci-on-suite-failure
Make test failures fail CI

Fixes: ticket:3380
2020-08-14 14:47:09 -04:00
Itamar Turner-Trauring
4ddbd8dbbf Merge branch '3376.encodingutil-python-3' into 3377.configutil-connection_status-python-3 2020-08-14 13:13:23 -04:00
Jean-Paul Calderone
41fe405068
news fragment 2020-08-14 13:09:56 -04:00
Itamar Turner-Trauring
2fc8f896b3 Merge remote-tracking branch 'origin/master' into 3376.encodingutil-python-3 2020-08-14 13:09:08 -04:00
Jean-Paul Calderone
bc787975da
Merge pull request #777 from tahoe-lafs/3372.ratchet-by-module.python3.6
Ratchet by module, not by individual test (in python3.6)

Fixes: ticket:3372
2020-08-14 11:55:30 -04:00
meejah
8f1b712a8f
Merge pull request #729 from sajith/3316.check-results-nevow-to-twisted-web
Replace nevow with twisted.web.template in web.check_results
2020-08-13 23:10:19 +00:00
Itamar Turner-Trauring
6e24defe4b Merge branch '3376.encodingutil-python-3' into 3377.configutil-connection_status-python-3 2020-08-13 15:53:02 -04:00
Chad Whitacre
60078ce47f Satisfy towncrier 2020-08-13 06:23:45 -04:00
Itamar Turner-Trauring
7505abe826 News file and ratchet (connection_status stuff is... iffy, but we have to live
with it until the only-ported-modules bit is done).
2020-08-12 15:59:00 -04:00
Maciej Fijalkowski
c21acc64f0 merge master 2020-08-12 15:42:00 +02:00
Jean-Paul Calderone
726dfb42b1
Merge pull request #747 from tahoe-lafs/3336.py36-off-travis
Move Python 3.6 CI onto CircleCI

Fixes: ticket:3336
2020-08-11 19:10:33 -04:00
Itamar Turner-Trauring
277298050f News file and ratchet. 2020-08-11 15:51:27 -04:00
Itamar Turner-Trauring
80c7739096 Merge branch '3370.happiness-upload-python-3' into 3373.happinessutil-python-3 2020-08-11 14:54:39 -04:00
Itamar Turner-Trauring
202a7cf975 Merge remote-tracking branch 'origin/master' into 3370.happiness-upload-python-3 2020-08-11 14:53:34 -04:00
Jean-Paul Calderone
b69287be4b
Merge remote-tracking branch 'origin/master' into 3336.py36-off-travis 2020-08-11 14:51:08 -04:00
Jean-Paul Calderone
0f65d10f47
news fragment 2020-08-11 13:25:08 -04:00
Jean-Paul Calderone
fe2332c519
Merge pull request #768 from tahoe-lafs/3328.ubuntu-2004
Add Ubuntu 20.04

Fixes: ticket:3328
2020-08-10 12:43:55 -04:00
Jean-Paul Calderone
4a4a88773e
Merge remote-tracking branch 'origin/master' into 3336.py36-off-travis 2020-08-10 10:31:26 -04:00
Jean-Paul Calderone
fdfa95e1e8
news fragment 2020-08-10 09:59:28 -04:00
Jean-Paul Calderone
f4e1062aa4
Merge remote-tracking branch 'origin/master' into 3336.py36-off-travis 2020-08-10 09:13:01 -04:00
Jean-Paul Calderone
083be5f0c8
news fragment 2020-08-07 15:40:19 -04:00
Itamar Turner-Trauring
017104fec1 News file. 2020-08-07 13:11:24 -04:00
Itamar Turner-Trauring
5d70a78cce
Merge pull request #761 from tahoe-lafs/3365.log-python-3
Fixes ticket:3365

Port allmydata.util.log to Python 3
2020-08-07 12:40:58 -04:00
Itamar Turner-Trauring
1308fc44c0 Ratchet and news file. 2020-08-07 11:51:43 -04:00
Chad Whitacre
49c631b4c8 Sort the thing we said we'd sort 2020-08-07 08:43:54 -04:00
Itamar Turner-Trauring
0622b86b91 Merge remote-tracking branch 'origin/master' into 3370.happiness-upload-python-3 2020-08-06 17:03:43 -04:00
Itamar Turner-Trauring
f53ea4579d Merge remote-tracking branch 'origin/master' into 3365.log-python-3 2020-08-06 17:03:27 -04:00
Itamar Turner-Trauring
d8f74770eb Port to Python 3. 2020-08-06 16:38:19 -04:00
Itamar Turner-Trauring
b8df17283b News file. Not bothering with explanation since the regression was only in
unreleased versions.
2020-08-05 11:54:09 -04:00
Itamar Turner-Trauring
11c7841cd7
Merge pull request #760 from tahoe-lafs/3364.crypto-python-3
Fixes ticket:3364

Port allmydata.crypto to Python 3
2020-08-05 11:26:30 -04:00
Jean-Paul Calderone
4492e0e917
Merge pull request #762 from tahoe-lafs/3366.codechecks-macOS
Get `tox -e codechecks` to work on macOS

Fixes: ticket:3366
2020-08-05 08:59:28 -04:00
Chad Whitacre
1ef25e128c
Merge pull request #759 from tahoe-lafs/3362.enforce-no-tabs
Enforce no tabs
2020-08-05 07:59:51 -04:00
Chad Whitacre
2a6cd8eb58 Get tox -e codechecks to work (on macOS?)
Without this, git fails underneath towncrier with an "error: Could not
expand include path '~/.gitcinclude'".

See: https://stackoverflow.com/q/36908041

I had added similar for `tox -e py36` in d25c8b1a.
2020-08-03 21:19:26 -04:00
Chad Whitacre
f0ddda9665 Add a codecheck for tabs in indentation 2020-08-03 21:14:55 -04:00
Jean-Paul Calderone
f889edb9bd
Merge remote-tracking branch 'origin/master' into 3336.py36-off-travis 2020-08-03 17:18:07 -04:00
Jean-Paul Calderone
a47bd93fd0
news fragment 2020-08-03 17:12:15 -04:00
Itamar Turner-Trauring
2a623e0b05 Port to Python 3. 2020-08-03 14:13:16 -04:00
Itamar Turner-Trauring
d71951ecf1 News fragment. 2020-08-03 11:00:09 -04:00
Jean-Paul Calderone
27b6737eaf
Merge remote-tracking branch 'origin/master' into 3358.fileutil-to-python-3
with fijal
2020-07-30 13:38:47 -04:00
Maciej Fijalkowski
da87bd7e7f news fragment 2020-07-29 21:03:05 +02:00
Itamar Turner-Trauring
5e308260b1 Port to Python 3. 2020-07-29 14:49:48 -04:00
Itamar Turner-Trauring
9e4eda6912
Merge pull request #756 from tahoe-lafs/3359.statistics-python-3
Port statistics and dictutil to Python 3

Fixes ticket:3359
2020-07-29 13:16:17 -04:00
Sajith Sasidharan
fb5f9f0c89 Merge 'origin/master' into 3316.check-results-nevow-to-twisted-web 2020-07-28 07:54:21 -04:00
Itamar Turner-Trauring
058a76dc85 Ratchet, and news file. 2020-07-27 15:58:28 -04:00
Itamar Turner-Trauring
361e75804c Merge remote-tracking branch 'origin/master' into 3356.iputil-python-3 2020-07-27 13:07:12 -04:00
Itamar Turner-Trauring
e681ca1cb9
Merge pull request #754 from tahoe-lafs/3357.version_checks-py3
Port version_checks to Python 3

Fixes ticket:3357
2020-07-27 12:36:28 -04:00
Itamar Turner-Trauring
f9bda5bbd3 News file. 2020-07-27 11:46:22 -04:00
Itamar Turner-Trauring
11cd30c425 Merge remote-tracking branch 'origin/master' into 3357.version_checks-py3 2020-07-24 14:50:39 -04:00
Itamar Turner-Trauring
e0d3e46683 Merge remote-tracking branch 'origin/master' into 3351.spans-python-3 2020-07-24 14:48:33 -04:00
Itamar Turner-Trauring
337a4381bb Finish port to Python 3. 2020-07-24 14:31:36 -04:00
Itamar Turner-Trauring
65500de72f Merge remote-tracking branch 'origin/master' into 3346.abbreviate-and-time_format-py3 2020-07-24 14:13:28 -04:00
Itamar Turner-Trauring
8bcd6dd34b
Merge branch 'master' into 3346.abbreviate-and-time_format-py3 2020-07-24 11:10:38 -04:00
Itamar Turner-Trauring
dd4737f20c
Merge branch 'master' into 3353.observer-and-pipeline-py3 2020-07-24 11:08:08 -04:00
Itamar Turner-Trauring
8c3d592705 Merge remote-tracking branch 'origin/master' into 3354.hashtree-to-python-3 2020-07-23 12:28:39 -04:00
Itamar Turner-Trauring
d23394b35c Merge remote-tracking branch 'origin/master' into 3346.abbreviate-and-time_format-py3 2020-07-23 12:27:06 -04:00
Itamar Turner-Trauring
31ed6b0a4f News fragment. 2020-07-23 11:37:56 -04:00
Itamar Turner-Trauring
ff0ffb8040 Merge remote-tracking branch 'origin/master' into 3344.netstring-and-hashutil-to-python-3 2020-07-23 11:30:23 -04:00
Itamar Turner-Trauring
64e4af2d05 Port to Python 3. 2020-07-22 13:17:49 -04:00
Sajith Sasidharan
46b44b43dc
Merge pull request #730 from sajith/3320.github-actions-windows-integration-tests
Run integration tests on Windows using GitHub Actions

Fixes: ticket:3320
2020-07-22 13:05:53 -04:00
Itamar Turner-Trauring
04bf9aeffc News file. 2020-07-22 10:30:13 -04:00
Itamar Turner-Trauring
13306f70e7 News file. 2020-07-22 10:01:26 -04:00
Itamar Turner-Trauring
3a8bafafc3 Merge remote-tracking branch 'origin/master' into 3344.netstring-and-hashutil-to-python-3 2020-07-22 09:36:34 -04:00
Itamar Turner-Trauring
fa567841b5 Merge remote-tracking branch 'origin/master' into 3342-base32-and-base62-to-python-3 2020-07-21 14:40:33 -04:00
Itamar Turner-Trauring
7e8de10ea3 Merge branch '3342-base32-and-base62-to-python-3' into 3344.netstring-and-hashutil-to-python-3 2020-07-21 14:00:53 -04:00
Sajith Sasidharan
74a77a48cc Merge 'origin/master' into 3320.github-actions-windows-integration-tests 2020-07-21 13:50:47 -04:00
Sajith Sasidharan
4d20f8447c
Merge pull request #749 from sajith/3348.tor-chutney-integration-tests-python2
Use a Chutney revision that works with Python 2

Fixes: ticket:3348
2020-07-21 13:44:15 -04:00
meejah
8cdfcb1c24 news 2020-07-21 09:40:06 -06:00
Sajith Sasidharan
e4e59c7aab Use a Chutney revision that works with Python 2 2020-07-21 10:44:49 -04:00
Sajith Sasidharan
e145c7b00d
Merge pull request #722 from sajith/3254.status-status-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.Status

Fixes: ticket:3254
2020-07-20 11:28:18 -04:00
Jean-Paul Calderone
52e745afac
Merge pull request #746 from tahoe-lafs/3330.remove-some-travis-config
Remove some TravisCI configuration

Fixes: ticket:3330
Fixes: ticket:3331
Fixes: ticket:3332
Fixes: ticket:3333
Fixes: ticket:3334
Fixes: ticket:3335
2020-07-20 11:13:21 -04:00
Sajith Sasidharan
26ca9ae724
Merge pull request #726 from sajith/3313.operations-ophandle-table-nevow-to-twisted
Replace nevow with twisted.web in operations.OphandleTable

Fixes: ticket:3313
2020-07-19 08:14:32 -04:00
Sajith Sasidharan
0f835e94f5 Merge 'origin/master' into 3254.status-status-nevow-to-twisted-web 2020-07-18 07:53:36 -04:00
Sajith Sasidharan
6dec821271
Merge pull request #720 from sajith/3288.status-download-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.DownloadStatusPage

Fixes: ticket:3288
2020-07-18 07:22:37 -04:00
Jean-Paul Calderone
16c8026b6d
Stop using TravisCI for pyinstaller/Linux test coverage 2020-07-17 12:46:23 -04:00
Jean-Paul Calderone
1b491f293a
Stop using TravisCI for codechecks/Linux test coverage 2020-07-17 12:45:50 -04:00
Jean-Paul Calderone
82a4fca416
Stop using TravisCI for coverage/Linux test coverage 2020-07-17 12:45:05 -04:00
Jean-Paul Calderone
0803aef1cb
Stop using TravisCI for pyinstaller/macOS test coverage 2020-07-17 12:44:19 -04:00
Jean-Paul Calderone
f3780cd4cb
Stop using TravisCI for Python 2.7/macOS test coverage 2020-07-17 12:43:39 -04:00
Jean-Paul Calderone
c942064ee0
Stop using TravisCI for Python 2.7/Linux test coverage 2020-07-17 12:42:41 -04:00
Itamar Turner-Trauring
e77ab46549 Correct type. 2020-07-16 15:28:39 -04:00
Itamar Turner-Trauring
1f4cf403c6 Use minor for these sort of tickets. 2020-07-16 15:25:32 -04:00
Itamar Turner-Trauring
4da8e2ddee Merge branch '3342-base32-and-base62-to-python-3' into 3344.netstring-and-hashutil-to-python-3 2020-07-16 14:42:09 -04:00
Itamar Turner-Trauring
7abc54c429 Merge remote-tracking branch 'origin/master' into 3342-base32-and-base62-to-python-3 2020-07-16 14:21:42 -04:00
Jean-Paul Calderone
0ce6e562cb
Merge pull request #742 from chadwhitacre/3325.add-py36-to-ci
Add py36 to CI

Fixes: ticket:3325
2020-07-15 20:11:39 -04:00
Jean-Paul Calderone
c493396148
Merge pull request #740 from tahoe-lafs/3340-unused-code-in-util
Delete some dead code.

Fixes: ticket:3340
2020-07-15 20:08:41 -04:00
Itamar Turner-Trauring
7e7f771619 News file. 2020-07-15 15:00:44 -04:00
Itamar Turner-Trauring
841969de5a Merge remote-tracking branch 'origin/master' into 3342-base32-and-base62-to-python-3 2020-07-14 13:47:27 -04:00
Itamar Turner-Trauring
148d9a77ae News fragment. 2020-07-14 13:43:52 -04:00
Itamar Turner-Trauring
db41d5af6f
Merge pull request #743 from tahoe-lafs/3342-more-tests-for-base32-base62
Fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3343
2020-07-14 13:41:20 -04:00
Itamar Turner-Trauring
fc73b7c793 News fragment. 2020-07-14 10:51:46 -04:00
Chad Whitacre
8e8a215b83 Is this it? towncrier just wants empty files? 2020-07-13 22:42:51 -04:00
Itamar Turner-Trauring
af916c3968
Merge branch 'master' into 3341-more-python-3-utils 2020-07-13 14:30:11 -04:00
Sajith Sasidharan
69ae9e6d32 Merge 'origin/master' into 3316.check-results-nevow-to-twisted-web 2020-07-10 16:33:06 -04:00
Sajith Sasidharan
5276ea5b37 Merge branch 'master' into 3254.status-status-nevow-to-twisted-web 2020-07-09 17:09:50 -04:00
Jean-Paul Calderone
133e1bfb6f news fragment 2020-07-09 16:05:31 -04:00
Jean-Paul Calderone
07064f096f news fragment 2020-07-09 16:05:31 -04:00
Itamar Turner-Trauring
83f36ab6c2 Switch to flake8 as a better way of running pyflakes. 2020-07-09 16:05:31 -04:00
Sajith Sasidharan
100c4b1cde Add newsfragment 2020-07-09 16:05:31 -04:00
Sajith Sasidharan
0423e49a8e Add news fragment 2020-07-09 16:05:30 -04:00
meejah
ced9bdeb25 different words for news 2020-07-09 16:05:29 -04:00
meejah
f216f977f0 news 2020-07-09 16:05:29 -04:00
Sajith Sasidharan
1fd220dba0 Update newsfragment text 2020-07-09 16:05:29 -04:00
Sajith Sasidharan
83b5807ca1 Add newsfragment 2020-07-09 16:05:29 -04:00
Sajith Sasidharan
88accc23c3 Update newsfragment 2020-07-09 16:05:29 -04:00
Sajith Sasidharan
c043d1bead Add newsfragment 2020-07-09 16:05:29 -04:00
Itamar Turner-Trauring
7d1fdd8284 Port modules to Python 3. 2020-07-09 14:32:16 -04:00
Itamar Turner-Trauring
af86066eab Delete some dead code. 2020-07-09 13:52:06 -04:00
Itamar Turner-Trauring
0469c15e5d Merge remote-tracking branch 'origin/master' into 3339-assertutil-python-3 2020-07-09 09:36:13 -04:00
Itamar Turner-Trauring
e4b8cc4fbd Merge remote-tracking branch 'origin/master' into 3324-humanreadable-python-3 2020-07-08 14:52:24 -04:00
Jean-Paul Calderone
7e16148f83
news fragment 2020-07-08 13:20:42 -04:00
Itamar Turner-Trauring
f75ff70924 News fragment. 2020-07-08 12:21:33 -04:00
Itamar Turner-Trauring
e06d41442a Merge remote-tracking branch 'origin/master' into 3324-humanreadable-python-3 2020-07-07 11:03:33 -04:00
Jean-Paul Calderone
bb452a6c60
Merge pull request #731 from tahoe-lafs/2755.code-of-conduct
Formally adopt a code of conduct.
2020-07-07 09:59:55 -04:00
Itamar Turner-Trauring
10f2b7fc53
Merge pull request #736 from tahoe-lafs/3329-flake8
Switch to flake8 as a better way of running pyflakes.
2020-07-06 17:15:51 -04:00
Sajith Sasidharan
4a47e8311f Merge 'origin/master' into 3288.status-download-nevow-to-twisted-web 2020-07-06 16:38:23 -04:00
Sajith Sasidharan
25f5e659fc
Merge pull request #721 from sajith/3287.status-upload-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.UploadStatusPage

Fixes: ticket:3287
2020-07-06 16:20:40 -04:00
Sajith Sasidharan
61aef4caef
Merge pull request #690 from sajith/3247.storage-py-neovw-to-twt
Use twisted.web.template in web/storage.py

Fixes: ticket:3247
2020-07-06 16:18:34 -04:00
Itamar Turner-Trauring
906d6ac291 Switch to flake8 as a better way of running pyflakes. 2020-07-06 13:50:06 -04:00
Itamar Turner-Trauring
b77807c558 News entry. 2020-07-02 14:29:15 -04:00
Jean-Paul Calderone
f9ac0a7a9e
news fragment 2020-07-01 15:50:47 -04:00
meejah
ffd24b9c7f
Merge pull request #728 from meejah/ticket3317-verified-fakes
Ticket 3317: start of verified fakes
2020-06-30 19:40:39 +00:00
Sajith Sasidharan
9b68b484bd Run integration tests on Windows on GitHub Actions
Integration tests are currently not run on Windows, because they
turned out to be a little unreliable: sometimes they fail, and when
that happens restarting the test would make things pass.

We will re-enable them and see what happens.
2020-06-22 16:32:26 -04:00
Sajith Sasidharan
df01c65540 Add newsfragment 2020-06-18 18:38:24 -04:00
Sajith Sasidharan
c8d218fb9f Add newsfragment 2020-06-17 21:18:14 -04:00
Sajith Sasidharan
7a23c8ed6c
Merge pull request #724 from sajith/3312.webui-directory-fix
Fix for "the webapi does not allow empty pathname components"

Fixes: ticket:3312
2020-06-17 10:55:21 -04:00
Sajith Sasidharan
bd20f8d6f4 Update newsfragment text 2020-06-16 12:10:44 -04:00
meejah
caf77be8ae different words for news 2020-06-13 02:05:27 -06:00
meejah
213d0348a8 news 2020-06-11 13:36:28 -06:00
Sajith Sasidharan
d7288ee238 Update newsfragment 2020-06-05 09:28:36 -04:00
Sajith Sasidharan
dd3b567a86 Add newsfragment 2020-06-02 12:06:48 -04:00
Sajith Sasidharan
ae7802fc0c Add newsfragment 2020-05-29 09:24:47 -04:00
Sajith Sasidharan
bd799d9d72 Add newsfragment 2020-05-22 22:18:58 -04:00
Sajith Sasidharan
00f70f6539 Add newsfragment 2020-05-22 20:08:34 -04:00
Sajith Sasidharan
19e40e2193 Add newsfragment 2020-05-14 16:09:54 -04:00
Sajith Sasidharan
538503c0f8
Merge pull request #717 from sajith/3289.status-publish-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.PublishStatusPage

Fixes: ticket:3289
2020-05-14 10:09:57 -04:00
Sajith Sasidharan
78c214b7ff
Merge pull request #716 from sajith/3290.status-retrieve-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.RetrieveStatusPage

Fixes: ticket:3290
2020-05-13 19:39:23 -04:00
Sajith Sasidharan
d87dfaf5a0
Merge pull request #714 from sajith/3291.status-mapupdate-nevow-to-twisted-web
Replace nevow with twisted.web.template in status.MapupdatePage

Fixes: ticket:3291
2020-05-13 18:22:16 -04:00
Sajith Sasidharan
166be8b4dd
Merge pull request #719 from sajith/3309.github-actions-run-pyinstaller-executable
Run PyInstaller-generated binary in GitHub Actions

Fixes: ticket:3309
2020-05-13 16:09:04 -04:00
meejah
466369dd69
Merge pull request #669 from meejah/make-pypy-work
Make pypy work
2020-05-13 12:44:23 -06:00
Sajith Sasidharan
b1d7e99671 Try running PyInstaller-generated binary in GitHub Actions 2020-05-12 18:15:17 -04:00
meejah
a5ea767352
Merge pull request #718 from sajith/3308.remove-web-common-rendermixin
Remove web.common.RenderMixin
2020-05-12 11:36:35 -06:00
Sajith Sasidharan
316c02c192
Merge pull request #709 from sajith/3304.remove-trollius-from-nixos-ci
Remove trollius from NixOS CI

Fixes: ticket:3304
2020-05-12 07:46:42 -04:00
Sajith Sasidharan
3fad9a127c Remove web.common.RenderMixin
Fixes: ticket:3308
2020-05-12 07:40:22 -04:00
Sajith Sasidharan
a4bc31a137 Add newsfragment 2020-05-11 11:43:04 -04:00
Sajith Sasidharan
a39f6d36f4 Add newsfragment 2020-05-07 16:40:55 -04:00
Sajith Sasidharan
1602c66250 Render map update status using twisted.web.template
Fixes: ticket:3291
2020-05-06 09:06:56 -04:00
Sajith Sasidharan
3b0ace1710
Merge pull request #708 from sajith/3293.status-helper-nevow-to-twisted-web
Render helper status page using twisted.web.template

Fixes: ticket:3293
2020-05-05 16:00:24 -04:00
Sajith Sasidharan
5e4f2d88f1
Merge pull request #710 from sajith/3305.root-from-nevow-to-twisted-web
Move root.Root from nevow to twisted.web.template

Fixes: ticket:3305
2020-05-05 15:56:21 -04:00
Sajith Sasidharan
edd4cab42b Replace nevow with twisted.web in test.web.test_grid 2020-05-05 11:51:28 -04:00
meejah
d06127c720 news 2020-05-04 21:59:15 -06:00
meejah
7d0d4c5513 newsfragment 2020-05-04 16:54:43 -06:00
meejah
8645934e87 Merge branch 'release-1.14.0-rc0' 2020-05-04 14:23:53 -06:00
Sajith Sasidharan
df88672655 Add newsfragment 2020-05-04 11:52:07 -04:00
Sajith Sasidharan
e2c6d288bf
Merge pull request #699 from sajith/3294.incident-reporter-to-nevow
Remove nevow from allmydata.web.root.IncidentReporter
2020-04-27 10:12:27 -04:00
Sajith Sasidharan
d27e5e0afe Add newsfragment 2020-04-24 19:04:21 -04:00
meejah
c385e958a8 Merge branch 'master' into ticket3252-port-web-directory.remaining.1 2020-04-23 12:24:00 -06:00
Sajith Sasidharan
03f5ae2742 Add newsfragment 2020-04-22 18:02:33 -04:00
Sajith Sasidharan
225bb5854a Add empty news fragment re. Statistics page rendering 2020-04-21 11:53:48 -04:00
meejah
7c27f295a9 news 2020-04-18 01:52:17 -06:00
Sajith Sasidharan
a14cee5cce Remove nevow from allmydata.web.root.IncidentReporter
This change calls for an explanation:

- `RenderMixin` doesn't seem to be adding anything here, so it is
   gone.

- The web browser was unhappy without a charset in the response
  (Firefox 74 was anyway), so `content-type` header also gets a
  `charset=UTF-8`.

- Returning a Unicode string made nevow appserver unhappy, so it is
  just a `str`.  The precise error message was:

  exceptions.TypeError: ('Could not adapt', u'An incident report has been saved to logs/incidents/ in the node directory.', <InterfaceClass nevow.inevow.IResource>)

Fixes: ticket:3294
2020-04-17 15:44:39 -04:00
Sajith Sasidharan
9bb7812148 Add news fragment 2020-04-17 15:25:42 -04:00
Jean-Paul Calderone
34e85ac515
Merge pull request #707 from tahoe-lafs/3303.disable-eliot-test-suite
Disable Eliot test suite
2020-04-17 14:06:48 -04:00
Sajith Sasidharan
e8695f41a0
Merge pull request #706 from sajith/3299.update-pypy
Use 2.7-buster Docker image for pypy
2020-04-17 06:44:00 -04:00
Jean-Paul Calderone
d308577397
Fixes: ticket:3303 2020-04-16 08:24:31 -04:00
Jean-Paul Calderone
2136ef46a1
Merge pull request #695 from tahoe-lafs/3284.remove-magic-folder
Remove magic-folder, now a stand-alone project

See https://github.com/LeastAuthority/magic-folder

Fixes: ticket:3284
2020-04-16 08:07:38 -04:00
Jean-Paul Calderone
66cc6e3b76
Merge pull request #705 from tahoe-lafs/3302.report-listener-creation
Report Foolscap Tub Listener creation stack on failure

This may help ease further debugging of EADDRINUSE failures from the test suite.
2020-04-16 07:57:50 -04:00
Sajith Sasidharan
6e6cdb353e Add newsfragment 2020-04-14 16:29:17 -04:00
Jean-Paul Calderone
47bef6038f
news fragment 2020-04-14 08:41:10 -04:00
Jean-Paul Calderone
2c6b402e0a
news fragment 2020-04-13 12:20:03 -04:00
Jean-Paul Calderone
20ff76d282
Merge remote-tracking branch 'origin/master' into 3284.remove-magic-folder 2020-04-13 11:50:38 -04:00
Jean-Paul Calderone
e9ff5e864f
Merge pull request #703 from tahoe-lafs/3298.nixos-eliot-ci
Fix Eliot failures on NixOS CI job

Fixes: ticket:3298
2020-04-13 11:46:54 -04:00
Jean-Paul Calderone
694c020862
Merge pull request #702 from tahoe-lafs/3297.deprecations-ci
Fix deprecations CI job

Fixes: ticket:3297
2020-04-13 11:45:53 -04:00
Jean-Paul Calderone
333ca2aa0a
news fragment 2020-04-13 11:01:33 -04:00
Jean-Paul Calderone
03dfb10863
news fragment 2020-04-13 10:37:24 -04:00
Jean-Paul Calderone
757dd61eb5
news fragment 2020-04-13 10:11:36 -04:00
Jean-Paul Calderone
c4dac3eb31
Merge pull request #696 from sajith/3277.github-actions-for-ci
Use GitHub Actions for macOS and Windows CI
2020-04-13 10:05:47 -04:00
meejah
843fca4a6a update NEWS.txt for release 2020-03-11 17:38:50 -06:00
meejah
602c6d1811 news 2020-03-11 10:54:21 -06:00
Sajith Sasidharan
bcfd3a5eb8 Pass posargs to py.test when running integration tests
Running "tox -e integration" takes a while.  It would be helpful to
run tests from just one file.  With this change, we can do that, like
so:

  $ tox -e integration -- integration/test_web.py

Or even just one test, like so:

  $ tox -e integration -- integration/test_web.py::test_index

With this investigating failing integration tests will be a little
easier, hopefully.

Fixes: ticket:3285
2020-03-06 15:37:19 -05:00
Sajith Sasidharan
5862e1bea3 Use GitHub Actions for CI.
Fixes: ticket:3277
2020-02-20 22:19:21 -05:00
Jean-Paul Calderone
461f42e7bc
news fragment 2020-02-13 10:14:25 -05:00
Jean-Paul Calderone
4d3474a00c
Merge pull request #691 from tahoe-lafs/bdist-wheel-with-version
Automatically update the version with `bdist_wheel`

Fixes: ticket:3281
2020-02-11 13:56:00 -05:00
Jean-Paul Calderone
f032cd50d0
Merge pull request #678 from tahoe-lafs/2239.remove-tahoesvc-and-pkgresutil
Remove tahoesvc and pkgresutil

Fixes: ticket:2239
2020-02-11 13:29:46 -05:00
Jean-Paul Calderone
4bf096218f
Merge pull request #680 from tahoe-lafs/3274.skip-broken-eliot-test
Skip the broken eliot test on CI

Fixes: ticket:3274
2020-02-11 12:30:25 -05:00
Jean-Paul Calderone
3bc015ad81 news fragment 2020-02-10 15:24:17 -05:00
meejah
a351b5a280
Merge pull request #692 from tahoe-lafs/3282.towncrier-issue-links
towncrier issue links
2020-02-07 09:11:37 -07:00
Jean-Paul Calderone
ac66007b94 news fragment 2020-02-07 09:26:18 -05:00
Jean-Paul Calderone
5d9df98c03 news fragment 2020-02-04 19:54:01 -05:00
Sajith Sasidharan
2fd6d089a4 Add news fragment 2020-01-27 14:30:41 -05:00
Jean-Paul Calderone
5bd84895fd
Merge pull request #685 from tahoe-lafs/2392.pywin32
Replace pypiwin32 with pywin32

Fixes: ticket:2392
2020-01-20 14:09:32 -05:00
Jean-Paul Calderone
0d7304a2ea
Merge pull request #687 from tahoe-lafs/3276.appveyor-vs-setuptools
Attempt to inherit the base dependencies in the pyinstaller env

Fixes: ticket:3276
2020-01-20 14:04:43 -05:00
Jean-Paul Calderone
c1644734f1
Merge pull request #684 from tahoe-lafs/2098.remove-pyutil
Remove the direct pyutil dependency

Fixes: ticket:2098
2020-01-20 13:56:22 -05:00
Jean-Paul Calderone
3de23ddf9d
Merge pull request #686 from tahoe-lafs/2771.remove-channel-use
Remove `Request.channel` use

Fixes: ticket:2771
2020-01-20 11:45:24 -05:00
Jean-Paul Calderone
ab4c9421c3 mention zbase32 as well 2020-01-20 11:44:04 -05:00
Jean-Paul Calderone
6d3461d563 news fragment 2020-01-20 11:35:53 -05:00
Jean-Paul Calderone
c4b6ca1c7d
Merge pull request #683 from tahoe-lafs/1827.remove-tahoe-rm
Remove "tahoe rm"

Fixes: ticket:1827
2020-01-20 11:09:30 -05:00
Jean-Paul Calderone
5e1c3df336
Merge pull request #677 from tahoe-lafs/2266.remove-repeatable-random
Remove repeatable random test helper

Fixes: ticket:2266
2020-01-20 10:08:16 -05:00
Jean-Paul Calderone
65a7e6731b
Merge pull request #676 from tahoe-lafs/3271.pip-vs-setuptools-vs-the-world
Get a compatible setuptools for the CI environment

Fixes: ticket:3271
2020-01-20 08:50:49 -05:00
Jean-Paul Calderone
d5d507a385 news fragment 2020-01-17 11:45:02 -05:00
Jean-Paul Calderone
af6513c0cf news fragment 2020-01-17 10:59:17 -05:00
Jean-Paul Calderone
a6ab9bd31c news fragment 2020-01-17 09:59:53 -05:00
Jean-Paul Calderone
c1fa72bb7c news fragment 2020-01-17 09:14:30 -05:00
Jean-Paul Calderone
b5805ff633 news fragment 2020-01-15 15:45:47 -05:00
Jean-Paul Calderone
ac69937436 news fragment 2020-01-15 14:24:06 -05:00
Jean-Paul Calderone
f5f27b8d6b
Merge pull request #675 from tahoe-lafs/3272.i2p
Pin a known working foolscap

Fixes: ticket:3272
2020-01-13 19:13:08 -05:00
Jean-Paul Calderone
e5abd358ae news fragment 2020-01-13 15:33:14 -05:00
Jean-Paul Calderone
9a508adf5f news fragment 2020-01-13 15:29:34 -05:00
Jean-Paul Calderone
4d1a195269 news fragment 2020-01-13 10:57:06 -05:00
Jean-Paul Calderone
83bbd03132 news fragment 2020-01-13 10:54:24 -05:00
Jean-Paul Calderone
d4f909f197 less implementation specific 2020-01-09 14:26:42 -05:00
Jean-Paul Calderone
b9e794a5c8 Merge remote-tracking branch 'meejah/codechecks-delete-local.0' into 2941.codechecks-clean 2020-01-09 14:19:46 -05:00
meejah
0015fdf866 news 2019-12-21 03:57:00 -07:00
meejah
c336467938
Merge pull request #671 from tahoe-lafs/3268.deprecations
Avoid the deprecated attrs API
2019-12-18 22:52:01 +00:00
Jean-Paul Calderone
854e83c812 news fragment 2019-12-18 15:31:30 -05:00
Jean-Paul Calderone
010a14abe7 news fragment 2019-12-18 15:24:21 -05:00
Jean-Paul Calderone
5323df8867 news fragment 2019-12-13 10:48:34 -05:00
Jean-Paul Calderone
414e89794a news fragment 2019-11-19 12:56:17 -05:00
Jean-Paul Calderone
0dd7b27b56 news fragment 2019-11-08 14:12:08 -05:00
Jean-Paul Calderone
c2257685c2 Merge remote-tracking branch 'origin/master' into integration/storage-economics 2019-11-08 10:42:26 -05:00
meejah
b92478f89c
Merge pull request #655 from meejah/ticket3252-port-uri-handler
3257: port uri handler
2019-11-05 05:01:08 +00:00
meejah
3b07a2873e
Merge pull request #659 from tahoe-lafs/3255.python3-porting-done-oracle
Add a Python 3 porting-done oracle to the test suite
2019-11-05 05:00:25 +00:00
Jean-Paul Calderone
f86dd90013 news fragment 2019-10-29 09:02:10 -04:00
Jean-Paul Calderone
351c7bad45 news fragment 2019-10-16 19:58:15 -04:00
Jean-Paul Calderone
bfeff6eb8d news fragment 2019-10-16 15:20:32 -04:00
Jean-Paul Calderone
8c1f536ba4 Merge remote-tracking branch 'origin/master' into integration/storage-economics 2019-10-04 12:02:00 -04:00