dusktreader / flask-praetorian

Strong, Simple, and Precise security for Flask APIs (using jwt)
http://flask-praetorian.readthedocs.io/en/latest/
MIT License
343 stars 46 forks source link

AttributeError: module 'pendulum' has no attribute 'Interval' #119

Closed idchlife closed 6 years ago

idchlife commented 6 years ago

Hi! Thanks for the library! It's fantastic! Now there is an error, which version should I use to overcome it? It appeared not a while ago.

dusktreader commented 6 years ago

This issue popped up when the latest version of pendulum went out. The change wasn't reverse compatible. However, this should be fixed in the master branch today. I'm going to be deploying a new release of flask-praetorian with pinned dependencies on flask 1.0 and pendulum 2.0 in a few minutes.

dusktreader commented 6 years ago

@idchlife flask-praetorian v0.4.4 is now available on pypi and should fix this issue. Please let me know if it works for you. If you installed through pip, remember to upgrade!

Please let me know either way.

idchlife commented 6 years ago

Thank you!

I will try later 0.4.4, right now using your rc version from pypi 😁