Skip to content

Conda package should support pillow-simd #4103

@bryant1410

Description

@bryant1410

🐛 Bug

torchvision Conda package, at least with v0.10.0, depends on pillow, which complicates using pillow-SIMD.

To Reproduce

Steps to reproduce the behavior:

  1. Install torchvision with Conda.
  2. Try to uninstall pillow, but would try to uninstall torchvision. Alternatively, you can do conda remove --force pillow to only remove it, but the environment will be in an inconsistent state. It's the best workaround AFAIK though.
  3. Install pillow-SIMD.

Expected behavior

The expected behavior would be to be able to choose between pillow and pillow-SIMD, or be able to uninstall pillow without breaking things, and then install pillow-SIMD. After this, every time you try installing something with conda, it's gonna try to install pillow again.

Maybe pillow shouldn't be a dependency then? Maybe the ideal solution is to pillow-SIMD to provide a conda package called pillow, or something like that (or like a virtual package to support both?).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions