Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django-allauth v64 migration #655

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dpgraham4401
Copy link

@dpgraham4401 dpgraham4401 commented Sep 20, 2024

Description

This PR migrates dj-rest-auth to the newest major version of django-allauth. It, unfortunately, forces `dj-rest-auth to increment the major version since it follows django-allauth support for django, and drops support for django > 4.2.

Related tickets

closes #646

see also #639

Notes

  • fixes a format error that was causing CI to fail from refresh token is not shown in the swagger #247
  • I removed a couple test that were dependent on objects that are no longer exported from django-allauth (see a89f6df)
  • Since these changes add support for django 5.0, it replaces django.utils.timezone usage (which was deprecated in django 4.1 and removed in django 5) with the standard library datetime module (see django deprecateion notice here)
  • I converted the requirement.pip files to requirements.txt file which is newer widely used name. I did this for convenience for my local development environment, but can be reverted. The changes also include changes to the docs.
  • adjust the CI to reflect the removed and added support for django version.

@dpgraham4401 dpgraham4401 marked this pull request as draft September 20, 2024 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

django-allauth >= v64.0.0 support
1 participant