Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipreqs requires Flask==2.2.2 which causes issues with Werkzeug #453

Open
ergoodwill opened this issue Jun 26, 2024 · 0 comments
Open

pipreqs requires Flask==2.2.2 which causes issues with Werkzeug #453

ergoodwill opened this issue Jun 26, 2024 · 0 comments

Comments

@ergoodwill
Copy link

ergoodwill commented Jun 26, 2024

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:

  1. Create a file called app.py containing this code
import Flask

if __name__ == "__main__":
    pass
  1. Run pipreqs . in this folder.
    Result: a requirements.txt with the following:
    Flask==2.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant