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
Improve tests #260
Improve tests #260
Conversation
When I did `poetry run python runtests.py` Django complained that the SECRET_KEY was required. After I ran tests once it doesn't seem to matter, but this was a small speedbump that I thought it might be nice for future users to not encounter.
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.
LGTM just a small note
.github/workflows/ci.yml
Outdated
exclude: | ||
- python-version: 3.7 | ||
django-version: 40 | ||
- python-version: 3.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.
Maybe we should move to python 3.10 as the default, and add it to the matrix too. I'm not sure if 3.7 support is still warranted, but I'm fine keeping it for now.
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'm not sure how django-ses selects the default Python, but I'm happy to change it. I've added it to the gitlab test suite.
I'm not sure if 3.7 support is still warranted, but I'm fine keeping it for now.
Yeah I wanted to be conservative and I didn't need any changes that would require bumping the version. I'm happy to remove 3.7 from tests and pypi classifiers if you'd like.
Since it's out now and it works.
0fa6272
to
fa4c9ba
Compare
Specifically, 3.10 != 3.1
101cb2a
to
7db0a28
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.
Thank you for these improvements!
This PR is just a small thanks for providing the library, I don't need you to merge it on my behalf. Let me know if you'd like me to change anything.
This has two commits:
Add SECRET_KEY to django config
When I did
poetry run python runtests.py
Django complained that theSECRET_KEY was required. After I ran tests once it doesn't seem to matter, but
this was a small speedbump that I thought it might be nice for future users to
not encounter.
Configure tox to test against Django 4.1
Since it's out now and it works.