flask-uuid icon indicating copy to clipboard operation
flask-uuid copied to clipboard

pip 23.x compatibility

Open lordslair opened this issue 1 year ago • 1 comments

Hello,

Right now, installs from pip includes a deprecated message for this lib:

DEPRECATION: flask-uuid is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. 
pip 23.1 will enforce this behaviour change. 
A possible replacement is to enable the '--use-pep517' option. 
Discussion can be found at https://github.com/pypa/pip/issues/8559

Is it possible to create and include a pyproject.toml in a fresh release ? Would greatly help for the future of this lib, otherwise, it will be dead in a couple of months, sadly

lordslair avatar Mar 01 '23 12:03 lordslair

hi! thanks for letting me know.

is there a particular reason you're using this package instead of the built-in uuid converter in werkzeug (used by Flask)? see here for example: https://flask.palletsprojects.com/en/2.2.x/quickstart/?highlight=uuid#variable-rules

it's been available since 2015: https://werkzeug.palletsprojects.com/en/2.2.x/changes/#version-0-10

wbolster avatar Mar 02 '23 15:03 wbolster