-
Notifications
You must be signed in to change notification settings - Fork 410
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
Drop Django 2.2 support. #370
Conversation
Codecov Report
@@ Coverage Diff @@
## master #370 +/- ##
==========================================
- Coverage 82.81% 82.67% -0.14%
==========================================
Files 20 20
Lines 512 508 -4
==========================================
- Hits 424 420 -4
Misses 88 88
Continue to review full report at Codecov.
|
c4cae32
to
0693c27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Django 2.2 is still supported until the end of the month (April 2022) :p. Maybe we can wait until May 2022.
(A new patch for Django 2.2 is scheduled for April 11, 2022)
@@ -4,7 +4,7 @@ repos: | |||
rev: 22.3.0 | |||
hooks: | |||
- id: black | |||
language_version: python3.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 3.7 is the oldest supported Python version and is still supported by Django 3.2. So, I don't think it is necessary for now to update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this language_version
here determines the python version to run the black on it.
As it was py38
on tox, I've changed it to python3.7
I think we can set --target-version
to py37
. I've update the PR with this change
CHANGELOG.md
Outdated
@@ -3,6 +3,7 @@ | |||
#### Improvements | |||
- feat: enable use of replica database (delegating the choice to `DATABASES_ROUTER`) ([#359](https://github.com/jazzband/django-auditlog/pull/359)) | |||
- Add `mask_fields` argument in `register` to mask sensitive information when logging ([#3710](https://github.com/jazzband/django-auditlog/pull/310)) | |||
- Django: Drop 2.2 support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe precise that django_jsonfield_backport
is not required anymore ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Yes, This is just for preparation. we can wait until May 2022 and then merge it. |
@Linkid I think we can merge this one now and prepare a new release soon. |
Good idea, yes. But could you add to the changelog that |
285f82f
to
a1bdd2d
Compare
Sorry, I forgot about it 🤦♂️. Done! |
I've just closed some related issues. Thanks for this important PR! |
No description provided.