Skip to content

Bump requests from 2.25.1 to 2.26.0

Studieverening via bot requested to merge dependabot/pip/requests-2.26.0 into master

Bumps requests from 2.25.1 to 2.26.0.

Changelog

Sourced from requests's changelog.

2.26.0 (2021-07-13)

Improvements

  • Requests now supports Brotli compression, if either the brotli or brotlicffi package is installed. (#5783)

  • Session.send now correctly resolves proxy configurations from both the Session and Request. Behavior now matches Session.request. (#5681)

Bugfixes

  • Fixed a race condition in zip extraction when using Requests in parallel from zip archive. (#5707)

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. (#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]"

    Python2 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. (#5711)

Deprecations

  • The requests[security] extra has been converted to a no-op install. PyOpenSSL is no longer the recommended secure option for Requests. (#5867)

  • Requests has officially dropped support for Python 3.5. (#5867)

Commits
  • a1a6a54 v2.26.0
  • e253eba Stop abusing pytest-httpbin to test commonName support
  • f6c0619 Disable requests[security] and remove 3.5 support references
  • 33cf965 Allow idna 3.x to be installed on Python 3.x
  • 5351469 Add support for brotli decoding (#5783)
  • 2463074 Avoid zip extract racing condition by using read+write instead extract (#5707)
  • 2ed84f5 Switch LGPL'd chardet for MIT licensed charset_normalizer (#5797)
  • 33d448e Pin Flask to <2.0 to fix the test suite
  • 1466ad7 Fix GitHub links (#5835)
  • f6d43b0 Updated to new be-cordial-or-be-on-your-way URL and CoC now references Python...
  • Additional commits viewable in compare view

Merge request reports