docker-library / pypy

Docker Official Image packaging for pypy
http://pypy.org/
MIT License
69 stars 46 forks source link

Remove python 2.7 installation inside pypy images #52

Closed ShadowJonathan closed 2 years ago

ShadowJonathan commented 3 years ago

In (at least) pypy:3.7, /usr/bin/python refers to python 2.7.

Aside from the fact 2.7 is deprecated and EOL, can /usr/bin/python inside this image please refer to pypy instead? (so that any python commands will automatically use pypy)

wglambert commented 3 years ago

Its an unfortunate side-effect of using the buildpack-deps image in the non-slim variants https://github.com/docker-library/docs/tree/master/python#multiple-python-versions-in-the-image pypy:slim doesn't have python in it