Closed
Description
If you download and install a release build from CI, it no longer picks up that there is an express
extra:
Processing .../plotly-6.0.0-py3-none-any.whl (from plotly==6.0.0)
WARNING: plotly 6.0.0 does not provide the extra 'express'
Additionally, required dependencies like narwhals
are not installed.
Activity
marthacryan commentedon Feb 18, 2025
This is a result of #4970. It just requires a couple lines in the pyproject.toml, so this is a quick fix! One thing I'm noticing as I look into this though is the file
requires-optional.txt
- I think this is meant to be used aspip install plotly[optional]
- is that documented anywhere? And do we want to keep supporting it?emilykl commentedon Feb 18, 2025
@marthacryan As far as I can tell,
requires-optional
is intended to be a list of ALL dependencies used by any subpackage of Plotly.py, plus packages needed for setting up a local dev workflow. It's referenced inCONTRIBUTING.md
dev setup instructions.Probably it should be cleaned up and renamed to
requires-dev.txt
, maybe even exposed as aplotly[dev]
extra. We discussed doing both of those things in #4644 , but in the interest of getting the PR out sooner we never went ahead with it..