On Sun, Mar 19, 2017 at 03:26:36PM -0400, Leo Famulari wrote: > On Sat, Mar 18, 2017 at 09:19:01PM +0100, Danny Milosavljevic wrote: > > >There is also the question about zlib and the bundled pip: why is it > > >failing now? Here are some build logs showing differences between master and core-updates. For 2.7.12, on the master branch, there is this: ------ if test "xinstall" != "xno" ; then \ case install in \ upgrade) ensurepip="--upgrade" ;; \ install|*) ensurepip="" ;; \ esac; \ LD_LIBRARY_PATH=/tmp/guix-build-python-minimal-2.7.12.drv-0/Python-2.7.12 ./python -E -m ensurepip \ $ensurepip --root=/ ; \ fi Ignoring ensurepip failure: pip 8.1.1 requires SSL/TLS phase `install' succeeded after 31.5 seconds ------ I guess we didn't notice the lack of TLS support because the bundled pip is never able to reach the internet when used to build packages. For 2.7.13 without zlib, on core-updates, it does this: ------ if test "xinstall" != "xno" ; then \ case install in \ upgrade) ensurepip="--upgrade" ;; \ install|*) ensurepip="" ;; \ esac; \ LD_LIBRARY_PATH=/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13 ./python -E -m ensurepip \ $ensurepip --root=/ ; \ fi Traceback (most recent call last): File "/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Lib/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Lib/ensurepip/__main__.py", line 4, in ensurepip._main() File "/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Lib/ensurepip/__init__.py", line 205, in _main default_pip=args.default_pip, File "/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Lib/ensurepip/__init__.py", line 108, in bootstrap _run_pip(args + [p[0] for p in _PROJECTS], additional_paths) File "/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Lib/ensurepip/__init__.py", line 31, in _run_pip import pip zipimport.ZipImportError: can't decompress data; zlib not available make: *** [Makefile:927: install] Error 1 phase `install' failed after 10.8 seconds ------ If you build 2.7.13 with zlib on core-updates (log not *not* attached): ------ if test "xinstall" != "xno" ; then \ case install in \ upgrade) ensurepip="--upgrade" ;; \ install|*) ensurepip="" ;; \ esac; \ LD_LIBRARY_PATH=/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13 ./python -E -m ensurepip \ $ensurepip --root=/ ; \ fi Collecting setuptools Collecting pip Installing collected packages: setuptools, pip Successfully installed pip-9.0.1 setuptools-28.8.0 phase `install' succeeded after 21.6 seconds ------