You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a current license summary of httpx and its dependencies:
% pip-licenses --from=mixed
Name Version License
certifi 2020.4.5.1 Mozilla Public License 2.0 (MPL 2.0)
chardet 3.0.4 GNU Library or Lesser General Public License (LGPL)
h11 0.9.0 MIT License
h2 3.2.0 MIT License
hpack 3.0.0 MIT License
hstspreload 2020.5.30 BSD License
httpcore 0.9.1 BSD License
httpx 0.13.3 BSD License
hyperframe 5.2.0 MIT License
idna 2.9 BSD License
rfc3986 1.4.0 Apache Software License
sniffio 1.1.0 MIT License, Apache Software License
chardet is LGPL licensed. I'm not a lawyer, but my understanding is that this makes it unsuitable for including inside of a binary due to the restriction that users need to be able to have the ability to swap out the LGPL library for another of their choosing, something infeasible for a binary distribution.
Users who use httpx and want to deploy via Pyinstaller, Nuitka, PyOxdizer, etc. therefore are unable to use httpx, as I understand it.
charset_normalizer is one such alternative that is MIT licensed, thus making it appropriate for binary deployments.
The text was updated successfully, but these errors were encountered:
I'd be okay with reviewing any PR that made chardet an optional import, which would then give alternate packagers other options, but we'd still want our PyPI packaging to include it.
Python binary applications cannot legally depend on
httpx
because of it's dependency onchardet
.httpx/setup.py
Line 61 in 8c84210
Describe the solution you would like.
Here is a current license summary of
httpx
and its dependencies:chardet
is LGPL licensed. I'm not a lawyer, but my understanding is that this makes it unsuitable for including inside of a binary due to the restriction that users need to be able to have the ability to swap out the LGPL library for another of their choosing, something infeasible for a binary distribution.Users who use
httpx
and want to deploy via Pyinstaller, Nuitka, PyOxdizer, etc. therefore are unable to usehttpx
, as I understand it.charset_normalizer
is one such alternative that is MIT licensed, thus making it appropriate for binary deployments.The text was updated successfully, but these errors were encountered: