Comment 18 for bug 1194807

Revision history for this message
Mark McLoughlin (markmc) wrote :

ok, now that bug #1194742 is fixed ...

  $> virtualenv t5
  $> . t5/bin/activate
  $> pip install http://tarballs.openstack.org/oslo.config/oslo.config-master.tar.gz#egg=oslo.config-1.2.0.a34.g08203f6/ python-keystoneclient
  $> python -c 'from oslo.config.cfg import DeprecatedOpt'Traceback (most recent call last):
   File "<string>", line 1, in <module>
 ImportError: cannot import name DeprecatedOpt
 $> pip freeze | grep oslo.config
 oslo.config==1.2.0.a34.g08203f6

i.e. the code in t5/lib/python2.7/site-packages/oslo/config/__init__.py is the 1.1.1 code, whereas pip thinks the 1.2.0 version is installed

I can't see how this isn't a pip bug