Closed v-chenzha closed 11 months ago
I was able to reproduce this error and after some research I found this stack overflow thread here https://stackoverflow.com/a/77214086/21528633. I added Werkzeug==2.2.2
to requirements.txt
as the answer mentioned and everything worked just fine.
It's an issue with flask and not our tooling.
@alexyaang we may need to update the requirements.txt template for Flask to include Werkzeug
. Or, try bumping the Flask dependency up to e.g. 3.0.0.
@bwateratmsft yeah, this seems like a very recent change by flask as the thread started this month, we should definitely consider making some sort of change to adapt.
After talking offline with Brandon, we decide to update the requirements.txt template for Flask to have flask==3.0.0.
OS: All Build Version: 20231013.1 Regression: Previous Release
Repro Steps:
Expect: Succeed to debug the Flask python project without any error.
Actual: Fail to debug Python flask project with an error.
More Info: Succeed to debug Django and General python projects.