Skip to content

Conversation

@musicinmybrain
Copy link
Contributor

Fixes #2247.

I found these by grepping for \bresize\b and then auditing the context to decide whether the argument could be something other than a tuple. (I did not check whether every change here corresponds to a particular test regression.)

Then I repeated the tests as described in #2247 (comment) and confirmed that this fixes all of the regressions I reported, and doesn’t cause any new regressions.

@musicinmybrain
Copy link
Contributor Author

Relevant discussion is in python-pillow/Pillow#8195.

@musicinmybrain
Copy link
Contributor Author

musicinmybrain commented Jul 5, 2024

@mikedh mikedh changed the base branch from main to test/np2 July 5, 2024 20:04
@mikedh mikedh merged commit 4f1e3c4 into mikedh:test/np2 Jul 5, 2024
@mikedh
Copy link
Owner

mikedh commented Jul 5, 2024

Thanks for the fix!! Seems like we might as well stick with a tuple even if they re-enable this in the future.

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.

A few new failing tests with Pillow 10.4.0

2 participants