This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 8c52b4c  Note that ZIP extraction is not supported in the tarzip module
8c52b4c is described below

commit 8c52b4cd108bb2235ceae1b4263c2d844635f589
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Jan 28 15:54:04 2026 +0000

    Note that ZIP extraction is not supported in the tarzip module
---
 atr/tarzip.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/atr/tarzip.py b/atr/tarzip.py
index 20e9919..df01871 100644
--- a/atr/tarzip.py
+++ b/atr/tarzip.py
@@ -174,7 +174,8 @@ class ArchiveContext[ArchiveT: (tarfile.TarFile, 
zipfile.ZipFile)]:
                 )
             case zipfile.ZipFile():
                 # Zip extraction is handled differently in the calling code
-                pass
+                # TODO: We should make the calling code for ZIP consistent 
with TGZ
+                raise NotImplementedError("Zip extraction is not supported")
 
     def specific(self) -> tarfile.TarFile | zipfile.ZipFile:
         return self._archive_obj


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to