multi-build / docker-images

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

Update pip to 21.2.3 for Python 3.10 #12

Closed hugovk closed 3 years ago

hugovk commented 3 years ago

Please could you update the pip version to the new 21.2.3, released 5 days ago?

https://github.com/pypa/pip/releases/tag/21.2.3

It's needed for Python 3.10:

https://github.com/pypa/pip/issues/10253

Thank you!

mattip commented 3 years ago

It just so happens I regenerated these images after the release and it picked up pip 21.2.3. Please use the "focal" variant, since "xenial" is EOL. So if you got here via multibuild, you should use DOCKER_TEST_IMAGE: multibuild/focal_{PLAT}. Note this will not work for 32-bit linux as there is no "focal" distro for 32-bits.

``` $ docker pull multibuild/focal_x86_64:latest latest: Pulling from multibuild/focal_x86_64 16ec32c2132b: Already exists 80a90a5b8dc6: Pull complete 71ad410315c8: Pull complete 89b9e3167a9f: Pull complete 7c0af03a6d61: Pull complete 5c1806a88635: Pull complete f350322ee382: Pull complete 5b26ce747dc2: Pull complete Digest: sha256:0226c4eba92244f60d6f0b3e2ca8ecea800ad3cbad2ec516e48557cc024238b9 Status: Downloaded newer image for multibuild/focal_x86_64:latest docker.io/multibuild/focal_x86_64:latest $ docker run --rm -it multibuild/focal_x86_64 /bin/bash created virtual environment CPython3.8.10.final.0-64 in 229ms creator CPython3Posix(dest=/venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv) added seed packages: pip==21.2.2, setuptools==57.4.0, wheel==0.36.2 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator root@c8ff0fd90030:/# python3.10 -m pip --version pip 21.2.3 from /usr/lib/python3.10/dist-packages/pip (python 3.10) ```
mattip commented 3 years ago

Also there is now python3.10rc1 in the images.

hugovk commented 3 years ago

Yep, I was using Xenial (with multibuild), and it's now working with Focal. Thank you!