elixir-cloud-aai/foca

Upgrade `flask-authz` to a latest release due to dependency deprecations

Closed this issue · 0 comments

I verified few dependencies of flask-authz were marked on the deprecation path and was getting this warning while doing a pip install locally.

DEPRECATION: flask-authz 2.5.0 has a non-standard dependency specifier casbin>=1.0.0<2.0.0. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of flask-authz or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: flask-authz 2.5.0 has a non-standard dependency specifier flask>=1.1.0<3.0.0. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of flask-authz or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

Corresponding issue raised to flask-authz repository - pycasbin/flask-authz#49
In response to the same a new version release has been done.
We need to upgrade foca to flask-authz-2.5.1