Skip to content

Conversation

thepetk
Copy link
Contributor

@thepetk thepetk commented Oct 2, 2023

What does this PR do?:

This PR updates the version of flask to 2.3.3 in order to avoid the error:

ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
(/home/tpetkos/github/thepetk/devfile-samples/devfile-sample-python-basic/venv/
lib/python3.10/site-packages/werkzeug/urls.py)

As mentioned in the changelog the 2.3.3 version uses Werkzeug >= 2.3.7.

Notes for the Reviewer

In order to reproduce the error try to install dependencies and run flask inside main branch (I managed to do that with python version 3.10.x:

python3 -m venv venv/
source venv/bin/activate
pip3 install -r requirements.txt
flask run

You can verify that the bug has been fixed by checking out to this branch, try again to run flask.

Signed-off-by: thepetk <thepetk@gmail.com>
Copy link
Contributor

@elsony elsony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@thepetk thepetk merged commit c4f07d1 into devfile-samples:main Oct 2, 2023
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.

2 participants