Hyper is a Python library designed to provide an HTTP/2 client. While it aimed to offer benefits like improved speed and lower bandwidth usage, the project is no longer maintained. The current and final version is 0.7.0, and there is no ongoing release cadence.
pip install hyperVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to make a basic GET request to an HTTP/2 testing service using `hyper.HTTPConnection`. The API is designed to be similar to Python's built-in `http.client`.
Migrate to an actively maintained HTTP client library, such as `HTTPX` or `requests`.
No direct fix other than moving to a more stable and maintained library. If continuing to use `hyper`, proceed with extreme caution and thorough testing.
If upgrading from versions prior to 0.6.0, extensive re-testing is necessary. Given the unmaintained status, downgrading is not recommended as a long-term solution. Migration to a new library is the best approach.
Ensure `PyOpenSSL` is correctly installed and linked to an appropriate OpenSSL version, or preferably, use Python 3.4+ where TLS support is automatically provided by the standard library.