Skip to content

Commit a09c3e3

Browse files
chore: Upgrade Python requirements (#38853)
* chore: Upgrade Python requirements * fix: set session token in test helper for social-auth-core 5.0.2 compatibility social-auth-core 5.0.2 requires the partial pipeline token in the session to match the request token (session ownership check). The do_complete test helper stored the partial data but did not set the session token, causing 12 test failures across AzureAD, Google, LinkedIn, and Twitter providers. --------- Co-authored-by: Usama Sadiq <usama7274@gmail.com>
1 parent fe22a5f commit a09c3e3

15 files changed

Lines changed: 272 additions & 315 deletions

File tree

common/djangoapps/third_party_auth/tests/specs/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@ def do_complete(self, strategy, request, partial_pipeline_token, partial_data, u
11241124
calling actions.do_complete
11251125
"""
11261126
strategy.storage.partial.store(partial_data)
1127+
strategy.session_set("partial_pipeline_token", partial_pipeline_token)
11271128
if not user:
11281129
user = request.user
11291130
return actions.do_complete(

requirements/edx-sandbox/base.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#
55
# make upgrade
66
#
7-
cffi==2.0.0
7+
cffi==2.1.0
88
# via cryptography
99
chem==2.0.0
1010
# via -r requirements/edx-sandbox/base.in
11-
click==8.4.1
11+
click==8.4.2
1212
# via nltk
1313
codejail-includes==2.0.0
1414
# via -r requirements/edx-sandbox/base.in
@@ -58,7 +58,7 @@ openedx-calc==5.0.0
5858
# via -r requirements/edx-sandbox/base.in
5959
packaging==26.2
6060
# via matplotlib
61-
pillow==12.2.0
61+
pillow==12.3.0
6262
# via matplotlib
6363
pycparser==3.0
6464
# via cffi
@@ -72,7 +72,7 @@ python-dateutil==2.9.0.post0
7272
# via matplotlib
7373
random2==1.0.2
7474
# via -r requirements/edx-sandbox/base.in
75-
regex==2026.5.9
75+
regex==2026.6.28
7676
# via nltk
7777
scipy==1.17.1
7878
# via
@@ -84,5 +84,5 @@ sympy==1.14.0
8484
# via
8585
# -r requirements/edx-sandbox/base.in
8686
# openedx-calc
87-
tqdm==4.68.2
87+
tqdm==4.68.3
8888
# via nltk

requirements/edx/assets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# make upgrade
66
#
7-
click==8.4.1
7+
click==8.4.2
88
# via -r requirements/edx/assets.in
99
libsass==0.10.0
1010
# via

0 commit comments

Comments
 (0)