Promote python3-paramiko to Recommends in the Ubuntu delta

Bug #1991569 reported by Simon Quigley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dput (Ubuntu)
Fix Released
Medium
Simon Quigley

Bug Description

In the changelog for dput 1.1.2ubuntu1, I noticed a few changelog entries related to SFTP support:

    - Implement a new sftp method that connects via openssh and then
      uses paramiko's sftp support. Some code copied from bzr.
    - Add ssh-ubuntu and ssh-ppa upload targets using sftp protocols and ssh
      provided username. Set login name in ~/.ssh/config for ubuntu &
      launchpad hosts to match the launchpad login name.

On a freshly-installed system, python3-paramiko is not grabbed as a Recommended package, thus the following error is shown:

$ dput ssh-ubuntu ../lubuntu-artwork_22.10.2_source.changes
D: Setting host argument.
Checking signature on .changes
gpg: ../lubuntu-artwork_22.10.2_source.changes: Valid signature from E27F2CF8458C2FA4
Checking signature on .dsc
gpg: ../lubuntu-artwork_22.10.2.dsc: Valid signature from E27F2CF8458C2FA4
Uploading to ssh-ubuntu (via sftp to upload.ubuntu.com):
E: paramiko must be installed to use sftp transport.

If the entry in /etc/dput.cf is shipped by default, why not at least promote python3-paramiko to Recommends? It's in main, so a MIR wouldn't be an issue, and it would promote secure practices.

I can do the upload (22.10 if suitable, or 23.04 once it opens) if we can decide on a direction.

Thanks.

Tags: rfc
Revision history for this message
William Wilson (jawn-smith) wrote :

Let's go ahead and get this uploaded to 22.10. It's not a new feature, so it's not subject to feature-freeze. It's also not a seeded package, so it should be fine to upload.

Dan Bungert (dbungert)
Changed in dput (Ubuntu):
status: New → Triaged
Revision history for this message
Simon Chopin (schopin) wrote :

This has been uploaded to Kinetic and is currently in the Unapproved queue.

Changed in dput (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dput - 1.1.2ubuntu2

---------------
dput (1.1.2ubuntu2) kinetic; urgency=medium

  * Promote python3-paramiko to Recommends, to promote the usage of
    ssh-ubuntu as an upload target over ubuntu (LP: #1991569).

 -- Simon Quigley <email address hidden> Wed, 05 Oct 2022 08:47:02 -0500

Changed in dput (Ubuntu):
status: In Progress → 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.