Cannot import twisted.conch.ssh.keys

Bug #1549731 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Twisted
Unknown
Unknown
twisted (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned

Bug Description

$ python3 -c 'import twisted.conch.ssh.keys'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/twisted/conch/ssh/keys.py", line 34, in <module>
    from twisted.conch.ssh import common, sexpy
  File "/usr/lib/python3/dist-packages/twisted/conch/ssh/common.py", line 14, in <module>
    from twisted.conch.ssh._cryptography_backports import (
ImportError: No module named 'twisted.conch.ssh._cryptography_backports'

If I copy _cryptography_backports.py into place then it imports correctly.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python3-twisted 16.0.0~pre1-2ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-7.22-generic 4.4.2
Uname: Linux 4.4.0-7-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Feb 25 10:39:21 2016
InstallationDate: Installed on 2014-03-16 (710 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140316)
PackageArchitecture: all
SourcePackage: twisted
UpgradeStatus: Upgraded to xenial on 2015-11-22 (94 days ago)

Revision history for this message
Gavin Panella (allenap) wrote :
Changed in twisted (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package twisted - 16.0.0~pre1-3

---------------
twisted (16.0.0~pre1-3) experimental; urgency=medium

  * Add twisted.conch.ssh._cryptography_backports for Python3 installations.
    Issue #8220. LP: #1549731.
  * Add twisted.conch._version for Python3 installations. LP: #1549389.

 -- Matthias Klose <email address hidden> Thu, 25 Feb 2016 17:40:37 +0100

Changed in twisted (Ubuntu Xenial):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.