please use python3 in landscape-client-ui-install

Bug #1440366 reported by Matthias Klose
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Landscape Client
Won't Fix
Undecided
Unassigned
landscape-client (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

there is still the goal to deliver a desktop image without python2. please use python3 in landscape-client-ui-install script. It's a simple script and just works with python3.

a patch is attached, and shouldn't do anything for earlier releases. starting with vivid, python3 is used for the installer.

Tags: patch python3
Revision history for this message
Matthias Klose (doko) wrote :
Martin Pitt (pitti)
Changed in landscape-client (Ubuntu):
milestone: ubuntu-15.04 → ubuntu-15.05
Changed in landscape-client (Ubuntu):
assignee: nobody → Adam Collard (adam-collard)
Revision history for this message
Adam Collard (adam-collard) wrote :

A simple script that also includes "os.execl(sys.executable, sys.executable "... so the attached diff unfortunately doesn't go far enough.

Luckily enough Lucid is now EOL so we can use some newer Python idioms which should make the eventual port easier.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in landscape-client (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

any update on this? it was targeted for 15.05 ...

Revision history for this message
Matthias Klose (doko) wrote :

landscape-client package is obsolete according to
https://wiki.ubuntu.com/Python/FoundationsXPythonVersions

removed from the desktop seed

Changed in landscape-client (Ubuntu):
assignee: Adam Collard (adam-collard) → nobody
milestone: ubuntu-15.05 → none
status: Confirmed → Won't Fix
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

landscape-client isn't obsolete, just landscape-client-ui-install, and landscape-client-ui

Changed in landscape-client:
status: New → Won't Fix
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.