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

please support newer version of h11 #346

Closed
QuixoticGitHub opened this issue Nov 11, 2022 · 4 comments · Fixed by #360
Closed

please support newer version of h11 #346

QuixoticGitHub opened this issue Nov 11, 2022 · 4 comments · Fixed by #360

Comments

@QuixoticGitHub
Copy link

https://github.com/python-hyper/h11 version 0.12 is apparently a requirement?

raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (h11 0.14.0 (/usr/lib/python3.10/site-packages), Requirement.parse('h11<0.13,>=0.11'), {'httpcore'})

I think 0.14 is standard in my arch based distro

@polyedre
Copy link
Contributor

According to its Changelog, httpcore added support for h11==0.14 in version 0.16.0 (https://github.com/encode/httpcore/blob/master/CHANGELOG.md#0160).

Wapiti currently relies on the latest version of httpx : 0.23.0 (https://github.com/encode/httpx/releases/tag/0.23.0). httpx itself requires httpcore>=0.15.0,<0.16.0.

A discussion on the httpx project addresses the last errors (two failing tests). When the project supports httpcore 0.16.0, we can support h11==0.14.

@devl00p
Copy link
Contributor

devl00p commented Dec 22, 2022

h11 is also blocked by two dependencies : respx and mitmproxy.

Moving to the next version of mitmproxy will certainly remove support of python < 3.9

@devl00p
Copy link
Contributor

devl00p commented Dec 22, 2022

It works well for python 3.9 and 3.10 but upgrading to 3.11 is blocked due to nassl < 5.0.0 having no python 3.11 release

This is a dependency tied to sslyze (issue nabla-c0d3/sslyze#582)

@devl00p
Copy link
Contributor

devl00p commented Dec 22, 2022

It should unblock h11 users unless they are also using Python 3.11

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.

3 participants