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
Support Python 3.9 #4759
Support Python 3.9 #4759
Conversation
I’m thinking it would be best to:
|
I don’t think I explained myself very well, sorry. I meant the 3 Python jobs at the end of the whole job list:
Please re-read my previous comment taking that into account, hopefully it makes more sense. As for the static tests ( |
does this make sense? |
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.
Other than a minor 💄 aesthetic thing, the Travis CI looks good to me. Let’s now look at the issues.
We can either try to solve them here, if they are trivial, or open separate issues for them, and hold this pull request until those are fixed.
The 3 failing tests seem caused by a bug in passlib, which will be fixed in their next version (1.7.3). We need to wait for them to release that version. |
They’ve released a new passlib version, it should be possible to move this forward. |
Now the issue is a bug in mitmproxy. It looks like we need to wait for a release including mitmproxy/mitmproxy@8e5e43d. |
We decided that it's fine to put the unreleased mitmproxy commit into the reqs, as it's only required for tests (it can be also marked as only required for Python 3.9) |
In the Windows tests. |
And a similar error in the pylint job (?!) |
Reppy does not support Python 3.9 at the moment: seomoz/reppy#122 |
But the Windows error seems to be about Twisted (and a Windows-specific file) |
Looks like mitmproxy 5.3.0 includes the 3.9 fix. Reppy is still not fixed though. |
I think that's fine to not install reppy in py39-extra-deps environment. It is not a required dependency; if it doesn't work, and the problem is upstream, that's fine to skip the test configuration on our side. That said, we shouldn't be fixing it in this PR, as we're moving to Github Actions due to recent Travis CI changes (see #4924) |
Codecov Report
@@ Coverage Diff @@
## master #4759 +/- ##
==========================================
+ Coverage 87.81% 88.02% +0.20%
==========================================
Files 158 158
Lines 9719 9719
Branches 1433 1433
==========================================
+ Hits 8535 8555 +20
+ Misses 929 910 -19
+ Partials 255 254 -1
|
Resolves #4757