ganga-devs / ganga

Ganga is an easy-to-use frontend for job definition and management
GNU General Public License v3.0
100 stars 159 forks source link

Add filters for tarfile extraction #2377

Open mesmith75 opened 3 months ago

mesmith75 commented 3 months ago

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)