Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 .ipython dir and introduce kedro Jupyter kernel #1355
Remove .ipython dir and introduce kedro Jupyter kernel #1355
Changes from 9 commits
21c6c2b
caaead1
6523d4d
11d7450
f8ecf3f
778c85a
dc5bb19
f39bf2e
a782657
4de7d1c
32911be
a82bc70
e88bd82
7c05f9b
fa5f5f3
87a3849
d0e82cc
35868bb
292b0eb
2846f02
fbec113
6d08da8
f9b1380
9829046
d4357fc
b49142f
6803d70
25fcd62
d6ee5bf
443e99d
a733323
dc8bec9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
Could we use
json.dump
here instead?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.
Not while using pathlib (which is what we generally use now), because
json.dump
needs a file pointer rather than a path object.This file was deleted.
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 was just left over from a bad merge - the specification on the next line is the right one.
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.
Could we relax this one further, e.g.
<9.0
? The most recentipython
version atm is 8.1.1.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.
We could, but ipython 8 requires Python >= 3.8 and we still support 3.7. Happy to bump it though if you like and let
pip
work out which version to install for the user's given version of Python. Or maybe even just remove it from the requirements given it's a core dependency ofjupyter
andjupyterlab
anyway?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 think if we can support both (i.e. no breaking changes that make us have different code for different python versions), we can bump the requirement. I'm slightly more in favour of that over removing it completely, just for users that want to use ipython over jupyter and only need to remove the relevant lines. I don't have any strong opinions on this 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 is already in the project template requirements, which is where it really belongs.
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.
As noted elsewhere I've actually removed
jupyter_client
altogether: