Comment 10 for bug 1626258

Revision history for this message
Felipe Reyes (freyes) wrote :

These are my findings:

1) debian/tests/*.sh scripts install a python package called 'world'[0], a new version of that package was uploaded in August 24th (version 4.0), this new version requires python >=3.4[1], so d/t/pip2-*.sh need to install world==3.1
2) pip tries to build a wheel during the installation of world using "python setup.py bdist_wheel", bdist_wheel is provided by python{,3}-wheel, which it is NOT a dependency of python{,3}-pip, it's in the "Recommends" section, so debian/tests/control needs to include "Restrictions: needs-recommends".

Having made the changes previously described I could run autopkgtest without errors:

autopkgtest [17:39:08]: test pip3-editable.sh: -----------------------]
autopkgtest [17:39:08]: test pip3-editable.sh: - - - - - - - - - - results - - - - - - - - - -
pip3-editable.sh PASS
autopkgtest [17:39:09]: @@@@@@@@@@@@@@@@@@@@ summary
pip2-root.sh PASS
pip3-root.sh PASS
pip2-user.sh PASS
pip3-user.sh PASS
pip3-editable.sh PASS

I'm attaching a new version of the patch that fixes these problems.

[0] https://pypi.python.org/pypi/world/
[1] require_python(0x30400f0)