[PATCH] Install Python 3.4 in Docker
Stephen Finucane
stephenfinucane at hotmail.com
Fri Sep 2 06:32:51 AEST 2016
On 30 Aug 10:50, Daniel Axtens wrote:
> Stephen Finucane <stephenfinucane at hotmail.com> writes:
>
> > On 26 Aug 16:55, Daniel Axtens wrote:
> >> Currently, we tox test against Python 3.4. Python 3.4 is included
> >> with Ubuntu 14.04, which is supported for several years to come,
> >> so we want to keep supporting it.
> >>
> >> However, Python 3.4 isn't included with Ubuntu 16.04, which is
> >> what the Docker image is based on.
> >>
> >> We could downgrade the container to 14.04, but then we'd struggle
> >> to get Python 3.5 into the container. Python 3.5 is the most
> >> recent in the Python 3 series, so we should also be supporting it.
> >>
> >> Add the apt sources for Trusty and pull in Python 3.4 from there.
> >>
> >> Signed-off-by: Daniel Axtens <dja at axtens.net>
> >
> > I need to test this, but it looks good. Just to confirm, the aim is to
> > get both Python 3.4 and 3.5 on the system, correct?
>
> Yes, that's right. I can tweak the commit message if you like.
No need, I'll do that.
Reviewed-by: Stephen Finucane <stephenfinucane at hotmail.com>
I wonder if it would be worth looking at the 'deadsnake' repo at some
point in the future? Perhaps when Python 3.6 is release?
Stephen
More information about the Patchwork
mailing list