You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the removeal of install.py in #17, I can't seem to find how to properly install the echo kernel after building the wheel and pip installing it into another venv
It seems as if the path to the python executable in the kernel spec is now fixed in stone to the build venv?
To reproduce
clone rep (HEAD at the time of this writing is 6e880d7), and pip install hatch
Run hatch build, to build the package
(kernel-exp) PS C:\src\echo_kernel> hatch build
──────────────────────────────────────────────────────── sdist ─────────────────────────────────────────────────────────
Installing Jupyter kernel spec
Custom logo files not found. Default logos will be used.
Custom logo files not found. Default logos will be used.
dist\echo_kernel-1.1.tar.gz
──────────────────────────────────────────────────────── wheel ─────────────────────────────────────────────────────────
Installing Jupyter kernel spec
Custom logo files not found. Default logos will be used.
Custom logo files not found. Default logos will be used.
dist\echo_kernel-1.1-py3-none-any.whl
Check where the build/dev env is located at (in this example, is at UYDIF_70)
(kernel-exp) PS C:\src\echo_kernel> hatch env run where python
C:\Users\ikappaki\AppData\Local\hatch\env\virtual\echo-kernel\UYDIF_70\echo-kernel\Scripts\python.exe
In a clean shell, create another venv and install the echo wheel
List juniper kernels, and print out the spec of the echo kernel installed at the env, it will invoke the build venv (UYDIF_70) instead of this venv (temp-1)
Hi,
With the removeal of
install.py
in #17, I can't seem to find how to properly install the echo kernel after building the wheel and pip installing it into another venvIt seems as if the path to the python executable in the kernel spec is now fixed in stone to the build venv?
To reproduce
UYDIF_70
)UYDIF_70
) instead of this venv (temp-1
)If I use the
install
command, it installs the ipython kernel instead (not echo):or perhaps I'm missing something?
Thanks
The text was updated successfully, but these errors were encountered: