From 64d0d39d0b77ba0df1f9ad2e77af50484f72e722 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley <fungi@yuggoth.org> Date: Mon, 23 Nov 2020 19:21:38 +0000 Subject: [PATCH] Use Python 3.x with launchpadlib The add-launchpad-credentials role installs the distro's python-launchpadlib package which, for the distros carrying that package at all, sets it up for Python 2.7. At this point Ubuntu has dropped the python-launchpadlib package entirely from their latest LTS release and Debian will do the same in their next release, but they have also carried a python3-launchpadlib package for years. Switch to it so this will work on newer systems. Change-Id: I92421cae32bf2da5851144337820685c79ec19ee --- roles/add-launchpad-credentials/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/add-launchpad-credentials/tasks/main.yaml b/roles/add-launchpad-credentials/tasks/main.yaml index f0eeb3bf8..2787040ba 100644 --- a/roles/add-launchpad-credentials/tasks/main.yaml +++ b/roles/add-launchpad-credentials/tasks/main.yaml @@ -12,6 +12,6 @@ - name: Install launchpadlib package: - name: python-launchpadlib + name: python3-launchpadlib state: present become: yes