Skip to content

Upgrading requests-oauthlib 1 to 2

Breaking1.3.1 → 2.0.0Platform2New2Changed2Fixed1Other3

BreakingUpgrade verdict

2 platform requirement changes.

  • The package now officially runs on Python versions 3.8 to 3.12.
  • Python 2 and Python older than 3.7 are no longer supported.
2 items need code or config changes

Python requirement changed in 2.0.0: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* → >=3.4.

Platform2
Adds support for Python 3.8 through 3.12.
Removes support for Python 2.x and versions below 3.7.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: variable unicode
  • changed: constructor OAuth2Session(client_id=…, client=…, auto_refresh_url=…, auto_refresh_kwargs=…, scope=…, redirect_uri=…, token=…, state=…, token_updater=…, **kwargs) → constructor OAuth2Session(client_id=…, client=…, auto_refresh_url=…, auto_refresh_kwargs=…, scope=…, redirect_uri=…, token=…, state=…, token_updater=…, pkce=…, **kwargs)
  • changed: method OAuth2Session.request(method, url, data=…, headers=…, withhold_token=…, client_id=…, client_secret=…, **kwargs) → method OAuth2Session.request(method, url, data=…, headers=…, withhold_token=…, client_id=…, client_secret=…, files=…, **kwargs)
  • added: property OAuth2Session.scope