Pip states report "AttributeError: 'Requirement' object has no attribute 'project_name'" since python-pip (8.1.1-2ubuntu0.1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
Medium
|
Unassigned | ||
salt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Pip changed an internal API, which was then cherry-picked into python-pip (8.1.1-2ubuntu0.1). Salt relies on this API for the 'pip' states, which now report:
[ERROR ] An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/
**cdata[
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
out = _check_
File "/usr/lib/
ret['prefix'] = install_
AttributeError: 'Requirement' object has no attribute 'project_name'
This has been reported (and patched) upstream: https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: salt-minion 2015.8.8+ds-1
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Fri May 27 13:46:42 2016
JournalErrors:
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
-- No entries --
PackageArchitec
SourcePackage: salt
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in salt (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hundredpapercuts: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in python-pip (Ubuntu): | |
importance: | Undecided → Medium |
no longer affects: | python-pip (Ubuntu) |
no longer affects: | python-pip (Ubuntu Xenial) |
Status changed to 'Confirmed' because the bug affects multiple users.