Commit Graph

14736 Commits

Author SHA1 Message Date
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
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 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 b0c4f6d2ab Fix Python 2 tests. 2020-08-13 16:30:27 -04:00
Itamar Turner-Trauring af61571fa6 Accidentally passing test :( 2020-08-13 15:56:08 -04: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
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
Itamar Turner-Trauring 8167e85f7b Fix flake8 with __all__. 2020-08-13 15:11:14 -04:00
Itamar Turner-Trauring 2157da524d This needs an encoding too. 2020-08-13 15:04:44 -04:00
Itamar Turner-Trauring e113cba8d0 Address review comments. 2020-08-13 15:02:59 -04:00
Chad Whitacre ae87037e73 Filter tests we care about in CI for Python 3 2020-08-13 06:23:46 -04:00
Chad Whitacre 60078ce47f Satisfy towncrier 2020-08-13 06:23:45 -04:00
Chad Whitacre 306df53012 Expose TAHOE_LAFS_TRIAL_ARGS to config
This allows for working around a bug in trial under Python 3 where
--reporter and --rterror collide.
2020-08-13 05:55:51 -04:00
Chad Whitacre 96e3d94172 Fold py36 back into normal tox run
This removes the individual-test-based ratchet.
2020-08-13 05:55:48 -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
Itamar Turner-Trauring e0a52d8bf6
Merge pull request #758 from tahoe-lafs/3358.fileutil-to-python-3
Fixes ticket:3358

Port fileutil to python 3
2020-08-12 15:57:24 -04:00
Itamar Turner-Trauring cdccb93179 Flake fixes. 2020-08-12 15:52:12 -04:00
Itamar Turner-Trauring 5c9294ebf1 Port to Python 3. 2020-08-12 15:46:15 -04:00
Itamar Turner-Trauring 5a0fa7ff73 Test unicode_to_argv(). 2020-08-12 15:40:52 -04:00
Itamar Turner-Trauring b25f62d189 Clarifications. 2020-08-12 15:40:45 -04:00
Itamar Turner-Trauring e03c2a759f Port test_encodingutil.py to Python 3. 2020-08-12 15:14:04 -04:00
Itamar Turner-Trauring b04a65fc16 And more progress to Python 3. 2020-08-12 14:54:07 -04:00
Itamar Turner-Trauring e9d67b8d0f Even more progress towards Python 3 support. 2020-08-12 14:32:22 -04:00
Itamar Turner-Trauring f7e28ffb0b More progress towards Python 3. 2020-08-12 14:18:02 -04:00
Itamar Turner-Trauring 53bdc10e19 Some steps towards Python 3 support. 2020-08-12 13:10:10 -04:00
Maciej Fijalkowski 820586cadb try a bit harder to properly merge master 2020-08-12 18:27:50 +02:00
Maciej Fijalkowski c37a2b0a89 maybe this is the magic incantation 2020-08-12 18:15:14 +02:00
Maciej Fijalkowski a4a44fe112 make some changes to an opaque binary file 2020-08-12 18:02:00 +02:00
Maciej Fijalkowski 32a17caddb maybe that's how it should be? 2020-08-12 17:50:40 +02:00
Itamar Turner-Trauring e13c0cf4d3 Reorganize imports to make Python 3 support easier. 2020-08-12 10:23:30 -04:00
Itamar Turner-Trauring 5dde21f966 Merge remote-tracking branch 'origin/3358.fileutil-to-python-3' into 3376.encodingutil-python-3 2020-08-12 10:15:45 -04:00
Itamar Turner-Trauring 3c5f4f7ddf Merge remote-tracking branch 'origin/master' into 3376.encodingutil-python-3 2020-08-12 10:15:41 -04:00
Itamar Turner-Trauring 14b273953a Better fix, maybe. 2020-08-12 10:10:18 -04:00
Maciej Fijalkowski c21acc64f0 merge master 2020-08-12 15:42:00 +02:00