Use earlier six release
As described, the code is incompatible with the latest six. Pin this till we can update the underlying django, etc. Change-Id: Ic13b80ba53331f5375cbb35ddf86880313415332
This commit is contained in:
parent
d5c4854709
commit
d617cd1777
|
@ -111,6 +111,16 @@ class askbot::install (
|
|||
require => Exec[ 'pip-requirements-install' ],
|
||||
}
|
||||
|
||||
# six 1.11.0 fails with this old django,
|
||||
# use an earlier one; see
|
||||
# https://github.com/benjaminp/six/issues/210
|
||||
python::pip { 'six':
|
||||
ensure => '1.10.0',
|
||||
pkgname => 'six',
|
||||
virtualenv => '/usr/askbot-env',
|
||||
require => Python::Virtualenv['/usr/askbot-env'],
|
||||
}
|
||||
|
||||
include ::httpd::mod::wsgi
|
||||
|
||||
exec { 'askbot-install':
|
||||
|
@ -123,6 +133,7 @@ class askbot::install (
|
|||
require => [
|
||||
Python::Virtualenv['/usr/askbot-env'],
|
||||
Exec[ 'pip-requirements-install' ],
|
||||
Python::Pip[ 'six' ],
|
||||
Python::Pip[ 'stopforumspam' ],
|
||||
Python::Pip[ 'captcha' ],
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue