pixi-kernel
pixi-kernel copied to clipboard
`find_project_manifest` raising errors when attempting to use `quarto`
👋 first – thanks for your work on this! this definitely made switching to pixi
much simpler than it would've otherwise been. 😄
i've been playing around with quarto
lately, trying to use it instead of ipynb
s. however, when i run quarto check juypter
(with a pixi environment that indeed has jupyter), i appear to get errors from pixi-kernel
of the variety:
Quarto 1.5.57
[✓] Checking Python 3 installation....OK
Version: 3.12.5 (Conda)
Path: /workspace/.pixi/envs/analysis/bin/python
Jupyter: 5.7.2
Kernels: pixi-kernel-xcpp14, pixi-kernel-python3, pixi-kernel-ir, pixi-kernel-xcpp11, pixi-kernel-bash, pixi-kernel-xcpp17, python3
(-) Checking Jupyter engine render....[pixi-kernel]: found Pixi 0.28.2
[pixi-kernel]: found empty project at /tmp/quarto-sessione0fecd1f23658c1e/37f126bda7102a58: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /tmp/quarto-sessione0fecd1f23658c1e/37f126bda7102a58: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /tmp/quarto-sessione0fecd1f23658c1e: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /tmp/quarto-sessione0fecd1f23658c1e: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /tmp: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /tmp: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /: PixiInfo(environments_info=[], project_info=None)
[pixi-kernel]: found empty project at /: PixiInfo(environments_info=[], project_info=None)
(\) Checking Jupyter engine render....[pixi-kernel]: No such comm target registered: quarto_kernel_setup
...
----- stderr -----
Pixi Kernel could not find a project manifest file in the current working directory /tmp/quarto-sessione0fecd1f23658c1e/37f126bda7102a58 nor in any of its parents.
Make sure you initialize a Pixi project by running 'pixi init' in the project directory and restart your kernel.
If you continue to face issues, please report them at https://github.com/renan-r-santos/pixi-kernel/issues
------------------
so, before claiming this is an issue with pixi-kernel
, i'm curious: what is find_project_manifest
aiming to do? i lightly read the code and wasn't able to infer what's going on, so i'm hoping you might be able to clarify.
aside: this is a project i'm running in a dev container – so it's possible some of these errors are dev container idiosyncrasies – but at face-value is seems like the error stems from quarto
trying to work in a temporary file tree, rather than the project-local file tree.