pipreqs requires Flask==2.2.2 which causes issues with Werkzeug
ergoodwill opened this issue · comments
Hello,
When I run pipreqs .
on my project, it produces a requirements.txt with Flask==2.2.2 without reason it seems, but this version of Flask seems to yield incompatibilities with the newer versions of Werkzeug (similar to https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr).
To reproduce:
- Create a file called
app.py
containing this code
import Flask
if __name__ == "__main__":
pass
- Run
pipreqs .
in this folder.
Result: a requirements.txt with the following:
Flask==2.2.2