-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
upgrade pillow to 10.0.0 #10405
upgrade pillow to 10.0.0 #10405
Conversation
Thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -15,4 +15,4 @@ premailer | |||
openpyxl | |||
attrdict | |||
PyMuPDF<1.21.0 | |||
Pillow<=9.5.0 | |||
Pillow>=10.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请问这些修改是只在10.0.0以上版本有效嘛?如果能够做到向后兼容的话会更好一些
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10.0将API接口替换了,之前的接口废弃,因此不能做到向后兼容:https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#backwards-incompatible-changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
ex: