Closed CagtayFabry closed 2 years ago
I think you're right @CagtayFabry. It makes sense not to depend on jupyterlab, as users want to be able to separate the lab installation from different kernels. If k3d would depend on jupyterlab, one would defeat this purpose as the kernel (e.g. the client to the jupyter lab server), would require the server itself to be installed in the kernel environment.
Thanks for spot. I will remove it!
all tests are green. Thanks! Next release will have it
Thanks for handling this so quickly!
do you have plans to issue a new release soon @artur-trzesiok ?
if not would you consider quickly releasing a 2.11.1 patch version for this? pulling a full jupyterlab in every environment is quite heavy in some workflows
thank you for updating the package to the jupyterlab3 extension system, it works great ! 🎉
TLDR: can we remove
jupyterlab
dependency fromsetup.py
?one thing that is not clear to me are the exact requirements to install and run (not build)
k3d
Specifically: doesk3d
really needjupyterlab
installed in the same environment to run?to start,
jupyterlab
is listed as a build dependency inpyproject.toml
(which I think makes sense to build the labextension) https://github.com/K3D-tools/K3D-jupyter/blob/102bdbfde6058285439b589caef6a2f936e90986/pyproject.toml#L1-L3for
pip
installs, jupyterlab is also listed as an install (=runtime) dependency insetup.py
, runningpip install k3d
will installjupyterlab
https://github.com/K3D-tools/K3D-jupyter/blob/102bdbfde6058285439b589caef6a2f936e90986/setup.py#L82-L88here are the jupyter packages that get installed if you run
pip install k3d
(on an empty environment)for the conda package,
jupyterlab
is listed as a host (=build?) dependency, which is similar to thepyproject.toml
configuration. however,jupyterlab
is not listed as a runtime dependency https://github.com/conda-forge/k3d-feedstock/blob/79f27e439f9a784db67b4fabeeb8915ce56450c4/recipe/meta.yaml#L17-L30and here is the output for
conda install k3d