Skip to content

Conversation

@stephanwlee
Copy link
Contributor

Although the werkzeug changelog did not say so, it seem to have removed
certain symbols from werkzeug. We now use
werkzeug.wrappers.BaseResponse instead.

Context:
https://werkzeug.palletsprojects.com/en/master/changes/#version-1-0-0

Fixes #3229.

Although the werkzeug changelog did not say so, it seem to have removed
certain symbols from `werkzeug`. We now use
`werkzeug.wrappers.BaseResponse` instead.

Context:
https://werkzeug.palletsprojects.com/en/master/changes/#version-1-0-0
self.app = app
self.server = werkzeug_test.Client(self.app, werkzeug.BaseResponse)
self.server = werkzeug_test.Client(
self.app, werkzeug.wrappers.BaseResponse
Copy link
Contributor

Choose a reason for hiding this comment

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

OK: Confirmed that you don’t need to separately import wrappers and
that it’s available as werkzeug.wrappers by default. LGTM.

@stephanwlee stephanwlee merged commit f833b39 into tensorflow:master Feb 10, 2020
@stephanwlee stephanwlee deleted the ci branch February 10, 2020 16:02
bileschi pushed a commit to bileschi/tensorboard that referenced this pull request Mar 2, 2020
Although the werkzeug changelog did not say so, it seem to have removed
certain symbols from `werkzeug`. We now use
`werkzeug.wrappers.BaseResponse` instead.

This is a cherry-pick of f833b39 to
avoid black reformatting.

Context:
https://werkzeug.palletsprojects.com/en/master/changes/#version-1-0-0
@bileschi bileschi mentioned this pull request Mar 3, 2020
nfelt pushed a commit that referenced this pull request Mar 4, 2020
Although the werkzeug changelog did not say so, it seem to have removed
certain symbols from `werkzeug`. We now use
`werkzeug.wrappers.BaseResponse` instead.

This is a cherry-pick of f833b39 to
avoid black reformatting.

Context:
https://werkzeug.palletsprojects.com/en/master/changes/#version-1-0-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

werkzeug 1.0.0 removed symbols

3 participants