-
Notifications
You must be signed in to change notification settings - Fork 21
Fix support of Python 3.8 #38
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
"python": [ | ||
"2.7", | ||
"3.6", | ||
"3.7" | ||
"3.7", | ||
"3.8" | ||
], | ||
"cache": "pip", | ||
"install": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,21 @@ | |
usedevelop = True | ||
minversion = 1.8 | ||
envlist = | ||
py36-lint, | ||
py38-lint, | ||
py36-dj{111,21,22}-docs, | ||
# the version matrix according to the Django docs: | ||
# https://docs.djangoproject.com/en/2.0/faq/install/#what-python-version-can-i-use-with-django | ||
py{27,36}-dj111-tests, | ||
py{36,37}-dj{21,22}-tests, | ||
py{27,36}-fl{011,012,10}-tests, | ||
py{36,37}-s19-tests, | ||
py{36,37,38}-dj{21,22}-tests, | ||
py{27,36,37,38}-fl{011,012,10}-tests, | ||
py{36,37,38}-s19-tests, | ||
|
||
[testenv] | ||
basepython = | ||
py27: python2.7 | ||
py36: python3.6 | ||
py37: python3.7 | ||
py38: python3.8 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: maybe we should also consider changing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As well as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In this one we're telling to ignore sanic tests on python < 3.5. I think it's ok There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah yeah sorry read that too quickly There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, woops I've been doing those changes locally as well but ran against some issues with the test setup. Will incorporate your changes. |
||
usedevelop = true | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = tests.settings | ||
|
@@ -36,8 +37,8 @@ commands = | |
tests: pytest {posargs:tests} | ||
docs: sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html | ||
|
||
[testenv:py36-lint] | ||
basepython = python3.6 | ||
[testenv:py38-lint] | ||
basepython = python3.8 | ||
deps = | ||
flake8 | ||
flake8-black | ||
|
Uh oh!
There was an error while loading. Please reload this page.