Python: Update Alpine to 3.5

Created on 26 Jan 2017  Â·  17Comments  Â·  Source: docker-library/python

Most helpful comment

my inner perfectionist is crying :'-(

May be add
3.6.0-alpine, 3.6-alpine, 3-alpine, alpine (3.6/alpine/Dockerfile) / stay with 3.4 Alpine for now, add deprecation warning and switch to latest alpine later and after that always use latest alpine /
3.6.0-alpine3.4, 3.6-alpine3.4, 3-alpine3.4, alpine3.4 (3.6/alpine3.4/Dockerfile)
3.6.0-alpine3.5, 3.6-alpine3.5, 3-alpine3.5, alpine3.5 (3.6/alpine3.5/Dockerfile)

All 17 comments

my inner perfectionist is crying :'-(

May be add
3.6.0-alpine, 3.6-alpine, 3-alpine, alpine (3.6/alpine/Dockerfile) / stay with 3.4 Alpine for now, add deprecation warning and switch to latest alpine later and after that always use latest alpine /
3.6.0-alpine3.4, 3.6-alpine3.4, 3-alpine3.4, alpine3.4 (3.6/alpine3.4/Dockerfile)
3.6.0-alpine3.5, 3.6-alpine3.5, 3-alpine3.5, alpine3.5 (3.6/alpine3.5/Dockerfile)

I would also use a python:3.6-alpine3.5 tag if there was one (driven mostly by LibreSSL, postgres @ 9.6, and no warning during update-ca-certs) ✨

Plz update to alpine 3.5

The docker-library/golang repository included the -alpine3.5 variant (https://github.com/docker-library/golang/tree/master/1.7/alpine3.5) following the discussion in https://github.com/docker-library/golang/pull/131.

How about using the same approach here?

It was a big mistake not to go for Alpine 3.5 when Python 3.6 was released. Now, I'd prefer if we don't get too crazy with tags, but sticking to Alpine 3.4 for another year until Python 3.7 is released would suck big time.

@Lubo Python 3.6 was released 2016-12-23; Alpine 3.5 was released 2016-12-22 -- we didn't even know we'd have to be reverting anything at that point, but yeah, we should've left 3.6 (a bit late now)

@nigma yeah, that's sane -- once https://github.com/docker-library/python/pull/194 settles, I'll take a look at adding alpine3.5 variants here

Trying to use Python 2.7 with R, which only available in alpine 3.5. Any reasons not to upgrade?

Alpine 3.6 is out and it's the new stable. Shouldn't we jump right there? Also, this issue has been around for nearly half a year now. What can we do speed the things up?

I've created PR #201 in order to bump the Alpine version to 3.6. The build is green for the PR.

I'm happy to reroll it to introduce a alpine3.6 tag if that is the preferred approach.

Yes, let's add explicit alpine3.6 variants here. See https://github.com/docker-library/golang/pull/162 for an example of doing that for the golang image.

I think we should start conservative and only include python:3.6 and _possibly_ python:2.7 initially (to also help encourage folks to update to the latest version).

Also, let me know if you are no longer interested in taking the lead on this change and I'm happy to take over.

@tianon thanks for the offer. I like a challenge so I'd like to continue to work on this. I would appreciate your feedback when I push my changes. I hope to get that done later today or some time tomorrow Australian time.

@tianon it took me a little long than planned, but I have made the changes you suggested above. There is an issue with the build that I would appreciate some help with. See PR #201 for all the details.

@tianon now that PR #201, which adds alpine 3.6 support for Python 2.7 and 3.6, has been merged can we close this issue?

Yep, thanks!

Was this page helpful?
0 / 5 - 0 ratings