martin-bts / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
0 stars 2 forks source link

keyedcache: ImportError: cannot import name get_cache #4

Closed sebastian-philipp closed 5 years ago

sebastian-philipp commented 5 years ago
(venv) ➜  askbot-devel git:(django1.11_baseline) ✗ tox -e py2.7                                                                          
GLOB sdist-make: /home/sebastian/Repos/askbot-devel/setup.py
py2.7 create: /home/sebastian/Repos/askbot-devel/.tox/py2.7
py2.7 installdeps: -raskbot_requirements.txt, -rrequirements-tests.txt
py2.7 inst: /home/sebastian/Repos/askbot-devel/.tox/dist/askbot-0.10.2.zip
py2.7 installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.,akismet==1.0.1,amqp==1.4.9,anyjson==0.3.3,askbot==0.10.2,backports.functools-lru-cache==1.5,beautifulsoup4==4.7.1,billiard==3.3.0.23,celery==3.1.18,certifi==2019.6.16,chardet==3.0.4,Coffin==2.0.1,cookies==2.2.1,coverage==4.5.3,dj-database-url==0.5.0,Django==1.11.21,django-appconf==1.0.3,django-avatar==3.1.0,django-celery==3.3.0,django-compressor==2.2,django-countries==5.3.3,-e git://github.com/martin-bts/django-followit.git@1ae9bd30a42e3998244d7c54cf02522968bd3836#egg=django_followit,django-jinja==2.4.1,django-keyedcache==1.5.1,django-kombu==0.9.4,django-lamson==0.1.0b0,django-picklefield==1.0.0,django-recaptcha==1.3.0,django-robots==3.0,django-threaded-multihost==1.4.post1,django-tinymce==2.8.0,django-transaction-signals==1.0.0,docutils==0.14,factory-boy==2.12.0,Faker==1.0.7,funcsigs==1.0.2,html5lib==0.9999999,httplib2==0.13.0,idna==2.8,ipaddress==1.0.22,Jinja2==2.10,jsonfield==2.0.2,kombu==3.0.37,lamson==1.1,lockfile==0.12.2,lxml==4.3.4,markdown2==2.3.8,MarkupSafe==1.1.1,mock==3.0.5,nose==1.3.7,oauth2==1.9.0.post1,Pillow==6.0.0,pkg-resources==0.0.0,PyJWT==1.7.1,pystache==0.3.1,python-cas==1.4.0,python-daemon==2.2.3,python-dateutil==2.8.0,python-openid==2.2.5,pytz==2019.1,rcssmin==1.0.6,regex==2019.6.8,requests==2.22.0,requirements-parser==0.2.0,responses==0.10.6,rjsmin==1.0.12,sanction==0.3.1,simplejson==3.16.0,six==1.10.0,soupsieve==1.9.2,text-unidecode==1.2,Unidecode==1.0.23,urllib3==1.25.3
py2.7 runtests: PYTHONHASHSEED='4150736059'
py2.7 runtests: commands[0] | coverage run manage.py test askbot.tests
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/sebastian/Repos/askbot-devel/.tox/py2.7/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/home/sebastian/Repos/askbot-devel/.tox/py2.7/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute
    django.setup()
  File "/home/sebastian/Repos/askbot-devel/.tox/py2.7/local/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/sebastian/Repos/askbot-devel/.tox/py2.7/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/sebastian/Repos/askbot-devel/.tox/py2.7/local/lib/python2.7/site-packages/django/apps/config.py", line 94, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/sebastian/Repos/askbot-devel/.tox/py2.7/local/lib/python2.7/site-packages/keyedcache/__init__.py", line 27, in <module>
    from django.core.cache import get_cache, InvalidCacheBackendError, DEFAULT_CACHE_ALIAS
ImportError: cannot import name get_cache
ERROR: InvocationError: '/home/sebastian/Repos/askbot-devel/.tox/py2.7/bin/coverage run manage.py test askbot.tests'