Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
On 17 November 2015 at 16:25, Jay Pipeswrote: > On 11/15/2015 08:10 PM, Robert Collins wrote: ... > > 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? It means 'the fixtures extra of the project found in the current working directory. You can check setup.cfg if the project is a pbr using one, to see the defined extras. > 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 :( Can you attach/pastebin your log files? /home/jaypipes/repos/oslo.versionedobjects/.tox/py34/log/py34-1.log and /home/jaypipes/repos/oslo.versionedobjects/.tox/py34/log/py34-0.log ? also . .tox/py34/bin/activate pip list Thanks! -Rob -- Robert Collins Distinguished Technologist HP Converged Cloud __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
Just a quick note to say thank you to Robert, who helped me through my troubles on #openstack-dev. Robert, you rock. Thanks much! FWIW, the problem was indeed a bad version of virtualenv (the old Ubuntu one), and this is what I needed to do to resolve the issue: sudo apt-get remove -y python3-virtualenv python3-pip python3-tox wget https://bootstrap.pypa.io/get-pip.py sudo -H python3 get-pip.py sudo -H python3 -m pip install virtualenv sudo -H python3 -m pip install tox Best, -jay On 11/16/2015 08:02 PM, Robert Collins wrote: On 17 November 2015 at 16:25, Jay Pipeswrote: On 11/15/2015 08:10 PM, Robert Collins wrote: ... 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? It means 'the fixtures extra of the project found in the current working directory. You can check setup.cfg if the project is a pbr using one, to see the defined extras. 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 :( Can you attach/pastebin your log files? /home/jaypipes/repos/oslo.versionedobjects/.tox/py34/log/py34-1.log and /home/jaypipes/repos/oslo.versionedobjects/.tox/py34/log/py34-0.log ? also . .tox/py34/bin/activate pip list Thanks! -Rob __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
On 11/15/2015 08:10 PM, Robert Collins wrote: On 16 November 2015 at 15:29, Jay Pipeswrote: 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 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
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! Best, -jay __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
jay, can you please activate the venv and paste the "pip freeze" output? Thanks, dims On Sun, Nov 15, 2015 at 9:29 PM, Jay Pipeswrote: > 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! > > Best, > -jay > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Davanum Srinivas :: https://twitter.com/dims __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
ah right, it failed before it installed anything in the venv. Here's what i have on my box: http://paste.openstack.org/show/478934/ On Sun, Nov 15, 2015 at 9:46 PM, Jay Pipeswrote: > I get nothing at all from pip freeze: > > jaypipes@minty:~/repos/oslo.versionedobjects$ source .tox/py34/bin/activate > (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ pip freeze > (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ > > -jay > > > On 11/15/2015 09:40 PM, Davanum Srinivas wrote: >> >> jay, >> >> can you please activate the venv and paste the "pip freeze" output? >> >> Thanks, >> dims >> >> On Sun, Nov 15, 2015 at 9:29 PM, Jay Pipes 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! >>> >>> Best, >>> -jay >>> >>> >>> __ >>> OpenStack Development Mailing List (not for usage questions) >>> Unsubscribe: >>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> >> >> > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Davanum Srinivas :: https://twitter.com/dims __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
I get nothing at all from pip freeze: jaypipes@minty:~/repos/oslo.versionedobjects$ source .tox/py34/bin/activate (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ pip freeze (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ -jay On 11/15/2015 09:40 PM, Davanum Srinivas wrote: jay, can you please activate the venv and paste the "pip freeze" output? Thanks, dims On Sun, Nov 15, 2015 at 9:29 PM, Jay Pipeswrote: 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! Best, -jay __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
Sure, but I can't even get that far :( I don't understand why pip isn't installing anything at all. The cryptic "no such package .[fixtures]" error is hard to tell what precisely is going on. Any other ideas? Surprising that nobody else has run into this issue, frankly. Best, -jay On 11/15/2015 07:42 PM, Davanum Srinivas wrote: Sorry, wrong url. http://paste.openstack.org/show/478935/ -- dims On Sun, Nov 15, 2015 at 10:32 PM, Jay Pipeswrote: Isn't that showing your site-packages pip freeze? In other words, your non-virtualenv's pip-installed packages? -jay On 11/15/2015 10:16 PM, Davanum Srinivas wrote: ah right, it failed before it installed anything in the venv. Here's what i have on my box: http://paste.openstack.org/show/478934/ On Sun, Nov 15, 2015 at 9:46 PM, Jay Pipes wrote: I get nothing at all from pip freeze: jaypipes@minty:~/repos/oslo.versionedobjects$ source .tox/py34/bin/activate (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ pip freeze (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ -jay On 11/15/2015 09:40 PM, Davanum Srinivas wrote: jay, can you please activate the venv and paste the "pip freeze" output? Thanks, dims On Sun, Nov 15, 2015 at 9:29 PM, Jay Pipes 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! Best, -jay __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
Isn't that showing your site-packages pip freeze? In other words, your non-virtualenv's pip-installed packages? -jay On 11/15/2015 10:16 PM, Davanum Srinivas wrote: ah right, it failed before it installed anything in the venv. Here's what i have on my box: http://paste.openstack.org/show/478934/ On Sun, Nov 15, 2015 at 9:46 PM, Jay Pipeswrote: I get nothing at all from pip freeze: jaypipes@minty:~/repos/oslo.versionedobjects$ source .tox/py34/bin/activate (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ pip freeze (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ -jay On 11/15/2015 09:40 PM, Davanum Srinivas wrote: jay, can you please activate the venv and paste the "pip freeze" output? Thanks, dims On Sun, Nov 15, 2015 at 9:29 PM, Jay Pipes 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! Best, -jay __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
Sorry, wrong url. http://paste.openstack.org/show/478935/ -- dims On Sun, Nov 15, 2015 at 10:32 PM, Jay Pipeswrote: > Isn't that showing your site-packages pip freeze? In other words, your > non-virtualenv's pip-installed packages? > > -jay > > > On 11/15/2015 10:16 PM, Davanum Srinivas wrote: >> >> ah right, it failed before it installed anything in the venv. Here's >> what i have on my box: http://paste.openstack.org/show/478934/ >> >> On Sun, Nov 15, 2015 at 9:46 PM, Jay Pipes wrote: >>> >>> I get nothing at all from pip freeze: >>> >>> jaypipes@minty:~/repos/oslo.versionedobjects$ source >>> .tox/py34/bin/activate >>> (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ pip freeze >>> (py34)jaypipes@minty:~/repos/oslo.versionedobjects$ >>> >>> -jay >>> >>> >>> On 11/15/2015 09:40 PM, Davanum Srinivas wrote: jay, can you please activate the venv and paste the "pip freeze" output? Thanks, dims On Sun, Nov 15, 2015 at 9:29 PM, Jay Pipes 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! > > Best, > -jay > > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>> >>> >>> __ >>> OpenStack Development Mailing List (not for usage questions) >>> Unsubscribe: >>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> >> >> > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Davanum Srinivas :: https://twitter.com/dims __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [oslo][testing-cabal] Help needed getting oslo.versionedobjects to install in tox venv
On 16 November 2015 at 15:29, Jay Pipeswrote: > 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/ -Rob -- Robert Collins Distinguished Technologist HP Converged Cloud __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev