-
Notifications
You must be signed in to change notification settings - Fork 43
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
Low level crash on Windows after introducing mocket #241
Comments
It looks like something related to
This said, AFAIK you are the first Windows user and I am not 100% sure it'll work anyway because of another binary dependency: |
I am kinda thinking out-loud here: the need for the first dependency is definitely something we could somehow overcome. It'll be a bit more complex for the second one, but probably not impossible. I believe we'll be able to find HTTP parsers implemented in pure Python, even as part of the standard library. |
Thanks! Installing that dependency has done the trick! There doesn't appear to be any other changes needed for my tests to pass on Windows. |
Does it mean that was the only necessary step to make it work with Windows? |
We could add the extra package as a conditional dependency for Windows users, though I think that should really live upstream. |
Yeah, it should be responsibility of the module. It should install what's needed to work on every platform, definitely not Mocket's responsibility. |
I opened the PR upstream: ahupp/python-magic#332 |
I'm seeing a
Windows fatal exception: access violation
in CI after replacinghttpretty
withmocket
. Full traceback:The text was updated successfully, but these errors were encountered: