Skip to content
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

Configurables needs to be configurable #1037

Merged

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Nov 28, 2022

IPython rely on configurables being configurables to ... configure things.

Comm seem to insert or return a non-configurable in IPython, that make ipykernel crash in some instances. For example but not limited to:

%config Completer.use_jedi = False

Or trying to use hvplot for example.

This is just a "this is wrong" PR, there should be a proper fix, and I will likely add a hard check in IPython that what is added in configurables is actually a configurables.

This will need a fix in a Comm pacakge.

IPython rely on configurables being configurables to ... configure
things.

Comm seem to insert or return a non-configurable in IPython, that make
ipykernel crash in some instances. For example but not limited to:

    %config Completer.use_jedi = False

Or trying to use hvplot for example.

This is just a "this is wrong" PR, there should be a proper fix,
and I will likely add a hard check in IPython that what is added in
configurables is actually a configurables.

This will need a fix in a Comm pacakge.
@Carreau
Copy link
Member Author

Carreau commented Nov 28, 2022

cc @fperez

weiji14 pushed a commit to CryoInTheCloud/hub-image that referenced this pull request Nov 28, 2022
…#8)

- Adds boto3 and holoviews-related tools used by the ICESat-2 tutorial.
- Pins ipykernel to 6.16.0 until ipython/ipykernel#1037 is resolved
- Reconciles environment name with the one on the main site repo, we'll use `cryocloud` for the env name henceforth
@blink1073 blink1073 added the bug label Nov 29, 2022
@blink1073 blink1073 changed the title Configurables needs to be configurable. Configurables needs to be configurable Nov 29, 2022
@blink1073
Copy link
Member

Thanks for the report! I'll make a new release with this tomorrow.

@blink1073 blink1073 enabled auto-merge (squash) November 29, 2022 03:52
@blink1073 blink1073 merged commit a38167b into ipython:main Nov 29, 2022
@fperez
Copy link
Member

fperez commented Nov 29, 2022

Thx a lot @blink1073!!

cc @yuvipanda @tsnow03 @weiji14 - we might be able to release the ipykernel pin on our cryo env soon.

@blink1073
Copy link
Member

I already yanked the offending version, you should be able to remove the pin now

@fperez
Copy link
Member

fperez commented Nov 29, 2022

Ah, got it, thx!

@weiji14
Copy link

weiji14 commented Nov 29, 2022

Looks like ipykernel=6.18.1 on conda-forge isn't marked as broken yet, so maybe keep the pin around for a little longer 🙂

@blink1073
Copy link
Member

blink1073 added a commit to blink1073/ipykernel that referenced this pull request Dec 7, 2022
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.

None yet

4 participants