Commit Graph

10677 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
6983c79b26 Tests for allmydata.storage.common. 2020-09-14 14:03:02 -04:00
Itamar Turner-Trauring
4590c1d1f5 Port to Python 3. 2020-09-14 13:56:45 -04:00
Itamar Turner-Trauring
26a8a0bfc5 Make stats code deal with keys that are unicode. 2020-09-14 13:29:28 -04:00
Chad Whitacre
91a5c8ce95 Satisfy towncrier 2020-09-14 08:26:47 -04:00
Chad Whitacre
d5f9fd37f4 Add comment 2020-09-14 07:38:54 -04:00
Chad Whitacre
3c89e7d9f5 Conform job names to v2.1 requirements (no dots) 2020-09-14 07:32:04 -04:00
Chad Whitacre
ed8ce8b18c Bump version from 2 to 2.1
What will break?
2020-09-14 07:12:47 -04:00
Jason R. Coombs
1b412a6e9f Use python rather than relying on shell-specific syntax. Tested on bash and xonsh on macOS. 2020-09-11 15:11:01 -04:00
Itamar Turner-Trauring
6ffda25d6b News fragment. 2020-09-11 15:04:52 -04:00
Itamar Turner-Trauring
7de84e32a3 Port to Python 3. 2020-09-11 15:02:42 -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
Itamar Turner-Trauring
e86e0d761f Better test coverage for allmydata.storage.immutable. 2020-09-11 14:51:08 -04:00
Jason R. Coombs
a7034de852 Add empty newsfragment. 2020-09-11 14:51:02 -04:00
Jason R. Coombs
5a40bf47f4 Convert print statements to print functions, even when commented. Fixes #3408. 2020-09-11 14:50:44 -04:00
Sajith Sasidharan
89d354dd66 Remove unused WebError import 2020-09-10 10:54:44 -04:00
Jean-Paul Calderone
23e1223c94
Merge pull request #792 from jaraco/3394.py38-tests
Improve compatibility for later Pythons and restore tahoe command on Python 3

Fixes: ticket:3394
2020-09-10 10:14:13 -04:00
Sajith Sasidharan
ebd20b7f22 Merge 'origin/master' into 3382.remove-multi-format-page 2020-09-10 10:09:38 -04:00
Jean-Paul Calderone
d104303c4f Return ErrorPage instead of raising WebError 2020-09-10 08:56:44 -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
e893254855 Use Pyrsistent < 0.17.0 2020-09-08 17:23:08 -04:00
Sajith Sasidharan
810c7eefd8 Pin Pyrsistent at a Python 2.7 compatible version 2020-09-08 16:31:57 -04:00
Sajith Sasidharan
621abcd611 Mention known issue with non-determinism in coverage data 2020-09-08 16:07:46 -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
Itamar Turner-Trauring
fad93f4144 Use existing utility. 2020-09-08 14:13:22 -04:00
Itamar Turner-Trauring
6957540156 Assert nodeid is bytes, to ease porting. 2020-09-08 14:10:13 -04:00
Itamar Turner-Trauring
6da338a86a Note it's been ported. 2020-09-08 14:09:35 -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
e237b37069
Merge pull request #797 from tahoe-lafs/3396.storage-tests-python-3
Make allmydata.test.test_storage run (but not pass!) on Python 3

Fixes ticket:3396
2020-09-04 14:50:40 -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
ada3a35cc0
Merge pull request #801 from tahoe-lafs/3401.disable-pypy-coverage
Disable pypy coverage reporting

Fixes ticket:3401
2020-09-04 13:27:11 -04:00
Itamar Turner-Trauring
2787554a8b Make sure CircleCI see progress output from subunitv2 reporter. 2020-09-04 12:05:42 -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
ae1b0271df Add new developer guide with instructions on using pre-commit. 2020-09-03 18:59:46 -04:00
Jason R. Coombs
fd49047721 Add news fragment. 2020-09-03 18:48:16 -04:00
Itamar Turner-Trauring
f5a689f0e0 Extend timeout. 2020-09-01 12:46:16 -04:00
Itamar Turner-Trauring
063ee18da3 News fragment. 2020-09-01 12:45:32 -04:00
Itamar Turner-Trauring
0aec62b122 Fix lint. 2020-09-01 11:46:47 -04:00
Itamar Turner-Trauring
d195ae4323 Get rid of second, less lenient variant of ShouldFailMixin. 2020-09-01 11:43:24 -04:00
Itamar Turner-Trauring
f38bf07739
Merge pull request #793 from tahoe-lafs/3374.codec-monitor-python-3-take-2
Port codec, interfaces, monitor to Python 3

Fixes ticket:3374
2020-09-01 10:42:22 -04:00
Itamar Turner-Trauring
3fa919834a Finish port to Python 3. 2020-08-31 13:20:57 -04:00
Itamar Turner-Trauring
1cfe58a52d All of test_storage passes on Python 3. 2020-08-31 13:17:52 -04:00
Itamar Turner-Trauring
2b37da9ca0 filter() is lazy in Python 3. 2020-08-31 11:59:39 -04:00
Itamar Turner-Trauring
6c52a03030 Fix indent. 2020-08-31 11:59:34 -04:00
Jason R. Coombs
a3f5a0d7ac Merge branch 'master' into 3394.py38-tests 2020-08-30 12:06:56 -04:00
Jason R. Coombs
946502b660 Add pre-commit hook definition for flake8. 2020-08-30 11:47:19 -04:00