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

v2.26.0 #5868

Merged
merged 1 commit into from
Jul 13, 2021
Merged

v2.26.0 #5868

merged 1 commit into from
Jul 13, 2021

Conversation

nateprewitt
Copy link
Member

@nateprewitt nateprewitt commented Jul 9, 2021

2.26.0 (2021-07-13)

Improvements

Bugfixes

Dependencies

  • Instead of chardet, use the MIT-licensed charset_normalizer for Python3
    to remove license ambiguity for projects bundling requests. If chardet
    is already installed on your machine it will be used instead of charset_normalizer
    to keep backwards compatibility. (Switch LGPL'd chardet for MIT licensed charset_normalizer #5797)

    You can also install chardet while installing requests by
    specifying [use_chardet_on_py3] extra as follows:

    pip install "requests[use_chardet_on_py3]"

    Note that installation of chardet in your environment through any means will disable use
    of charset_normalizer.

    Python 2.7 still depends upon the chardet module.

  • Requests now supports idna 3.x on Python 3. idna 2.x will continue to
    be used on Python 2 installations. (bump idna has version 3.0 was released #5711)

Deprecations

Copy link
Member

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog looks great!

I wonder if we should add a line in the charset_normalizer change (in the PR, not necessarily in the changelog) that chardet needs to not be installed for charset_normalizer to be used?

@nateprewitt
Copy link
Member Author

Yep, great call out. I'll get that added.

@nateprewitt nateprewitt marked this pull request as ready for review July 12, 2021 16:06
@nateprewitt nateprewitt merged commit a1a6a54 into master Jul 13, 2021
@nateprewitt nateprewitt deleted the v2.26.0 branch July 13, 2021 14:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants