Skip to content

Commit

Permalink
chore!: uprgade social-auth-app-django to version 5.4.1 (openedx#35045)
Browse files Browse the repository at this point in the history
* chore!: uprgade social-auth-app-django to version 5.4.1

* chore: add migration from social_django
  • Loading branch information
iamsobanjaved authored and mudassir-hafeez committed Jul 24, 2024
1 parent 75b23c5 commit f32dfb2
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.2.13 on 2024-06-27 20:46

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('support', '0005_unique_course_id'),
]

operations = [
migrations.AlterField(
model_name='historicalusersocialauth',
name='extra_data',
field=models.JSONField(default=dict),
),
migrations.AlterField(
model_name='historicalusersocialauth',
name='id',
field=models.BigIntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID'),
),
]
8 changes: 0 additions & 8 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ pycodestyle<2.9.0

pylint<2.16.0 # greater version failing quality test. Fix them in seperate ticket.

# adding these constraints to minimize boto3 and botocore changeset
social-auth-core==4.3.0

# social-auth-app-django versions after 5.2.0 has a problematic migration that will cause issues deployments with large
# `social_auth_usersocialauth` tables. 5.1.0 has missing migration and 5.2.0 has that problematic migration.
social-auth-app-django==5.0.0


# urllib3>=2.0.0 conflicts with elastic search && snowflake-connector-python packages
# which require urllib3<2 for now.
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/32222
Expand Down
7 changes: 3 additions & 4 deletions requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ django==4.2.14
# openedx-filters
# openedx-learning
# ora2
# social-auth-app-django
# super-csv
# xblock-google-drive
# xss-utils
Expand Down Expand Up @@ -1056,14 +1057,12 @@ slumber==0.7.1
# edx-rest-api-client
snowflake-connector-python==3.11.0
# via edx-enterprise
social-auth-app-django==5.0.0
social-auth-app-django==5.4.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
# edx-auth-backends
social-auth-core==4.3.0
social-auth-core==4.5.4
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
# edx-auth-backends
# social-auth-app-django
Expand Down
7 changes: 3 additions & 4 deletions requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ django==4.2.14
# openedx-filters
# openedx-learning
# ora2
# social-auth-app-django
# super-csv
# xblock-google-drive
# xss-utils
Expand Down Expand Up @@ -1877,15 +1878,13 @@ snowflake-connector-python==3.11.0
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# edx-enterprise
social-auth-app-django==5.0.0
social-auth-app-django==5.4.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# edx-auth-backends
social-auth-core==4.3.0
social-auth-core==4.5.4
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# edx-auth-backends
Expand Down
7 changes: 3 additions & 4 deletions requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ django==4.2.14
# openedx-filters
# openedx-learning
# ora2
# social-auth-app-django
# super-csv
# xblock-google-drive
# xss-utils
Expand Down Expand Up @@ -1246,14 +1247,12 @@ snowflake-connector-python==3.11.0
# via
# -r requirements/edx/base.txt
# edx-enterprise
social-auth-app-django==5.0.0
social-auth-app-django==5.4.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# edx-auth-backends
social-auth-core==4.3.0
social-auth-core==4.5.4
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# edx-auth-backends
# social-auth-app-django
Expand Down
7 changes: 3 additions & 4 deletions requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ django==4.2.14
# openedx-filters
# openedx-learning
# ora2
# social-auth-app-django
# super-csv
# xblock-google-drive
# xss-utils
Expand Down Expand Up @@ -1408,14 +1409,12 @@ snowflake-connector-python==3.11.0
# via
# -r requirements/edx/base.txt
# edx-enterprise
social-auth-app-django==5.0.0
social-auth-app-django==5.4.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# edx-auth-backends
social-auth-core==4.3.0
social-auth-core==4.5.4
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# edx-auth-backends
# social-auth-app-django
Expand Down

0 comments on commit f32dfb2

Please sign in to comment.