Skip to content

Conversation

@Carreau
Copy link
Member

@Carreau Carreau commented Mar 8, 2021

As in some of the other Jupyter Repositories; this start to remove
ipython_genutils because of packaging problem in linux distribution
(getting rid of nose).

This is a step toward that.

Note that this changes is slightly stricter in some area where function
would previously accept string/bytes and now only accept one; but as far
as I can tell are generally only used with one of those since we are
Python 3 only.

for key, encoded in encoded.items():
b64_str[key] = unicode_to_str(encoded)
encoded3 = json_clean(encode_images(b64_str))
assert encoded3 == b64_str
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unicode to str is no-op, and then this code becomes strictly identical to the one with encoded2.

@Carreau Carreau force-pushed the remove-genutils branch 2 times, most recently from 994e052 to 756f504 Compare March 9, 2021 04:54
@blink1073 blink1073 added this to the 6.0 milestone Mar 9, 2021
As in some of the other Jupyter Repositories; this start to remove
ipython_genutils because of packaging problem in linux distribution
(getting rid of nose).

This is a step toward that.

Note that this changes is slightly stricter in some area where function
would previously accept string/bytes and now only accept one; but as far
as I can tell are generally only used with one of those since we are
Python 3 only.
@SylvainCorlay
Copy link
Member

@Carreau are you still working on this?

@Carreau Carreau closed this Mar 26, 2021
@Carreau Carreau reopened this Mar 26, 2021
@SylvainCorlay SylvainCorlay merged commit f1a32a8 into ipython:master Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants