-
Notifications
You must be signed in to change notification settings - Fork 3
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
Django 3.0 compatible #6
Conversation
Unfortunately I think it's still premature to drop support for Python 2. I can't tell exactly when Django 1.11 reaches end-of-life. The only documentation I have found so far says that Django 1.11 is supported "until at least April 2020", and I haven't found any further update on that. But we can certainly drop tests for Django < 1.11 and 2.0 - 👍 |
The table of the Django download page lines out that Django 1.11 reached the end of the extended support on April 1, 2020. |
Awesome, thank you for digging into that. Please also update the Travis test matrix to contain only currently supported configurations of Django and Python. That should theoretically be the only necessary fix for CI. |
I updated the CI matrix but the tests are still failing. I would say the path which uses python-gnupg is not the same as the path of the gpg command. Do you have any ideas about that? |
I fixed the CI run. The missing path has another name then expected. So the chance is now ready for merge. |
@blag is there something I can do about this merge request? |
Sorry! Merged. Thank you for your contribution! 😄 |
I'll fix #9 and push a release to PyPI today. |
Update: I have fixed #7 and #9 in a local branch, but I ran into issues getting the tests to run locally with #7. I have resolved those issues as well, but I would like to ensure that my changes are tested with both GnuPG v1 and GnuPG v2. I haven't had time to figure out how to test that in Travis yet, but I hope to later this week. Once that's done I'll push the code to GitHub and cut a new release to PyPI. |
With this PR secure_mail works with Django 3.0 and newer. Also the support for Python 2 is dropped since Django dropped the support for Python 2 with Version 2.0 in December 2017.