Closed olliemath closed 2 years ago
I was afraid of this. :disappointed:
I suppose we should mirror https://github.com/docker-library/python/pull/647 and look at https://foss.heptapod.net/pypy/pypy/-/blob/release-pypy2.7-v7.3.5/lib-python/2.7/ensurepip/__init__.py vs https://foss.heptapod.net/pypy/pypy/-/blob/release-pypy3.7-v7.3.5/lib-python/3/ensurepip/__init__.py
Concretely, that would mean:
I've got a proposal up in #63 that avoids us scraping/choosing versions at all (and instead trusting pypy
to choose the appropriate versions).
Thanks, that seems sensible
https://github.com/docker-library/pypy/pull/61 managed to break our images in subtle ways with issues at runtime (rather than install) - I'm unsure how to upstream this as the exact issue is hard to pin down (see below image).
The fix was to revert back to the python3.7 version of setuptools. This should be the default, rather than supporting pypy 2.7 by using setuptools 44.x in the 3.7 image.