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

Update for breaking change in django-allauth #189

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

mvandenburgh
Copy link
Member

@mvandenburgh mvandenburgh commented Sep 11, 2023

As of django-allauth 0.56.0, downstream users are required to specify this in their Django MIDDLEWARE.
See https://github.com/pennersr/django-allauth/blob/main/ChangeLog.rst#0560-2023-09-07.

Not specifying this middleware results in this error - https://stackoverflow.com/questions/77012106/django-allauth-modulenotfounderror-no-module-named-allauth-account-middlewar

Example of this error occuring in CI on DANDI - https://github.com/dandi/dandi-archive/actions/runs/6114588402/job/16596456625?pr=1674

Fixes #188

@danlamanna
Copy link
Contributor

Fixes #188

mvandenburgh added a commit to dandi/dandi-archive that referenced this pull request Sep 11, 2023
This should be removed once the corresponding fix upstream in
`django-composed-confiugration` is merged.
kitware-resonant/django-composed-configuration#189
@brianhelba
Copy link
Contributor

@zachmullen Please open a separate PR with this fix. It's unrelated to the PR here.

setup.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
As of `django-allauth` 0.56.0, downstream users are required to specify
this in their Django `MIDDLEWARE`.
https://github.com/pennersr/django-allauth/blob/main/ChangeLog.rst#0560-2023-09-07
@brianhelba brianhelba merged commit e89083f into master Oct 24, 2023
3 checks passed
@brianhelba brianhelba deleted the add-allauth-middleware branch October 24, 2023 20:47
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.

Support latest version of django-allauth
3 participants