Skip to content

Poly check can't understand pillow dependency #107

Description

@BeRT2me

Describe the bug
poetry poly check returns 🤔 Cannot locate PIL in my_package

To Reproduce
Steps to reproduce the behavior:

  1. Have an import like from PIL import Image
  2. Have a dependency like pillow = "^10.0.0"
  3. Run poetry poly check

Error Log

poetry poly check -vvv                     
Loading configuration file .../pypoetry/config.toml
🤔 Cannot locate PIL in my_package
ℹ my_package is importing skimage, PIL, numpy
Expected behavior
PIL == pillow

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: M1 MacOS Ventura 13.5.2
  • Python version: 3.9.16
  • Poetry version: 1.6.1

Additional context
I thought it was interesting that it does find scikit-image even though its import is skimage. Though I guess that was fixed #83

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions