Unit tests fail with Routes==2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Davanum Srinivas (DIMS) |
Bug Description
Don't know yet why we are not seeing this in CI as Routes has been out since Jan. our g-r does exclude 2.0, but not 2.1
dims@dims-
(py27)dims@
Routes==1.13
(py27)dims@
Python 2.7.9 (default, Feb 10 2015, 03:28:08)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from nova.api.ec2 import apirequest
>>>
(py27)dims@
Collecting Routes==2.1
Requirement already up-to-date: repoze.lru>=0.3 in ./.tox/
Installing collected packages: Routes
Found existing installation: Routes 1.13
Uninstalling Routes-1.13:
Successfully uninstalled Routes-1.13
Successfully installed Routes-2.1
(py27)dims@
Python 2.7.9 (default, Feb 10 2015, 03:28:08)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from nova.api.ec2 import apirequest
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nova/api/
from nova import wsgi
File "nova/wsgi.py", line 34, in <module>
import routes.middleware
File "/Users/
from routes.mapper import Mapper
File "/Users/
from routes.util import (
File "/Users/
import urllib.request, urllib.parse, urllib.error
ImportError: No module named request
>>>
tags: | added: testing versioning |
Changed in nova: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-2 → 12.0.0 |
Added a g-r update https:/ /review. openstack. org/#/c/ 196867/