-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Remove Python 2 mention on chardet
behavior
#6204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asked for a small additional change, but otherwise looks good!
docs/user/advanced.rst
Outdated
@@ -717,10 +717,9 @@ If ``chardet`` is installed, ``requests`` uses it, however for python3 | |||
library is an LGPL-licenced dependency and some users of requests | |||
cannot depend on mandatory LGPL-licensed dependencies. | |||
|
|||
When you install ``request`` without specifying ``[use_chardet_on_py3]]`` extra, | |||
When you install ``requests`` without specifying ``[use_chardet_on_py3]]`` extra, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not directly related to your change but while we’re here can we remove the erroneous ]
at the end of the extra?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely! Sorry I missed that.
`requests` no longer supports Python 2. A recent commit, 8bce583 removed the `chardet` dependency for Python 2: ```diff -'chardet>=3.0.2,<5; python_version < "3"', ``` We should edit the docs to remove mention of behavior on Py2.
6275853
to
ff8f445
Compare
Thank you both for the extremely speedy review! It does look like I'll need a maintainer to kick off CI though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @DavidCain!
requests
no longer supports Python 2. A recent commit, 8bce583removed the
chardet
dependency for Python 2:-'chardet>=3.0.2,<5; python_version < "3"',
We should edit the docs to remove mention of behavior on Py2.