-
Notifications
You must be signed in to change notification settings - Fork 140
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
Tests are broken due to Werkzeug ImportError #352
Comments
Hello, It's because it's deprecated, pallets/werkzeug#2360 (comment) Quick fix : Werkzeug==2.0.3 |
@SamirPS Thanks, that is more specific than the pin I was using! Ultimately, it's because httpbin is unmaintained since 2018. 😞 I'll fix this by pinning for the moment and file another ticket to address the larger issue. |
No problem, |
@SamirPS Is there another implementation of httpbin? We ended up here because our integration test suite used to hit httpbin.org, but of course this required internet access and was flaky. Right now the tests run httpbin in a subprocess. There's some value in having integration tests that do real I/O, but IMO some of what we are testing this way would be better done using in-memory techniques like Maybe we end up reimplementing the bits of httpbin we need in Twisted? |
Maybe try this |
I've been doing this in my tests:
...and doing it before I import EDIT: I'm running |
Where the werkzeug is localized the source code? |
@SamirPS It's not — Werkzeug is used by httpbin, not treq. |
The text was updated successfully, but these errors were encountered: