multi-build / docker-images

BSD 2-Clause "Simplified" License
1 stars 9 forks source link

Default get-pip.py no longer supports Python 3.6 #27

Closed radarhere closed 2 years ago

radarhere commented 2 years ago

https://bootstrap.pypa.io/get-pip.py

min_version = (3, 7)

mattip commented 2 years ago

Is there a clear recommendation to prefer get-pip.py over python -m ensurepip; python -m pip install --upgrade pip (on python3)? I tend to prefer the latter, but I haven't seen any documentation to suggest either is preferable.

radarhere commented 2 years ago

https://pip.pypa.io/en/stable/installation/#supported-methods appears to give equal weight to both methods.

Although https://pip.pypa.io/en/stable/installation/#installation does also mention the possibility that Python might have "been modified by a redistributor to remove ensurepip". So one might consider get-pip.py to be more reliable across different environments.

mattip commented 2 years ago

Thanks @radarhere