Fix shebang to be /usr/bin/python3

Bug #1283277 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Fix Released
High
Barry Warsaw
system-image (Ubuntu)
Fix Released
High
Barry Warsaw

Bug Description

Right now, system-image-cli and system-image-dbus get a Python version specific shebang, e.g. #! /usr/bin/python3.4. They should just use /usr/bin/python3 since they aren't minor version specific.

This currently requires an override_dh_python3 in d/rules:

override_dh_python3:
 dh_python3 --shebang=/usr/bin/python3

Tags: client

Related branches

Barry Warsaw (barry)
Changed in system-image (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Barry Warsaw (barry) wrote :

I wonder if we should also Depend on python3.4 specifically? It would be helpful to prevent pulling both 3.3 and 3.4 into the phone image.

Changed in ubuntu-system-image:
milestone: none → 2.2
assignee: nobody → Barry Warsaw (barry)
Changed in system-image (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
Changed in ubuntu-system-image:
importance: Low → High
Changed in system-image (Ubuntu):
importance: Low → High
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Triaged → Fix Committed
Changed in system-image (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-image - 2.2-0ubuntu1

---------------
system-image (2.2-0ubuntu1) trusty; urgency=medium

  [ Barry Warsaw ]
  * New upstream release.
    - LP: #1284217 - When CheckForUpdate() is called a second time, while
      an auto-download is in progress, but after the first check is
      complete, we send an UpdateAvailableStatus signal with the cached
      information.
    - LP: #1287919 - Close a race condition when manually downloading and
      issuing multiple CheckForUpdate calls.
    - LP: #1278589 - Support disabling either HTTP or HTTPS services for
      custom system image servers.
    - Allow the channel.ini file to override the [service] section.
    - LP: #1287287 - Do not do atomic renames of temporary download files;
      ubuntu-download-manager now supports this by default.
    - LP: #1250817 - Exceptions in the state machine are caught and
      logged, with an appropriate error message added to
      UpdateAvailableStatus signals. These exceptions do not percolate up
      to the GLib main loop.
    - LP: #1279532 - During testing, pass the log dir argument to
      ubuntu-download-manager.
  * d/rules: Add override_dh_python3 rule to set shebang line to
    /usr/bin/python3. (LP: #1283277)
  * d/patches/lp1284217.patch: Removed; applied upstream.
 -- Ubuntu daily release <email address hidden> Mon, 17 Mar 2014 17:28:16 +0000

Changed in system-image (Ubuntu):
status: Fix Committed → Fix Released
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Fix Committed → 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.