#4015 Add an upper limit to the version of python-redis we can use
Merged by pingou. Opened by pingou.
adjust_req  into  master

Download 4015.patch

Otherwise a large number of our tests is failing on Jenkins with the
error:

Traceback (most recent call last):
  File "/root/pagure/.tox/py27-flask011-ci/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/root/pagure/tests/test_pagure_flask_dump_load_ticket.py", line 61, in test_dumping_reloading_ticket
    user='pingou',
  File "/root/pagure/tests/../pagure/lib/query.py", line 1809, in new_issue
    pagure.lib.git.update_git(issue, repo=repo)
  File "/root/pagure/tests/../pagure/lib/git.py", line 188, in update_git
    _maybe_wait(queued)
  File "/root/pagure/.tox/py27-flask011-ci/lib/python2.7/site-packages/mock/mock.py", line 1062, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/root/pagure/.tox/py27-flask011-ci/lib/python2.7/site-packages/mock/mock.py", line 1128, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/root/pagure/tests/test_pagure_flask_dump_load_ticket.py", line 43, in <lambda>
    mw.side_effect = lambda result: result.get()
  File "/root/pagure/.tox/py27-flask011-ci/lib/python2.7/site-packages/celery/result.py", line 995, in get
    raise self.result
AttributeError: 'UnixDomainSocketConnection' object has no attribute '_buffer_cutoff'

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

It would be good to investigate why this is happening, but for the time being :thumbsup:

redis-3.0.0 is brand new (like was released earlier today: https://pypi.org/project/redis/#history) so either it has bugs or celery needs to be adjusted for it

Pull-Request has been merged by pingou

Metadata