Page MenuHomeSolus

Update Python-Txtorcon to 20.0.0
ClosedPublic

Authored by alecbcs on Apr 30 2020, 6:12 AM.

Details

Summary

Updated Python-Txtorcon to 20.0.0 which deprecates Python 2 support and is required as a dependency of Magic Wormhole.

Summarized Changelog:

  • add TorControlProtocol.when_disconnected()
  • add detach= kwarg to Tor.create_onion_service()
  • add purpose= kwarg to TorState.build_circuit()
  • add privateKeyFile= option to endpoint parser.
  • use privateKey= option properly in endpoint parser.

Full changelog can be found here.

Test Plan

Tested 20.0.0 by building Magic Wormhole on top of it. Everything built and functioned as expected.

Diff Detail

Repository
R4441 python-txtorcon
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alecbcs created this revision.Apr 30 2020, 6:12 AM
alecbcs requested review of this revision.Apr 30 2020, 6:12 AM
JoshStrobl accepted this revision.Apr 30 2020, 8:12 PM
JoshStrobl edited the summary of this revision. (Show Details)
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Apr 30 2020, 8:12 PM

@JoshStrobl I think this might have gotten lost in the stack, but the new version of Magic Wormhole in the unstable repository requires this as a runtime dependency.

This revision was automatically updated to reflect the committed changes.