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

Remove EOL Python, Django and DRF versions #754

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

KOliver94
Copy link
Contributor

Remove all no longer supported Python, Django and DRF versions. Also fixes #684 as after Python 3.8 no workaround is necessary.

Closes #702

@KOliver94
Copy link
Contributor Author

Hey @Andrew-Chen-Wang,

Can you take a look at this PR?

Thanks!

@kozlek
Copy link
Contributor

kozlek commented Oct 13, 2023

Python 3.12 has been released and pkg_resources is not installed by default in venv.
This means djangorestframework-simplejwt doesn't work on 3.12 if users forget to install pkg_resources aside.

This is not blocking, but this PR will ease python 3.12 upgrade 🙂

drf-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
python-version: [ '3.8', '3.9', '3.10', '3.11']
django-version: ['3.2', '4.1', '4.2']
drf-version: ['3.12', '3.13', '3.14']
Copy link
Member

Choose a reason for hiding this comment

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

does drf 3.14 support django 4.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, it does not officially. However, based on the conversations on DRF (encode/django-rest-framework#8942) it seems nothing breaks with Django 4.2 most of the times. Moreover, DRF 3.14 is already being tested with Django 4.2 here on master.

@johnthagen
Copy link
Contributor

johnthagen commented Oct 30, 2023

DeprecationWarning's are now being thrown from pkg_resources, which will fail tests that set warnings as errors. It would be great to get this merged and released onto PyPI.

@Andrew-Chen-Wang Andrew-Chen-Wang merged commit 19cf38e into jazzband:master Oct 30, 2023
35 checks passed
@yardensachs
Copy link

love it thank you!

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.

Reference to pkg_resources
5 participants