Conflict requirements of python-six and python-eventlet at Ubuntu 14.04

Bug #1479772 reported by Masaaki Nakagawa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Confirmed
Low
Masaaki Nakagawa

Bug Description

If installing SAIO following manual at Ubuntu 14.04 LTS,
python-six-whl_1.5.2-1 and python-eventlet_0.13.0-1 will be installed,
but requirements.txt says six>=1.9.0 and eventlet>=0.16.1,!=0.17.0.

These packages are under managed by apt,so pip can not update packages.
So, SAIO document should be refined to install proper version packages.

Changed in swift:
assignee: nobody → Masaaki Nakagawa (nakagawamsa)
Revision history for this message
Masaaki Nakagawa (nakagawamsa) wrote :

Second try of installing SAIO, sudo pip install -r requirement.txt was run.
And these packages are updated.

But in my first try, below error was occured and packages did not updated.

--------------------------
Installing collected packages: eventlet
  Found existing installation: eventlet 0.13.0
    Not uninstalling eventlet at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed eventlet
--------------------------

Revision history for this message
Masaaki Nakagawa (nakagawamsa) wrote :

I think this report describes cause this.
https://github.com/pypa/pip/issues/2964

pip installed newest version of six and eventlet.
but old version six and eventlet are installed by apt, and old packages are used.
These packages need to be gotten by apt.

In case of six, latest version of 14.04 is 1.5.2-1
So, default setting of apt can not get requested version six.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to swift (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/207790

Revision history for this message
Tim Burke (1-tim-z) wrote :

I see things lines like

Downloading/unpacking eventlet>=0.17.4 (from -r requirements.txt (line 6))
  Downloading eventlet-0.21.0-py2.py3-none-any.whl (403kB): 403kB downloaded
Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.3.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): netifaces>=0.5,!=0.10.0,!=0.10.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): pastedeploy>=1.3.3 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 9))
Downloading/unpacking six>=1.9.0 (from -r requirements.txt (line 10))
  Downloading six-1.10.0-py2.py3-none-any.whl
...
Using /usr/lib/python2.7/dist-packages
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file
...
Using /usr/lib/python2.7/dist-packages
Searching for eventlet==0.21.0
Best match: eventlet 0.21.0
Adding eventlet 0.21.0 to easy-install.pth file

when I run through the SAIO script... which sounds kinda like it'll just Do The Right Thing. However, `pip freeze` still gives me

   eventlet==0.13.0
   six==1.5.2

and unit tests include some logging like

   AttributeError: 'Input' object has no attribute 'set_hundred_continue_response_headers'

which sure makes it seem like we're still looking at old eventlet.

Changed in swift:
status: New → Confirmed
importance: Undecided → Low
tags: added: documentation
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.