Commit Graph

10277 Commits

Author SHA1 Message Date
Jason R. Coombs
8b553d2045 Add Python 3 compatibility for code paths relevant to 'tahoe --version'. 2020-08-21 19:55:34 -04:00
Jason R. Coombs
2d29265d71 Bypass Python 3 check when running under tox. 2020-08-21 19:55:34 -04:00
Jason R. Coombs
480bec6d0d Rename 'ShortReadOnlySFTPFile.async' to '.async_' for compatibility with Python 3.7 and later. 2020-08-21 19:55:34 -04:00
Jason R. Coombs
c48548a7ca Allow installation on later versions of Python. 2020-08-21 19:55:34 -04:00
Sajith Sasidharan
b79e9c4d61
Merge pull request #788 from sajith/3389.attrs-upper-bound
Add upper bound for `attrs` library

Fixes: ticket:3389
2020-08-21 16:40:28 -04:00
Sajith Sasidharan
a9fa70c3d5 Add upper bound for attrs library 2020-08-21 15:55:39 -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
eee3978243 Explain a bit better. 2020-08-20 13:34:00 -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
fe62573f2f
Merge pull request #782 from tahoe-lafs/3383.storage-tests-run-py-3
Make storage tests run (not pass, run) on Python 3
2020-08-20 12:59:42 -04:00
Itamar Turner-Trauring
5fc95d569f Improve explanations. 2020-08-20 12:39:38 -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
733b2cab36 Remove unnecessary import. 2020-08-19 13:26:57 -04:00
Itamar Turner-Trauring
8279be38c1 Finish porting to Python 3. 2020-08-19 13:25:11 -04:00
Itamar Turner-Trauring
35ac5a62e7 Tests now pass on Python 3 too. 2020-08-19 12:15:39 -04:00
Itamar Turner-Trauring
ff582c5129 Some progress towards running crawler on Python 3. 2020-08-19 11:38:59 -04:00
Itamar Turner-Trauring
e971ccf58e Unbreak so tests pass on Python 2 again. 2020-08-19 11:12:29 -04:00
Itamar Turner-Trauring
e044309bd3 Finish port to Python 3. 2020-08-19 11:03:54 -04:00
Itamar Turner-Trauring
14f349e846 Manual porting to Python 3. 2020-08-19 11:02:26 -04:00
Itamar Turner-Trauring
416ab64335 Fix an import. 2020-08-19 10:50:44 -04:00
Itamar Turner-Trauring
ed2f6bf3df News file. 2020-08-18 13:12:05 -04:00
Itamar Turner-Trauring
41ad4aea91 Make imports work. 2020-08-18 13:10:57 -04:00
Itamar Turner-Trauring
80b9a9b3ce Split the test module in two. 2020-08-18 13:03:36 -04:00
Itamar Turner-Trauring
01ba0d0316 News file. 2020-08-17 13:30:12 -04:00
Itamar Turner-Trauring
97c3be0509 Make quote_* and friends return unicode. 2020-08-17 13:29:49 -04:00
Itamar Turner-Trauring
6969872a7e
Merge pull request #766 from tahoe-lafs/3373.happinessutil-python-3
Fixes ticket:3373

Port happinessutil to Python 3
2020-08-17 13:20:28 -04:00
Itamar Turner-Trauring
f95f9c481e Explanation. 2020-08-17 12:04:52 -04:00
Itamar Turner-Trauring
af5e9eaf67 A better name. 2020-08-17 11:29:27 -04:00
Itamar Turner-Trauring
03ed0fd66f Another function that should be a no-op on Python 3. 2020-08-17 11:29:09 -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
59b5f8c0b0
Merge pull request #774 from tahoe-lafs/3376.encodingutil-python-3
Port encodingutil to Python 3, part 1

Fixes ticket:3376
2020-08-14 14:30:19 -04:00
Itamar Turner-Trauring
2cc2cb6a7f Rename to_str() to the more accurate to_bytes(). 2020-08-14 13:49:48 -04:00
Jean-Paul Calderone
6eba1469f3
Back out subunit2junitxml exit status change from ticket:3336
I don't know why I included this change.  It was certainly based on a faulty
assumption (that the tox command would exit with error if a test failed - it
won't).  Apart from that, the motivation was the Python 3.6 ratchet job.  The
test run was expected to fail but then the *ratchet* tool was in charge of
deciding if this indicated real failure or not.  Failing at this point
prevented that logic from running.  Now the ratchet is gone and we want CI to
turn red if anything fails.
2020-08-14 13:10:54 -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
Itamar Turner-Trauring
97dd2fab72 Delete. 2020-08-14 13:08:24 -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
Jean-Paul Calderone
0a7589f0c2
Update the CircleCI configuration to get the reporter working for py36 2020-08-14 11:24:42 -04:00
Jean-Paul Calderone
76e5c40fc6
Add a module to the test suite which contains all of the other ported modules 2020-08-14 11:21:32 -04:00
Jean-Paul Calderone
f7c3c53206
Go directly to trial instead of the ratchet helper 2020-08-14 11:19:01 -04:00
Jean-Paul Calderone
9695e87fbd
Revert to master version of these configs 2020-08-14 11:16:45 -04:00
Itamar Turner-Trauring
da9913be45 Make sure it ends up in artifacts. 2020-08-14 10:47:55 -04:00
Chad Whitacre
647ed5d6e1 Use BASH_ENV to avoid duplication of job steps 2020-08-14 08:33:00 -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
a79c581332 Wrong branch. 2020-08-13 16:37:24 -04:00
Itamar Turner-Trauring
a3714a9970 Fix whitespace. 2020-08-13 16:32:32 -04:00
Itamar Turner-Trauring
942c5d52cf New passing tests. 2020-08-13 15:49:47 -04:00
Itamar Turner-Trauring
a2e707225b Fix the ratchet.sh script. 2020-08-13 15:48:21 -04:00
Itamar Turner-Trauring
2e5a982fde Merge remote-tracking branch 'origin/master' into 3376.encodingutil-python-3 2020-08-13 15:23:15 -04:00