Author cstratak
Recipients cstratak, dstufft, eric.araujo
Date 2017-02-10.10:14:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The latest versions of setuptools stopped bundling its dependencies and instead starting requiring them [0]. This seems to break virtualenvs as those dependencies are not bundled with python.

In order to reproduce it, replace the setuptools-28.8.0-py2.py3-none-any.whl with setuptools-34.1.1-py2.py3-none-any.whl at Lib/ensurepip/_bundled/ and change 




Then configure, make and make install:

This message will appear first:
Could not find a version that satisfies the requirement packaging>=16.8 (from setuptools) (from versions: )
No matching distribution found for packaging>=16.8 (from setuptools)

Which is one of the new dependencies.

./python3.7 -m test test_venv -v

Where the EnsurePipTest will fail due to this assertion [1] at the do_test_with_pip test case with "No module named pip\n' != ''".

One way to fix this would be to bundle the other wheels with python, not sure if that would be the ideal approach though.

Attaching a patch for Lib/ensurepip/ With this patch and adding the other wheels [2][3][4][5] at the _bundled directory fixes the issue.

Date User Action Args
2017-02-10 10:14:21cstrataksetrecipients: + cstratak, eric.araujo, dstufft
2017-02-10 10:14:21cstrataksetmessageid: <>
2017-02-10 10:14:21cstrataklinkissue29523 messages
2017-02-10 10:14:21cstratakcreate