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)
** Patch added: "lp1626258_xenial.debdiff"
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756270/+files/lp1626258_xenial.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1626258
Title:
[SRU] AttributeError: 'Requirement' object has no attribute
'project_name'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs