Conda package should support pillow-simd
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
Description
🐛 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:
- Install torchvision with Conda.
- Try to uninstall pillow, but would try to uninstall torchvision. Alternatively, you can do
conda remove --force pillowto only remove it, but the environment will be in an inconsistent state. It's the best workaround AFAIK though. - 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?).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the torchvision Conda package dependency metadata and reproducing the reported install, removal, and replacement sequence with pillow-SIMD. Done means users can choose pillow or pillow-SIMD without Conda reinstalling pillow or leaving the environment inconsistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100