[BUG]: plotly is installing `js` top-level package with data files
envgap__plotly__plotly.py-5584
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
fbaf3df7b4a4b76f31bed20f81c7e61bd87280f6- Manifest
pyproject.toml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
plotly/plotly.py #5584 · read the original issue
### Description plotly 6.7.0 (and git fbaf3df7b4a4b76f31bed20f81c7e61bd87280f6) are installing a `js/install.json` file straight into site-packages. This results in an empty `js` namespace being importable and confuses packages that have optional dependencies on an actual `js` package, i.e.: ```pytb >>> import js >>> js <module 'js' (namespace) from ['/usr/lib/python3.13/site-packages/js']> ``` ### Screenshots/Video n/a ### Steps to reproduce ``` pip install plotly python -c 'import js; print(js)' # should fail / not exist ``` ### Notes n/a
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]