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

Update requirements.txt with flask dependency version lock #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pnw-ryanmcgr
Copy link

Recommend including a specific package version for a dependency of flask, due to a bad dependency specification in Pypi.

https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr

>>> from quart import Quart, Response, request, abort, jsonify
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/venv/lib/python3.10/site-packages/quart/__init__.py", line 5, in <module>
    from .app import Quart as Quart
  File "/venv/lib/python3.10/site-packages/quart/app.py", line 46, in <module>
    from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/venv/lib/python3.10/site-packages/werkzeug/urls.py)

Recommend including a specific package version for a dependency of flask, due to a bad dependency specification in Pypi. 

https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr

```
>>> from quart import Quart, Response, request, abort, jsonify
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/venv/lib/python3.10/site-packages/quart/__init__.py", line 5, in <module>
    from .app import Quart as Quart
  File "/venv/lib/python3.10/site-packages/quart/app.py", line 46, in <module>
    from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/venv/lib/python3.10/site-packages/werkzeug/urls.py)
```
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

Successfully merging this pull request may close these issues.

1 participant