-
Notifications
You must be signed in to change notification settings - Fork 90
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
build(telemetry): Add python 3.11 to telemetry #330
Conversation
Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
3f808ef
to
6502dfc
Compare
Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
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.
Thanks for getting this working! 🌟
mocker.patch( | ||
"kedro.framework.cli.cli.importlib.import_module", | ||
return_value=Module(cli=cli), | ||
) |
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.
What is different in python 3.11 that required moving this down?
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 fix from the 3.11 PR on kedro seemed to fix the failing tests. @SajidAlamQB do you know more about this?
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 believe it was because it would makes all subsequent mocker.patch fail this could be because of a change in how unittest.mock
or importlib
work python 3.11. @noklam do you have any other thoughts on it?
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! 👍 Don't forget to add this to the release notes.
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.
🌟
Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>
* Add 3.11 to telemetry Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com> * Remove extra lint tests Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com> * Add changes to RELEASE.md Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com> --------- Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com> Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com> Co-authored-by: Ahdra Merali <ahdra.merali@quantumblack.com> Co-authored-by: Ahdra Merali <90615669+AhdraMeraliQB@users.noreply.github.com>
Description
Partial solution for #265
Development notes
NOTE: linter's still running on python 3.8 because of some
pre-commit
errors. To be done as a follow up for all plugins. #331Checklist
RELEASE.md
file