Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Update: Pillow #121

Closed
wants to merge 1 commit into from
Closed

Dependency Update: Pillow #121

wants to merge 1 commit into from

Conversation

AndreyFrolov44
Copy link

Currently, sqlalchemy-file relies on Pillow as an optional dependency in [project.optional-dependencies]. However, from my observations, when users install sqlalchemy-file via poetry, Pillow is not automatically installed, leading to potential DEP002 errors when using ImageValidator.

To improve user experience and avoid such issues, I suggest moving "Pillow >=9.4.0, <10.1.0" from [project.optional-dependencies] to [project.dependencies]. This will allow Pillow to be automatically installed along with sqlalchemy-file.

@jowilf
Copy link
Owner

jowilf commented Nov 27, 2023

Thank you for your suggestion, but I believe Pillow should remain optional since it is only required for ImageField. However, we can improve the error message (see #131 )

@jowilf jowilf closed this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants