Closed jgunstone closed 6 months ago
Thanks for opening an issue. Could you please make a wider screenshot? It seems the important part of the error message is missing.
the associated text is hiding in the details ^ dropdown
Thanks, arf I hate the AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'
message, it's noisy and hides errors.
It seems jlpm run build
is failing for some reason, can you try running it after doing an jlpm install
?
that sorted it - thanks
should I add something to the README.md
?
I'm not sure. It seems jlpm run build
has failed when you ran pip install -ve .
, but it should not have. I'm not sure why it succeeded when you ran that alone.
okay - I'll just close it then -
for ref the things I did slightly different to what is defined here: https://github.com/bloomberg/ipydatagrid?tab=readme-ov-file#development-installation
git clone https://github.com/Bloomberg/ipydatagrid.git
cd ipydatagrid
mamba create -n ipydatagrid-dev ipywidgets=8 jupyterlab nodejs # added nodejs
pip install -ve .
# ^ if the above fails...
jlpm install
pip install -ve .
# ^ this should now work
Describe the bug A clear and concise description of what the bug is.
To Reproduce
Run the steps defined here: https://github.com/bloomberg/ipydatagrid?tab=readme-ov-file#development-installation
note - I had to install nodejs also to progress...
looks like its to do with the jupyter hatch builder...
Expected behavior
Installation to work.
Environment (please complete the following information):
Screenshots
Additional context