Skip to content

Fix side effect import for pickleutil#1216

Merged
blink1073 merged 2 commits intoipython:6.xfrom
blink1073:fix-pickeutil-on-windows
Feb 29, 2024
Merged

Fix side effect import for pickleutil#1216
blink1073 merged 2 commits intoipython:6.xfrom
blink1073:fix-pickeutil-on-windows

Conversation

@blink1073
Copy link
Contributor

The module is deprecated, but we should still keep it working on Windows.

@blink1073 blink1073 added the bug label Feb 29, 2024
from types import FunctionType

# This registers a hook when it's imported
from ipyparallel.serialize import codeutil # noqa: F401
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this make ipykernel depend on ipyparallel?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is listed as a test dependency, but yeah, we should add a guard.

@blink1073 blink1073 merged commit 384bdb1 into ipython:6.x Feb 29, 2024
@blink1073 blink1073 deleted the fix-pickeutil-on-windows branch February 29, 2024 15:25
blink1073 added a commit to blink1073/ipykernel that referenced this pull request Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants