Skip to content

[BUG]: plotly is installing js top-level package with data files #5584

@mgorny

Description

@mgorny

Description

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

Notes

n/a

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions