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

Incompatibility with werkzeuf 2.1.x (released on 2022-03-28) #673

Open
bdauvergne opened this issue Mar 29, 2022 · 3 comments · May be fixed by #674
Open

Incompatibility with werkzeuf 2.1.x (released on 2022-03-28) #673

bdauvergne opened this issue Mar 29, 2022 · 3 comments · May be fixed by #674

Comments

@bdauvergne
Copy link

  File "/home/bdauvergne/.tmp/tox-bdauvergne/passerelle/py3-django22-xmlschema14-codestyle-coverage/lib/python3.9/site-packages/pytest_httpbin/plugin.py", line 3, in <module>
    from httpbin import app as httpbin_app
  File "/home/bdauvergne/.tmp/tox-bdauvergne/passerelle/py3-django22-xmlschema14-codestyle-coverage/lib/python3.9/site-packages/httpbin/__init__.py", line 3, in <module>
    from .core import *
  File "/home/bdauvergne/.tmp/tox-bdauvergne/passerelle/py3-django22-xmlschema14-codestyle-coverage/lib/python3.9/site-packages/httpbin/core.py", line 22, in <module>
    from werkzeug.wrappers import BaseResponse
ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' (/home/bdauvergne/.tmp/tox-bdauvergne/passerelle/py3-django22-xmlschema14-codestyle-coverage/lib/python3.9/site-packages/werkzeug/wrappers/__init__.py)
@maximino-dev maximino-dev linked a pull request Mar 30, 2022 that will close this issue
AndreCimander added a commit to AndreCimander/pytest-recording that referenced this issue May 1, 2022
AndreCimander added a commit to AndreCimander/pytest-recording that referenced this issue May 2, 2022
@derekwin
Copy link

derekwin commented Jun 9, 2022

from werkzeug.wrappers import Response as BaseResponse

it worked

@AdamWill
Copy link
Contributor

I'm wondering if someone needs to fork httpbin at this point. @kennethreitz , are you not interested in keeping it working any more?

@edsu
Copy link

edsu commented Apr 11, 2023

It does seem like a maintained fork would be helpful to apply this simple change.

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 a pull request may close this issue.

4 participants