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
Update CI to Python 3.9 #28713
Update CI to Python 3.9 #28713
Conversation
This uses 3.6 and 3.9 as the min/max supported configuration rather than 3.6/3.8
I've pushed a bunch of changes and would be shocked if I got them all right, @jgraham please review for things that our CI don't actually test that need manual confirmation. |
The remaining problem now is this:
I'm having trouble running this locally and don't know how to fix this. |
In theory |
I have tried Since both flake8 and mypy are linters of sorts, is there really any point in ensuring they also work with 3.6, or should we just stop running them and ignore the problem? |
Well in theory running mypy with 3.6 reduces the chance we end up with 3.6 specific breakage in a case where we don't have other test coverage. So I'm somewhat in favour of keeping that on (I perhaps care less about flake8, but could be convinced it's worth the small cost). In this case if we don't have a better solution we can always add |
Yeah, since mypy is clever enough to understand the |
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 OK with landing with the tools/lint/lint.py
hack if none of us can figure out a better way today. If so it would be nice to file an issue about it though.
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 works now, remaining failures are #28745
Maybe best to land on Monday though
It's Monday! |
…void mypy type confusion, a=testonly Automatic update from web-platform-tests [lint] Simplify check_file_contents to avoid mypy type confusion Unblocks web-platform-tests/wpt#28713. -- wpt-commits: 5530464127b7d7aabebdafe4590a37b84d9cc7c0 wpt-pr: 28762
This uses 3.6 and 3.9 as the min/max supported configuration rather than 3.6/3.8