From abdda635cd9b3ffa1fed6e896ad219e15da7aaf2 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Thu, 5 Jun 2025 18:28:01 -0800 Subject: [PATCH 1/2] fix: update tar extract filter This fixes deprecation warnings in more recent python versions. --- errbot/repo_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errbot/repo_manager.py b/errbot/repo_manager.py index 9aebf133b..32e085303 100644 --- a/errbot/repo_manager.py +++ b/errbot/repo_manager.py @@ -274,7 +274,7 @@ def install_repo(self, repo: str) -> str: if repo_url.endswith("tar.gz"): fo = urlopen(repo_url) # nosec tar = tarfile.open(fileobj=fo, mode="r:gz") - tar.extractall(path=self.plugin_dir) + tar.extractall(path=self.plugin_dir, filter="data") s = repo_url.split(":")[-1].split("/")[-1] human_name = s[: -len(".tar.gz")] else: From f43b2c257ea7d29635264769ae38c6b25f3dbafd Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Thu, 5 Jun 2025 18:33:07 -0800 Subject: [PATCH 2/2] docs: add info to CHANGES --- CHANGES.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.rst b/CHANGES.rst index 7a0badf72..06f122429 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -27,6 +27,7 @@ fixes: - docs: add example on how to use threaded replies (#1728) - fix: add extra_plugin_dir support to FullStackTest (#1726) - fix: add missing py 3.13 in tox (#1731) +- fix: add filter to tar extract (#1730) v6.2.0 (2024-01-01)