django-rest-social-auth icon indicating copy to clipboard operation
django-rest-social-auth copied to clipboard

Django 4 support

Open alex-pobeditel-2004 opened this issue 3 years ago • 9 comments

Hello! Django 4.0 is out but this project pins Django version to <4.0 and prevents upgrade.

I tried to run make test locally to check if it will work "as is" but I keep getting errors during pip install phase - like these:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '//django_rest_social_auth/venv/lib/python3.7/site-packages/typing_extensions.py' I don't know if these errors are caused by this strange // in the beginning of the path or by some environment mismatch (I tried on Arch Linux, Docker 20.10.12) and I failed to make it work.

Maybe you can check if it works with 4.0? social-core and social-app-django work with Python 3.10 / Django 4.0 so I think there are chances that your package is already compatible too.

alex-pobeditel-2004 avatar Dec 25 '21 21:12 alex-pobeditel-2004

I managed to run tests with WSL and at least one problem showed up: existing bugfix in django-rest-knox needs to be released (https://github.com/James1345/django-rest-knox/issues/260) but the repository seems to be not maintained anymore.
So update to Django 4.0 (needs Python 3.8+) is impossible at the moment :(

But tests on Python 3.10 are passed so Python 3.10 can be added to test matrix

alex-pobeditel-2004 avatar Dec 29 '21 10:12 alex-pobeditel-2004

Hi @st4lk Would it be possible to create a release for django 4.0? django-rest-knox has been updated. Thanks Edit: django-rest-knox has not been updated yet, my apologies.

JulesVR avatar Jan 30 '22 20:01 JulesVR

@JulesVR knox with bugfix is still not released

alex-pobeditel-2004 avatar Jan 30 '22 21:01 alex-pobeditel-2004

@JulesVR knox with bugfix is still not released

Sorry, mislooked. Thanks.

JulesVR avatar Jan 30 '22 21:01 JulesVR

And hooray - knox bugfix was just released :)
https://github.com/James1345/django-rest-knox/releases/tag/4.2.0
@st4lk can you please try to create release for Python 3.10 / Django 4.0 now?

alex-pobeditel-2004 avatar Jan 31 '22 15:01 alex-pobeditel-2004

Are there any updates on that?

spapanik avatar Mar 09 '22 11:03 spapanik

Is there an ETA for when this project will be compatible with Django 4.0?

sevdog avatar May 02 '22 14:05 sevdog

@KOliver94 do you mind releasing your "next" branch as "rest-social-auth-ng"? It seems that this project went into deep sleep. Otherwise I'd take you changes to make a release.

tuergeist avatar Aug 22 '22 06:08 tuergeist

@tuergeist go for it, thanks! 🙂

KOliver94 avatar Aug 22 '22 07:08 KOliver94

@st4lk are you going to provide any update to this project?

sevdog avatar Oct 21 '22 13:10 sevdog

Available in pypi v8.0.0

st4lk avatar Nov 19 '22 13:11 st4lk

@st4lk Thank you very much!

alex-pobeditel-2004 avatar Nov 19 '22 14:11 alex-pobeditel-2004