Fix shebang to be /usr/bin/python3
Bug #1283277 reported by
Barry Warsaw
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 --shebang=
Related branches
lp:~barry/ubuntu-system-image/citrain-2.2
- Manuel de la Peña (community): Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 1484 lines (+646/-221)33 files modifiedNEWS.rst (+22/-0)
PKG-INFO (+1/-1)
debian/changelog (+26/-0)
debian/patches/lp1284217.patch (+0/-106)
debian/patches/series (+0/-1)
debian/rules (+3/-0)
ini-manpage.rst (+6/-2)
setup.cfg (+1/-1)
system_image.egg-info/PKG-INFO (+1/-1)
system_image.egg-info/SOURCES.txt (+4/-0)
system_image.egg-info/entry_points.txt (+1/-1)
systemimage/api.py (+16/-3)
systemimage/bag.py (+9/-1)
systemimage/config.py (+54/-14)
systemimage/dbus.py (+29/-13)
systemimage/download.py (+13/-39)
systemimage/main.py (+6/-2)
systemimage/scores.py (+1/-1)
systemimage/state.py (+2/-10)
systemimage/testing/controller.py (+2/-1)
systemimage/testing/dbus.py (+0/-2)
systemimage/testing/helpers.py (+11/-0)
systemimage/tests/data/channel_02.ini (+3/-0)
systemimage/tests/data/config_05.ini (+36/-0)
systemimage/tests/data/config_06.ini (+36/-0)
systemimage/tests/data/config_07.ini (+36/-0)
systemimage/tests/data/config_08.ini (+36/-0)
systemimage/tests/test_api.py (+16/-2)
systemimage/tests/test_bag.py (+61/-0)
systemimage/tests/test_config.py (+56/-4)
systemimage/tests/test_dbus.py (+128/-14)
systemimage/tests/test_main.py (+29/-1)
systemimage/version.txt (+1/-1)
Changed in system-image (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ubuntu-system-image: | |
status: | Triaged → Fix Committed |
Changed in system-image (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ubuntu-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.