-
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
Fix support of Python 3.8 #38
Conversation
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.
This is missing the fmt
param.
In case this helps, this is the stacktrace of python-dockerflow with Python 3.8:
The |
The TravisCI job did not apparently... https://travis-ci.org/mozilla-services/python-dockerflow/pull_requests |
046ad0c
to
9a77a36
Compare
Codecov Report
@@ Coverage Diff @@
## master #38 +/- ##
======================================
Coverage 98.8% 98.8%
======================================
Files 19 19
Lines 585 585
Branches 79 79
======================================
Hits 578 578
Misses 6 6
Partials 1 1
Continue to review full report at Codecov.
|
|
||
[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 comment
The reason will be displayed to describe this comment to others. Learn more.
Note: maybe we should also consider changing [testenv:py36-lint]
below.
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.
As well as tests-py{27,34}: PYTEST_ADDOPTS = --ignore=tests/test_sanic.py
.
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.
As well as tests-py{27,34}: PYTEST_ADDOPTS = --ignore=tests/test_sanic.py
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 comment
The 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 comment
The 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.
9a77a36
to
7f7ebe8
Compare
3c77c75
to
e563a5b
Compare
Apparently
|
Looks like MagicStack/uvloop#277 (comment) |
Closing in favor #39. |
dockerflow 2019.10.0 is out! |
The parent arguments do not really match what we have in stdlib
https://github.com/python/cpython/blob/v3.8.0/Lib/logging/__init__.py#L413-L421
https://github.com/python/cpython/blob/v3.8.0/Lib/logging/__init__.py#L555-L576