Closed quasiben closed 4 years ago
On rapidsai
, it is up-to-date.
Not sure how rapidsai-nightly
is updated. Maybe someone from OPS can comment (cc @raydouglass)? 🙂
The jupyterlab-nvdashboard
feedstock has PRs open to update. So it is just a matter of someone working to integrate those.
I've released a v0.3.0 nightly to rapidsai-nightly, pypi, and npm.
Hi @raydouglass - sorry I tried to jump in and work on the conda-forge PR but I hadn't properly checked the other issues here until now. I didn't know there was a rapidsai conda channel and I also see the meta.yaml in this repo which I didn't try to keep consistent with my PR. I guess conda-forge recipes work differently but I assume the requirements should be consistent between both?
Happy to help if I can and I'm not getting in your way. Is the rapidsai channel meta.yaml the one included in this repository?
Is the rapidsai channel meta.yaml the one included in this repository?
Yes, that's correct.
Hi @raydouglass, @jakirkham - I ran into an issue with my conda-forge recipe and I was wondering if you can advise on the best way to resolve it. Unlike the rapidsai recipe the conda-forge recipe meta.yaml automatically installs the labextension. That is nice but the issue is that the recipe explicitly sets the version number of the labextension to match that of the conda package.
That is problematic because if you install version 0.3.1 of the conda package the labextension will be broken if the user is using jupyterlab 1. I see two possible options and I was wondering which you both think is better:
I'm not sure what you think is better or whether there is some other options I'm overlooking.
I've done a bit of research into how other jupyter lab extension python packages install and keep their node packages in sync. I found the following packages install their lab extensions automatically:
Interestingly I couldn't find any other lab extensions that call jupyter labextension install from their meta.yml or associated scripts. I guess they wanted a way that isn't restricted just to conda recipes - I don't know if there's any other reason not to do that. I haven't thoroughly looked but most seem to implement the lab extension install in their setup.py logic.
Looks like a relatively big job and the topic for a different issue and PR.
Yeah I asked about this once in issue ( https://github.com/conda-forge/ipympl-feedstock/issues/26 ). It sounded like people weren't sure whether this should be done generally. Perhaps it would be worthwhile to revisit that discussion?
For the record, I'm happy to remove the jupyter labextension install
from the recipe. It was an experiment to see if it was possible more than anything.
Interesting discussion on the ipympl feedstock. I do like the convenience of conda installing the labextension itself. I hadn't thought about the complexity of multiple kernels in different environments though (I usually always use local environment kernels). I've left the labextension install step in the conda-forge recipe for now... but happy to go with the consensus if anyone wants to change that.
Leaving it seems fine to me, but no strong feelings.
The conda-feedstock is updated now so we can close this issue I think...
Thanks @owenlamont! 😀
FWIW there is some discussion about updating how JupyterLab extension Conda packages are built in issue ( https://github.com/conda-forge/conda-forge.github.io/issues/761 ). This includes both general changes that are suggested as well as changes for JupyterLab 3.
We need new conda releases on rapidsai-nightly and conda-forge. Latest conda releases are
0.1.11