Update django-oauth-toolkit.

Review Request #14794 — Created Jan. 31, 2026 and submitted

Information

Djblets
release-6.x

Reviewers

This change updates to django-oauth-toolkit 3.2.0.

For the most part, things work as-is. There are two major changes required:

  • The SCOPES setting needs to actually implement the full surface of the
    mapping protocol.
  • We need to reload the oauth2 settings after we change them.

Ran unit tests.

Summary ID
Update django-oauth-toolkit.
This change updates to django-oauth-toolkit 3.2.0. For the most part, things work as-is. There are two major changes required: - The SCOPES setting needs to actually implement the full surface of the mapping protocol. - We need to reload the oauth2 settings after we change them. Testing Done: Ran unit tests.
wtwznlptzmkmwzlksyznqruuwwmropup
Description From Last Updated

Where does this actually return the list of strings? There aren't any return statements in the code below.

maubinmaubin

'collections.abc.Sequence' imported but unused Column: 5 Error code: F401

reviewbotreviewbot
maubin
  1. 
      
  2. djblets/webapi/oauth2_scopes.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Where does this actually return the list of strings? There aren't any return statements in the code below.

    1. Oops. Docstring was out of date and I just went off that.

  3. 
      
david
Review request changed
Commits:
Summary ID
Update django-oauth-toolkit.
This change updates to django-oauth-toolkit 3.2.0. For the most part, things work as-is. There are two major changes required: - The SCOPES setting needs to actually implement the full surface of the mapping protocol. - We need to reload the oauth2 settings after we change them. Testing Done: Ran unit tests.
wtwznlptzmkmwzlksyznqruuwwmropup
Update django-oauth-toolkit.
This change updates to django-oauth-toolkit 3.2.0. For the most part, things work as-is. There are two major changes required: - The SCOPES setting needs to actually implement the full surface of the mapping protocol. - We need to reload the oauth2 settings after we change them. Testing Done: Ran unit tests.
wtwznlptzmkmwzlksyznqruuwwmropup

Checks run (1 failed, 1 succeeded)

flake8 failed.
JSHint passed.

flake8

david
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-6.x (ba0a7e7)