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
ci: bump Python tests to 3.7 and add support for 3.8 #10110
Conversation
I'm flagging this as a 0.37 dependency, as I feel adding official support for py38 is important as it's already in production use in some large deployments. If changing the test matrix is too much I can remove those for now, but I'd really like for us to consider py38 officially supported. |
Are we dropping support for Python 3.6 yet? |
I propose we don't, but next release I think we should. |
@mistercrunch how do you feel about moving tests to py37? If this is ok, who can change the required status checks to reference the 3.7 tests? |
4fa895b
to
25d48d2
Compare
After discussion today, folks were in favor of moving to python 3.7 as the supported version and removing official support for Python 3.6 after the 0.37 release |
looking forward to it ! |
I think it's ok for this project to be prescriptive of the python version (being an app, an not a library). It makes it easier on us as the build matrix can be focussed on a single version, the docker can be aligned with that version, and that everyone running Superset in production should align with the prescribed version for that release. So say if it's The alternative is to cover a version range of python, and to do that well we need to explode our build matrix. After the whole 2.7 to 3.6 fiasco I'd rather stay away from being straddling across python versions. |
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 with one comment
@@ -133,6 +133,7 @@ def get_git_sha(): | |||
classifiers=[ | |||
"Programming Language :: Python :: 3.6", |
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.
Should we remove this line?
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.
Let's keep it there a while longer and drop it in a separate PR where dataclasses
and other backwards compatibility libs are also dropped.
Close/reopened to re-trigger CI that was stuck |
@villebro I'm thinking we need to ask Apache to update the required checks to 3.7, or temporarily also run against 3.6 |
Ok @willbarrett , let's temporarily enable 3.6 and 3.7 and disable 3.6 once Apache updates. I'll make the change and reach out to ASF infra. Edit: decided against it to avoid slowing down CI. |
25d48d2
to
a59da78
Compare
a59da78
to
293bf6a
Compare
ASF Infra ticket: https://issues.apache.org/jira/browse/INFRA-20643 |
Codecov Report
@@ Coverage Diff @@
## master #10110 +/- ##
==========================================
+ Coverage 63.62% 63.65% +0.03%
==========================================
Files 764 764
Lines 36158 36158
Branches 3438 3438
==========================================
+ Hits 23004 23017 +13
+ Misses 13041 13028 -13
Partials 113 113
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
SUMMARY
With the bump of
pylint
to version 2.5.3 per #10101, the Superset build env should now be fully 3.7+ compatible.TEST PLAN
Run all python tests on 3.7 and ensure CI passes smoothly.
ADDITIONAL INFORMATION