Skip to content

Commit

Permalink
Restrain stevedore version for python2.6
Browse files Browse the repository at this point in the history
Package stevedore version 1.11.0 is not compatible with python2.6

>>> import stevedore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/stevedore/__init__.py", line
23, in <module>
    LOG.addHandler(logging.NullHandler())
AttributeError: 'module' object has no attribute 'NullHandler'

This patch limit stevedore to a compatible version to work around this
problem.

Signed-off-by: Hao Liu <hliu@redhat.com>
  • Loading branch information
Hao-Liu committed Feb 17, 2016
1 parent 9bdb5bd commit 081639e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements-python26.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ argparse>=1.3.0
logutils>=0.3.3
importlib>=1.0.3
unittest2>=1.0.0
stevedore<=1.10.0
1 change: 1 addition & 0 deletions requirements-travis-python26.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ argparse==1.3.0
logutils==0.3.3
importlib==1.0.3
unittest2==1.0.0
stevedore<=1.10.0

0 comments on commit 081639e

Please sign in to comment.