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

Add automated tests for Django 4.0 and DRF 3.13 #500

Closed
wants to merge 6 commits into from

Conversation

loichu
Copy link

@loichu loichu commented Dec 29, 2021

I wanted to make sure this module is working with latest Django and DRF releases so I added these versions to the configs.

Tell me if I'm wrong but I think that it adds no benefit to exclude untested version's combinations from the matrix in the test github workflow.

I made less but similar changes than in #495 (saw it afterwards sorry).

Copy link
Member

@Andrew-Chen-Wang Andrew-Chen-Wang left a comment

Choose a reason for hiding this comment

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

Please remove support for Django 3.1. Thank you! Also add this PR to the changelog.

Sorry, forgot to mention: yes, dropping EOL version would be great since I don't have to keep maintaining it and it is expected for everyone to upgrade past an EOL version, both for Python and Django. EOL versions are EOL because security patches won't be included anymore.

django-version: '2.2'
- python-version: '3.10'
django-version: '3.1'
django-version: ['2.2', '3.1', '3.2', '4.0', 'main']
Copy link
Member

Choose a reason for hiding this comment

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

Please remove django 3.1

Suggested change
django-version: ['2.2', '3.1', '3.2', '4.0', 'main']
django-version: ['2.2', '3.2', '4.0', 'main']

tox.ini Outdated
@@ -19,11 +19,13 @@ DJANGO=
3.0: dj30
3.1: dj31
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
3.1: dj31

Copy link
Member

@Andrew-Chen-Wang Andrew-Chen-Wang left a comment

Choose a reason for hiding this comment

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

Thanks for the changes! We will also need to migrate away from pytz. If possible, do you mind making that change?

django-version: '2.2'
- python-version: '3.10'
django-version: '3.1'
django-version: ['2.2', '3.2', '4.0', 'main']
Copy link
Member

Choose a reason for hiding this comment

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

Please include the excludes in the matrix section to reduce the number of workers.

tox.ini Show resolved Hide resolved
@Andrew-Chen-Wang
Copy link
Member

Closed as #495 has been merged. Thank you though!

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

Successfully merging this pull request may close these issues.

None yet

2 participants