PolicyStat / jobtastic

Make your user-responsive long-running Celery jobs totally awesomer.
http://policystat.github.com/jobtastic/
MIT License
645 stars 61 forks source link

Switch from werkzeug.contrib.cache to cachelib #86

Open Praseetha-KR opened 4 years ago

Praseetha-KR commented 4 years ago
/jobtastic/cache/__init__.py:23: DeprecationWarning:'werkzeug.contrib.cache' is deprecated as of version 0.15 and will be removed in version 1.0. It has moved to https://github.com/pallets/cachelib.

Werkzerug has removed contrib.cache from the main package, and is now being maintained as cachelib

So If an app is using werkzeug >= 1.0, jobtastic's Werkzeug cache will remain unused.

This PR switches jobtastic to support cachelib instead of werkzeug.contrib.cache.