Dash 1.14.1 : ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools'

Hi,

Below is the list of version details :

dash-bootstrap-components==0.7.2
dash-core-components==1.3.1
dash-html-components==1.0.1
django-plotly-dash==1.1.4
dash==1.4.1
dash_renderer==1.1.2
werkzeug==2.0.3

Currently project with dash 1.14.1 version :slight_smile:

I want to update werkzeug==2.0.3 to werkzeug==2.2.3 due to security reason.
After updating to 2.2.3 getting below error :

ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools'

If I upgrade the lib of dash then need to refactor whole plotly codes.

Check the changelog for Dash 2.3.1. This issue was fixed in that version. If you donโ€™t want to upgrade you Dash version, the only option you have is downgrading Werkzeug.