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
This is probably just a documentation request. My first step is uv init --build-backend scikit
which works as expected, next I'm starting a jupyter notebook using uv run --with jupyter jupyter lab
which also works as expected, it builds the C++ extension and I can now create a notebook (using the default kernel) where I can load the C++ python extension. This is a massive improvement over any other tool or workflow that I've tried.
However, I haven't been able to find out the right way to invoke uv to create a jupyter kernel such that it rebuilds the C++ extension if the source files have changed. One way which does work is uv clean && rm -r .venv && uv run --with jupyter jupyter lab
but that is certainly not the way to do it.
Maybe the uv init --build-backend scikit could document the right invocations (for example in the README.md which it creates which is empty by default) or it could print the two or three most frequent workflow commands to the command line after it has created the environment.