-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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: type annotation breaking on py3.9 #28396
Conversation
Thanks for the fix @dpgaspar!
That's a fair point. I didn't even notice that we were missing the @mistercrunch Is it possible to fix this? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #28396 +/- ##
===========================================
+ Coverage 60.49% 83.13% +22.64%
===========================================
Files 1931 521 -1410
Lines 76241 37256 -38985
Branches 8566 0 -8566
===========================================
- Hits 46122 30973 -15149
+ Misses 28015 6283 -21732
+ Partials 2104 0 -2104
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
#28419 should help prevent this |
(cherry picked from commit b224b83)
(cherry picked from commit d04ac0a)
SUMMARY
A recent change as broke Superset on python 3.9. To my understanding we still support python 3.9 as per https://github.com/apache/superset/blob/master/pyproject.toml#L27
I do think we should run our tests on the minimal python version as well to avoid these issues, but I'm not sure on how to change it on github actions, or we don't set it or we use python-version: ["current", "next"]
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION