← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1897987] Re: connection to py34 fails

 

This bug was fixed in the package sshuttle - 0.76-1ubuntu1.2

---------------
sshuttle (0.76-1ubuntu1.2) xenial; urgency=medium

  * d/p/lp1897987-Backward-compatibility-with-Python-2.4-server.patch:
    - Fix compatibility with remote py3.4 (LP: #1897987)
  * d/p/lp1897961-Fix-shell-quoting.patch:
    - Add missing import needed by previous commit backport
      (LP: #1897961)

sshuttle (0.76-1ubuntu1.1) xenial; urgency=medium

  [ Dan Streetman ]
  * d/p/lp1896299/0001-Add-support-for-iproute2.patch,
    d/p/lp1896299/0002-Small-refactoring-of-netstat-iproute-parsing.patch,
    d/p/lp1896299/0003-Backward-compatibility-with-Python-2.4-server.patch:
    - allow connecting to remote without netstat (LP: #1896299)
  * d/p/lp1592853-Use-versions-of-python3-greater-than-3.5-when-availa.patch:
    - detect if remote python is 'python' or 'python3' (LP: #1592853)
  * d/p/lp1873368/0001-Don-t-crash-if-we-can-t-look-up-peername.patch,
    d/p/lp1873368/0002-allow-Mux-flush-fill-to-work-with-python-3.5.patch,
    d/p/lp1873368/0003-Fix-python2-server-compatibility.patch:
    - fix interoperability with remote py2 and/or py3
      (same bug as below)

  [ Felipe Reyes ]
  * d/p/0001-compatibility-with-python38.patch:
    Backport patch to make sshuttle compatible
    with python-3.8. (LP: #1873368). Closes: #953621.

 -- Dan Streetman <ddstreet@xxxxxxxxxxxxx>  Wed, 30 Sep 2020 20:34:45
-0400

** Changed in: sshuttle (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1897987

Title:
  connection to py34 fails

Status in sshuttle package in Ubuntu:
  Fix Released
Status in sshuttle source package in Xenial:
  Fix Released

Bug description:
  [impact]

  connecting to a remote host with py3.4 fails

  [test case]

  root@lp1896299-x:~# sshuttle --python python3 -r lp1896299-t.lxd 1.2.3.4/24
  client: Connected.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "assembler.py", line 39, in <module>
    File "sshuttle.server", line 273, in main
  TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'
  client: fatal: server died with error code 1

  [regression potential]

  any regression would likely prevent the initial connection from being
  setup correctly.

  [scope]

  this is needed only for x

  this was fixed in 4241381d827ca42fd40b6a4bc5a4e2fdde92577b which is
  included upstream in v0.78.0 so bionic and later are already fixed.

  [other info]

  since xenial defaults to py35, this is mainly needed to connect from
  xenial to trusty using py3 instead of py2. this is particularly
  important with the change made in bug 1592853, which effectively
  causes sshuttle to default to py3 if it is found on the system
  (previously, it defaulted to py2 unless py3 version 3.5 exactly was
  available). so this bug is needed to allow sshuttle from x to t to
  continue working without needing to specify --python python2. Note
  that sshuttle will continue to use py2 (it will use simply 'python')
  on the remote system if py3 is not available.

  also the commit that fixes this was partially included in the backport
  for bug 1896299, this bug only adds a missing part of that backport
  into the patch file to fix this bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1897987/+subscriptions


References