Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backport): Use Python 3.12+ tarfile data extraction filter (#2500)
* Backport PR #2455 * In Python 3.12 extraction filters are added and will become default in Python 3.14. To start using them for when Python 3.12 support is added, and to guard against a Python 3.14 DeprecationWarning, use the data extraction filter for extracting tarfiles in pyhf.contrib.utils.download. - c.f. https://docs.python.org/3.12/library/tarfile.html#extraction-filters Co-authored-by: Matthew Feickert <matthew.feickert@cern.ch>
- Loading branch information