Ticket #5966 enhancement new

Opened 19 months ago

Last modified 3 months ago

Port twisted.scripts.trial to Python 3

Reported by: exarkun Owned by: realcr
Priority: normal Milestone: Python-3.x
Component: trial Keywords: python3
Cc: jml, onelson@…, Julian+Twisted@… Branch: branches/trial-script-py3-5966
(diff, github, buildbot, log)
Author: thijs Launchpad Bug:

Description

This is the "entry point" implementation for the command line trial tool. It would be great to be able to use the command line trial tool, instead of the stdlib runner, on Python 3. Porting twisted.scripts.trial is necessary for this.

Attachments

scripts_trial_py3.patch Download (0.7 KB) - added by realcr 3 months ago.
Minor syntax changes for python3 porting.

Change History

1

Changed 19 months ago by DefaultCC Plugin

  • cc jml added

2

Changed 13 months ago by onelson

  • cc onelson@… added

3

Changed 12 months ago by thijs

  • branch set to branches/trial-script-py3-5966
  • branch_author set to thijs

(In [38290]) Branching to 'trial-script-py3-5966'

4

Changed 12 months ago by Julian

  • cc Julian+Twisted@… added

5

Changed 3 months ago by realcr

  • keywords python3 review added

Adding a patch to fix some syntax issues regarding python3. - Changes raise statement to have braces. - Changes except statement to have the "as" keyword. - Added division,absolute_import in the future import.

Changed 3 months ago by realcr

Minor syntax changes for python3 porting.

6

Changed 3 months ago by Julian

  • owner set to realcr
  • keywords review removed

Hey! Thanks for working on these, I think we'll all be happy when trial finally does things on Py3 :).

If you haven't already, be sure to take a look at the porting plan – I think for this specifically, for one, the tests for this module (which live in twisted.trial.test.test_script) need to be runnable and pass. There are some syntax errors in it and some modules that probably need to come first, I think twisted.python.usage is probably a specific one here that probably will need knocking off before trial can run.

If you're having any trouble with these feel free to bug someone in #twisted-dev so that we're all on the same page.

Note: See TracTickets for help on using tickets.