DavidVujic / poetry-multiproject-plugin

A Poetry plugin that makes it simple to share code between projects in monorepos.
https://davidvujic.github.io/python-polylith-docs/installation/
MIT License
190 stars 7 forks source link

Poly check can't understand pillow dependency #41

Closed BeRT2me closed 1 year ago

BeRT2me commented 1 year ago

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

Desktop (please complete the following information):

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

BeRT2me commented 1 year ago

Sorry, I'm lost.