*** This bug is a duplicate of bug 1626258 ***
    https://bugs.launchpad.net/bugs/1626258

I do not believe this is a duplicate of bug #1626258 as I continue to
experience the reported issue with salt:

```
python-pip:
  Installed: 8.1.1-2ubuntu0.4
salt-minion:
  Installed: 2015.8.8+ds-1

$ salt-call state.highstate
[...]
    Function: pip.installed
      Result: False
     Comment: An exception occurred in this state: Traceback (most recent call 
last):
                File "/usr/lib/python2.7/dist-packages/salt/state.py", line 
1626, in call
                  **cdata['kwargs'])
                File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 
1492, in wrapper
                  return f(*args, **kwargs)
                File 
"/usr/lib/python2.7/dist-packages/salt/states/pip_state.py", line 592, in 
installed
                  out = _check_pkg_version_format(pkg)
                File 
"/usr/lib/python2.7/dist-packages/salt/states/pip_state.py", line 176, in 
_check_pkg_version_format
                  ret['prefix'] = install_req.req.project_name
              AttributeError: 'Requirement' object has no attribute 
'project_name'
```

The patch for bug #1626258 does not return pip to supplying
'project_name', rather it fixes up other parts of pip which expect (as
salt does) 'project_name', and it does so by referencing 'name'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586381

Title:
  Pip states report "AttributeError: 'Requirement' object has no
  attribute 'project_name'" since python-pip (8.1.1-2ubuntu0.1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1586381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to