← All tasks
pythonjupyter-widgets/ipywidgets #3090Not a task: not reproduced

Update repo-detection code for jupyterlab_widgets

envgap__jupyter-widgets__ipywidgets-3090

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
f6c160d9732a960285d3e95db78ffefdf5cd4967
Manifest
jupyterlab_widgets/setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

jupyter-widgets/ipywidgets #3090 · read the original issue
We have some code (that actually doesn't work, I think?) at https://github.com/jupyter-widgets/ipywidgets/blob/5532c91d892e01731e16dffa54cf34dd2628928a/jupyterlab_widgets/setup.py#L49-L57 (and soon in master after #3086) to detect if we are building `jupyterlab_widgets` in the repo, to avoid recompiling js files many times.



The updated jlab extension cookiecutter has better code at 



https://github.com/jupyterlab/extension-cookiecutter-ts/blob/b13df389efd10fbccba441537aa198e64f623fa4/%7B%7Bcookiecutter.python_name%7D%7D/setup.py#L53-L57



I think we should switch our code to using code like is currently in the jlab extension cookiecutter.

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]