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
Remove support for Python 3.6 (it's "end of life" December 23, 2021) #2141
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2141 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 148 148
Lines 10674 10674
=========================================
Hits 10674 10674 Continue to review full report at Codecov.
|
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 see another couple of references:
Or we happy to leave those in there and continue to support 3.6 unofficially?
Also FYI, in .github/codecov.yml
we have this:
notify:
after_n_builds: 11
As of this PR:
- 4 linux standard runs are eligible 3.7 - 3.10
- 5 linux DBT runs (dbt018 - dbt100)
- 1 windows standard run runs
- 1 windows dbt run
Windows Linux is usually last to finish and think we now need it as a bit of coverage depends on that.
So think this is OK to leave. Or could reduce to 10 to get early feedback of code coverage but then you sometimes get false negatives of missing coverage.
Last night, I removed those 2 other 3.6 references, and some tests were failing -- some weird pickling error in the progress bar tests. I'm guessing it was the stuff in |
I'm good with leaving it at 11. False positives are 😿 |
Was wondering why we kept getting coverage errors before all the tests had finished since we added dbt100. Glad this will start working properly again 🎉 |
Yeah it’s annoying you have to remember to change this. But annoying. We used to have more headroom when Windows standard wasn’t required so didn’t matter it was the last to complete. I wonder if there’s a better way than just setting the number and telling codecov. Would be nice if we could say at least I’ve standard, dbt and windows test has to run. |
Brief summary of the change made
Removes support for Python 3.6.
Are there any other side effects of this change that we should be aware of?
Pull Request checklist
Please confirm you have completed any of the necessary steps below.
Included test cases to demonstrate any code changes, which may be one or more of the following:
.yml
rule test cases intest/fixtures/rules/std_rule_cases
..sql
/.yml
parser test cases intest/fixtures/dialects
(note YML files can be auto generated withpython test/generate_parse_fixture_yml.py
or by runningtox
locally).test/fixtures/linter/autofix
.Added appropriate documentation for the change.
Created GitHub issues for any relevant followup/future enhancements if appropriate.