1 --- httpx-0.27.2/httpx/_transports/default.py.orig
2 +++ httpx-0.27.2/httpx/_transports/default.py
4 except ImportError: # pragma: no cover
6 "Using SOCKS proxy, but the 'socksio' package is not installed. "
7 - "Make sure to install httpx using `pip install httpx[socks]`."
8 + "Please install 'socksio' using `pkg install library/python/socksio`."
11 self._pool = httpcore.SOCKSProxy(
13 except ImportError: # pragma: no cover
15 "Using SOCKS proxy, but the 'socksio' package is not installed. "
16 - "Make sure to install httpx using `pip install httpx[socks]`."
17 + "Please install 'socksio' using `pkg install library/python/socksio`."
20 self._pool = httpcore.AsyncSOCKSProxy(
21 --- httpx-0.27.2/httpx/_client.py.orig
22 +++ httpx-0.27.2/httpx/_client.py
24 except ImportError: # pragma: no cover
26 "Using http2=True, but the 'h2' package is not installed. "
27 - "Make sure to install httpx using `pip install httpx[http2]`."
28 + "Please install 'h2' using `pkg install library/python/h2`."
33 except ImportError: # pragma: no cover
35 "Using http2=True, but the 'h2' package is not installed. "
36 - "Make sure to install httpx using `pip install httpx[http2]`."
37 + "Please install 'h2' using `pkg install library/python/h2`."
41 --- httpx-0.27.2/httpx/__init__.py.orig
42 +++ httpx-0.27.2/httpx/__init__.py
45 "The httpx command line client could not run because the required "
46 "dependencies were not installed.\nMake sure you've installed "
47 - "everything with: pip install 'httpx[cli]'"
48 + "everything with: pkg install library/python/click "
49 + "library/python/pygments library/python/rich"
53 --- httpx-0.27.2/httpx/_decoders.py.orig
54 +++ httpx-0.27.2/httpx/_decoders.py
56 def __init__(self) -> None:
57 if brotli is None: # pragma: no cover
59 - "Using 'BrotliDecoder', but neither of the 'brotlicffi' or 'brotli' "
60 - "packages have been installed. "
61 - "Make sure to install httpx using `pip install httpx[brotli]`."
62 + "Using 'BrotliDecoder', but no 'brotli' "
63 + "package has been installed. "
64 + "Make sure to install 'brotli' using `pkg install library/python/brotli`."
67 self.decompressor = brotli.Decompressor()