← All tasks
pythonvega/altair #3608Not a task: already works

Define `vl-convert-python` dependency outside of `altair[all]`

envgap__vega__altair-3608

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
f57df001f327b3f6a0339fa12505c0ba770e4c69
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

vega/altair #3608 · read the original issue
### What is your suggestion?

The `vl-convert-python` package is necessary for saving plots in PNG / SVG / PDF formats. I believe this is a rather critical function, so I'm wondering why `vl-convert-python` needs to be manually installed for this capability. (I see that `altair[all]` is an alternative, but I think `vega_datasets`, etc. are less critical than the save functionality.)



`vl-convert-python` has zero dependencies. So I think this would be a simple addition. Maybe that is the reason Is this dependency optional because the built wheels are ~30 MB? Could this size be reduced?



Thanks so much for your consideration!

### Have you considered any alternative solutions?

Alternatively, could this (at least) be added to a new optional dependency group `altair[save]`, as suggested [here](https://github.com/vega/altair/issues/3309#issuecomment-1953600671)?
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
[]