elixir-cloud-aai / foca

Opinionated Flask microservice archetype for quick OpenAPI-based microservice development
Apache License 2.0
16 stars 12 forks source link

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

Closed kushagra189 closed 11 months ago

kushagra189 commented 11 months ago

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 - https://github.com/pycasbin/flask-authz/issues/49 In response to the same a new version release has been done. We need to upgrade foca to flask-authz-2.5.1