Upgrading requests-oauthlib 0.8 to 1
Breaking0.8.0 → 1.3.1Breaking1Platform2New3Changed6Fixed2Other13
BreakingUpgrade verdict
1 breaking change and 2 platform requirement changes.
In plain terms
- Fetching tokens now sends client and user credentials in the standard way instead of guessing, which may change requests sent to some OAuth servers.
- The library now officially supports Python 3.8 and 3.9.
- This version no longer works on very old Python releases. You need Python 2.7 or Python 3.4 (or newer).
Must act 3 items need code or config changes
Requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* from 1.3.1 (none stated before).
What you must change
Breaking1
Changes OAuth2Session.fetch_token to stop guessing where to send client and user credentials, aligning with oauthlib and raising correct exceptions for missing Legacy credentials.
OAuth2Session.fetch_tokenclient_idPlatform2
Adds Python 3.8 and 3.9 as supported versions.
Removes support for Python 2.6 and Python 3.3; the project now supports Python 2.7 and Python 3.4 and above.