You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: plotly is installing js top-level package with data files #5584
plotly 6.7.0 (and git fbaf3df) 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.:
>>> 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
Activity
emilykl commentedon Apr 30, 2026
Thanks for flagging, @mgorny -- this is likely a result of the changes in #5540. I'll open a PR to fix.