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

Add filters for tarfile extraction #2377

Open
mesmith75 opened this issue Aug 14, 2024 · 0 comments
Open

Add filters for tarfile extraction #2377

mesmith75 opened this issue Aug 14, 2024 · 0 comments

Comments

@mesmith75
Copy link
Contributor

mesmith75 commented Aug 14, 2024

https://docs.python.org/3.12/library/tarfile.html#tarfile-extraction-filter

This may be a bit tricky due to the variety of python versions available on the WNs

From a log file:

/pool/condor/dir_1069554/./Ganga_0_hammer_weighting_-_2017_MagUp:77: 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.
  tf.extractall(dest_dir)
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

No branches or pull requests

1 participant