httpbin
httpbin copied to clipboard
Incompatibility with werkzeuf 2.1.x (released on 2022-03-28)
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)
from werkzeug.wrappers import Response as BaseResponse
it worked
I'm wondering if someone needs to fork httpbin at this point. @kennethreitz , are you not interested in keeping it working any more?
It does seem like a maintained fork would be helpful to apply this simple change.