Skip to content

Conversation

@jawad-khan
Copy link
Member

This PR removes the strict version constraint on social-auth-app-django to allow the Credentials service to use newer, supported versions of the package.

Steps taken:

  • Removed the pinned version requirement for social-auth-app-django.
  • Run make upgrade to update related dependency entries to ensure compatibility with newer releases.
  • Run make tests to ensure al tests are passing

Run JavaScript tests locally with Karma

There is work being done on a fix to get Karma to run in CI. Until then, however, contributors are required to run these tests locally.

  • Make sure you are inside the devstack container
  • Run make test-karma
  • All tests pass

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the version constraint on social-auth-app-django (which was pinned to <=5.4.3 due to test failures), allowing the Credentials service to upgrade to version 5.6.0. The change includes running make upgrade which updates all dependencies to their latest compatible versions.

Key Changes

  • Removed the social-auth-app-django<=5.4.3 constraint from requirements/constraints.txt
  • Upgraded social-auth-app-django from 5.4.3 to 5.6.0 across all requirements files
  • Added new constraints to common_constraints.txt for Django (<6.0) and pip (<25.3)
  • Updated numerous transitive dependencies as part of the routine upgrade process

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
requirements/constraints.txt Removed the social-auth-app-django version constraint that was blocking upgrades
requirements/common_constraints.txt Added Django<6.0 constraint and pip<25.3 constraint (pip-tools compatibility issue)
requirements/base.txt Updated social-auth-app-django to 5.6.0 and refreshed all transitive dependencies
requirements/test.txt Updated dependencies including social-auth-app-django and test-related packages
requirements/production.txt Updated dependencies for production environment
requirements/dev.txt Updated dev dependencies including mypy, django-stubs, and django-debug-toolbar
requirements/all.txt Combined updates from all requirement files
requirements/translations.txt Updated Django and related dependencies for translation tools
requirements/docs.txt Updated documentation build dependencies
requirements/django.txt Updated Django version to 5.2.9
requirements/pip_tools.txt Updated pip-tools to 7.5.2
requirements/pip.txt Updated pip reference with common_constraints.txt constraint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

requests==2.32.5
# via sphinx
roman-numerals-py==3.1.0
roman-numerals==3.1.0
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package name has changed from roman-numerals-py to roman-numerals. This appears to be a package rename in the upgrade. Please verify that this is the correct package name and that it's compatible with the project's usage.

Copilot uses AI. Check for mistakes.
# -r requirements/dev.txt
# -r requirements/production.txt
redis==6.4.0
redis==7.1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you read release notes ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to upgrade just add constraint for this.

@deborahgu
Copy link
Member

deborahgu commented Dec 4, 2025

not that this will block the ticket either way, but I'm going to do a quick validation of this in 2U's environment. As I recall last time there was an upgrade of this package we had some real pain because they had an incredibly inefficient migration and our social_auth_usersocialauth table was large enough to make this brutal.

(don't consider this a blocker, more in the way of an inform.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants