ganga icon indicating copy to clipboard operation
ganga copied to clipboard

Add filters for tarfile extraction

Open mesmith75 opened this issue 6 months ago • 0 comments

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)

mesmith75 avatar Aug 14 '24 18:08 mesmith75