Ensure /usr/bin/python3 exists on Debian images

RESOLVED FIXED in Firefox 62

Status

task
RESOLVED FIXED
Last year
8 months ago

People

(Reporter: gps, Assigned: gps)

Tracking

3 Branch
mozilla62
Dependency tree / graph

Firefox Tracking Flags

(firefox62 fixed)

Details

Attachments

(1 attachment)

Currently, we don't have a /usr/bin/python3 on our Debian images. Per https://www.python.org/dev/peps/pep-0394/, this executable should exist.

This matters for cases where we want to write shebangs targeting the latest Python 3, since we often want to run on the latest Python 3 version instead of e.g. targeting python3.5.
Blocks: 1460470
Comment on attachment 8974571 [details]
Bug 1460451 - Add /usr/bin/python3 to Debian images;

https://reviewboard.mozilla.org/r/242908/#review248788

::: build/debian-packages/python3-defaults-wheezy.diff:28
(Diff revision 1)
> + Build-Depends: debhelper (>= 9), @bd_i586@
> +   lsb-release,
> +-  python3-minimal:any,
> +-  python3.5-minimal:any,
> +-  python3-docutils,
> +-  debiandoc-sgml

You're removing the debiandoc-sgml build dependency without a note in the changelog.
Attachment #8974571 - Flags: review?(mh+mozilla) → review+
Comment on attachment 8974571 [details]
Bug 1460451 - Add /usr/bin/python3 to Debian images;

https://reviewboard.mozilla.org/r/242908/#review248788

> You're removing the debiandoc-sgml build dependency without a note in the changelog.

That was an accident. I'll refresh the patch.
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6feab03068cb
Add /usr/bin/python3 to Debian images; r=glandium
https://hg.mozilla.org/mozilla-central/rev/6feab03068cb
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/d5102260d305
Port bug 1460451 [Add /usr/bin/python3 to Debian images]. r=jorgk
Version: Version 3 → 3 Branch
You need to log in before you can comment on or make changes to this bug.