requests-oauthlib breaking changes
requests-oauthlib 2.0.0 (March 22, 2024) is its newest release with breaking changes, 7 of them. The first: Drops support for Python 2.x and Python below 3.7 in requests-oauthlib 2.0.0. Every breaking API change we have recorded in requests-oauthlib on PyPI: 7 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.0, released March 22, 2024.
Packages on PyPI run on Python. Python end of life dates.
requests-oauthlib 2.0.0 breaking changes
- Removed
The package no longer supports Python 2.x or Python versions below 3.7. Users on those versions must stay on an older release. github.com - Removed
requests_oauthlib.oauth1_auth.unicode
requests_oauthlib.oauth1_auth.unicode was removed in requests-oauthlib 2.0.0 pypi.org - Behavior changed
OAuth2Session
OAuth2Session now applies the verify value set on the session when fetch_token and refresh_token are called without an explicit verify argument. Code that relied on the previous behavior may see different TLS verification. github.com - Signature changed
requests_oauthlib.OAuth2Session.__init__
Was def __init__(self, client_id=None, client=None, auto_refresh_url=None, auto_refresh_kwargs=None, scope=None, redirect_uri=None, token=None, state=None, token_updater=None, **kwargs); now def __init__(self, client_id=None, client=None... pypi.org - Signature changed
requests_oauthlib.OAuth2Session.fetch_token
Was def fetch_token(self, token_url, code=None, authorization_response=None, body='', auth=None, username=None, password=None, method='POST', force_querystring=False, timeout=None, headers=None, verify=True, proxies=None... pypi.org - Signature changed
requests_oauthlib.OAuth2Session.refresh_token
Was def refresh_token(self, token_url, refresh_token=None, body='', auth=None, timeout=None, headers=None, verify=True, proxies=None, **kwargs); now def refresh_token(self, token_url, refresh_token=None, body='', auth=None, timeout=None... pypi.org - Signature changed
requests_oauthlib.OAuth2Session.request
Was def request(self, method, url, data=None, headers=None, withhold_token=False, client_id=None, client_secret=None, **kwargs); now def request(self, method, url, data=None, headers=None, withhold_token=False, client_id=None... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.