Skip to content

Extract tar files with "data" filter in Windows build scripts - #8606

Merged
hugovk merged 2 commits into
python-pillow:mainfrom
radarhere:filter
Dec 18, 2024
Merged

Extract tar files with "data" filter in Windows build scripts#8606
hugovk merged 2 commits into
python-pillow:mainfrom
radarhere:filter

Conversation

@radarhere

Copy link
Copy Markdown
Member

https://github.com/python-pillow/Pillow/actions/runs/12361558292/job/34498979321#step:11:12

D:\a\Pillow\Pillow\winbuild\build_prepare.py:523: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.

This PR sets the 'filter' argument for Python >= 3.12 (when it was added), set to 'data', the default in Python 3.14.

Comment thread winbuild/build_prepare.py Outdated
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@hugovk
hugovk merged commit de8335b into python-pillow:main Dec 18, 2024
@radarhere
radarhere deleted the filter branch December 18, 2024 07:55
eyedav pushed a commit to eyedav/Pillow that referenced this pull request Jul 19, 2025
…-pillow#8606)

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants