[openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
Jay Pipes
jaypipes at gmail.com
Tue Nov 17 03:25:38 UTC 2015
On 11/15/2015 08:10 PM, Robert Collins wrote:
> On 16 November 2015 at 15:29, Jay Pipes <jaypipes at gmail.com> wrote:
>> Hi all,
>>
>> Really getting frustrated with a particular problem. I'm trying to build
>> oslo.versionedobjects locally (this problem occurs on both my lappie and my
>> desktop, running Ubuntu 15.04 and 15.10 respectively.
>>
>> When running tox -epy34, I'm getting an error about not being able to
>> install a dependency called ".[fixtures]":
>>
>> http://paste.openstack.org/show/478933/
>>
>> Matt Riedemann thought that it had something to do with me using an old
>> version of setuptools, but I've upgraded both my site packages setuptools
>> and the one in the tox virtualenv to the latest 18.5 setuptools (see proof
>> in paste above) and still getting the same problem.
>>
>> Any help would be appreciated!
>
> It probably means you're installing with an old pip. The most common
> way that happens is using distribution versions of virtualenv, because
> of how pip gets installed in tox virtualenvs:
>
> virtualenv makes the environment
> virtualenv takes a cached wheel from the environment *that virtualenv
> ran from* and unpacks it into the tox environment.
>
> tl;dr: sudo apt-get remove python-pip python-virtualenv; install pip
> using get-pip.py; sudo -H pip install virtualenv
>
> More info here:
> https://rbtcollins.wordpress.com/2015/07/12/bootstrapping-developer-environments-for-openstack/
Thanks, Robert, but unfortunately that didn't work. I still get the same
problem:
Downloading/unpacking .[fixtures]
Could not find any downloads that satisfy the requirement .[fixtures]
Is ".[fixtures]" really the correct name of the requirement?
Here is proof that I'm running the right versions of pip and virtualenv
(installed from scratch with sudo -H python get-pip.py and sudo -H pip
install virtualenv after clearing the system packages for both)
http://paste.openstack.org/show/479076/
Any other ideas? This is getting quite frustrating :(
Best,
-jay
More information about the OpenStack-dev
mailing list