---
title: "requests-oauthlib 2.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each requests-oauthlib release removed, renamed or changed: 7 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/requests-oauthlib
last_updated: 2026-12-04
---

# 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

Latest version `2.0.0`, released March 22, 2024. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## requests-oauthlib 2.0.0 breaking changes

requests-oauthlib 2.0.0, released March 22, 2024: 7 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](https://github.com/requests/requests-oauthlib/blob/v2.0.0/HISTORY.rst)
- **Removed** `requests_oauthlib.oauth1_auth.unicode`  

requests_oauthlib.oauth1_auth.unicode was removed in requests-oauthlib 2.0.0 [pypi.org](https://pypi.org/project/requests-oauthlib/2.0.0/)
- **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](https://github.com/requests/requests-oauthlib/blob/v2.0.0/HISTORY.rst)
- **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](https://pypi.org/project/requests-oauthlib/2.0.0/)
- **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](https://pypi.org/project/requests-oauthlib/2.0.0/)
- **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](https://pypi.org/project/requests-oauthlib/2.0.0/)
- **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](https://pypi.org/project/requests-oauthlib/2.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
